Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: lod min/max clamping should be relative to the base level | Marek Olšák | 2010-03-19 | 1 | -3/+3 |
| | |||||
* | r300g: fix breakage after the gallium-sampler-view merge | Marek Olšák | 2010-03-19 | 3 | -9/+22 |
| | |||||
* | r300g: add PIPE_FORMAT_B5G5R5X1_UNORM colorbuffer support, cleanups | Marek Olšák | 2010-03-19 | 1 | -6/+7 |
| | |||||
* | r300g: mark SRGB colorbuffers as unsupported | Marek Olšák | 2010-03-19 | 1 | -20/+1 |
| | | | | | I can't find the register bits for SRGB-aware blending and it's not even exposed by fglrx so it's most probably not supported by hw. | ||||
* | r300g: add generating texture coordinates for point sprites (WIP) | Marek Olšák | 2010-03-19 | 6 | -13/+61 |
| | |||||
* | gallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil code | Brian Paul | 2010-03-18 | 1 | -3/+18 |
| | |||||
* | progs/tests: also test stencil INCR_WRAP mode if supported | Brian Paul | 2010-03-18 | 1 | -6/+47 |
| | |||||
* | gallivm: fix broken INCR/DECR stencil modes | Brian Paul | 2010-03-18 | 1 | -6/+17 |
| | | | | We were mistakenly using the wrong data type for stencil values before. | ||||
* | progs/tests: comments and clean-ups | Brian Paul | 2010-03-18 | 1 | -11/+21 |
| | |||||
* | gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass through | Brian Paul | 2010-03-18 | 8 | -37/+57 |
| | | | | | | | | | | The triangle rasterizer sets this field to indicate front/back-facing. It gets passed into the generated fragment code as another parameter. Used now for stencil front/back selection but will also be used for fragment shaders in general (see TGSI_SEMANTIC_FACE). With this commit two-sided stenciling mostly works but there's still a bug or two... | ||||
* | llvmpipe: defines for RAST_WHOLE, RAST_EDGE_TEST | Brian Paul | 2010-03-18 | 3 | -20/+27 |
| | |||||
* | Add format B5G5R5X1 | Alan Hourihane | 2010-03-18 | 6 | -0/+84 |
| | |||||
* | gallivm/llvmpipe: simplify front/back stencil ref value handling | Brian Paul | 2010-03-18 | 6 | -50/+30 |
| | | | | Instead of passing an array, just pass two scalar values. | ||||
* | gallivm: checkpoint WIP two-sided stencil test | Brian Paul | 2010-03-18 | 1 | -30/+191 |
| | |||||
* | llvmpipe: set opaque = FALSE if stencil enabled | Brian Paul | 2010-03-18 | 1 | -0/+1 |
| | | | | Fixes occasional bad tiles seen in some demos like progs/demos/reflect.c | ||||
* | dri/nouveau: Flush after texture validation. | Francisco Jerez | 2010-03-18 | 1 | -0/+2 |
| | | | | | | | Swizzling needs the destination surface in VRAM, but the subsequent rendering operations making use of it are likely to not care. Fire the ring after validation to leave the memory manager more room for maneuvering. | ||||
* | dri/nouveau: Avoid pushbuf flushes in the middle of LMA setup. | Francisco Jerez | 2010-03-18 | 1 | -0/+1 |
| | |||||
* | dri/nouveau: Implement texcoord generation. | Francisco Jerez | 2010-03-18 | 11 | -14/+143 |
| | |||||
* | dri/nouveau: Implement texture matrices. | Francisco Jerez | 2010-03-18 | 9 | -0/+78 |
| | |||||
* | dri/nouveau: Some minor vertex submission fixes. | Francisco Jerez | 2010-03-18 | 2 | -11/+11 |
| | |||||
* | dri/nouveau: only reallocate texture when needed | Xavier Chantry | 2010-03-18 | 1 | -11/+14 |
| | | | | | | | | | | | nouveau reallocated the mipmap tree on every MIN_FILTER call to account for mipmap change. We only need to do this if the texture does not fit in the existing mipmap tree. This gives a big performance boost for a game like bzflag which changes MIN_FILTER all the time for its font rendering. Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: Francisco Jerez <[email protected]> | ||||
* | llvmpipe: Fix crashes when there is no depth buffer bound. | José Fonseca | 2010-03-18 | 1 | -0/+3 |
| | |||||
* | intel: Call _mesa_make_current() after getting initial buffers | Kristian Høgsberg | 2010-03-17 | 1 | -1/+1 |
| | | | | | | | | | The default viewport is the window rectangle, which is set up by _mesa_make_current(). To be able to do that we need to get the window dimension (and buffers) first, so we have to call intel_prepare_render() before we can call into _mesa_make_current(). Fixes #26676 and #26678. | ||||
* | progs/trivial: added comments | Brian Paul | 2010-03-17 | 1 | -0/+3 |
| | |||||
* | gallivm/llvmpipe: basic stencil testing works | Brian Paul | 2010-03-17 | 2 | -26/+140 |
| | | | | | | Most stencil demos look OK (modulo some unrelated rendering glitches). Only single-sided stencil test works at this point. There are probably some bugs to be found... | ||||
* | llvmpipe: remove incorrect depth test check | Brian Paul | 2010-03-17 | 1 | -4/+1 |
| | |||||
* | gallivm: added lp_build_andc() | Brian Paul | 2010-03-17 | 2 | -0/+15 |
| | |||||
* | llvmpipe: silence some pointer/casting warnings | Brian Paul | 2010-03-17 | 1 | -3/+21 |
| | |||||
* | gallivm/llvmpipe: more asst changes for stencil testing | Brian Paul | 2010-03-17 | 3 | -63/+69 |
| | |||||
* | gallivm/llmvpipe: pass stencil refs state into z/stencil build code | Brian Paul | 2010-03-17 | 5 | -7/+20 |
| | |||||
* | llvmpipe: use new LP_JIT_CTX_ enums for jit context field positions | Brian Paul | 2010-03-17 | 3 | -32/+57 |
| | | | | Use the new enum values rather than integers in a few places. | ||||
* | llvmpipe: added stencil ref values to jit context state | Brian Paul | 2010-03-17 | 5 | -19/+48 |
| | |||||
* | llvmpipe: break lines | Brian Paul | 2010-03-17 | 1 | -1/+2 |
| | |||||
* | intel: Replace mt->pitch with mt->region->pitch. | Eric Anholt | 2010-03-17 | 11 | -122/+47 |
| | | | | | | The pitch is not really an inherent part of the miptree, since it's not part of any of the layout calculations, and it's dictated by the libdrm-allocated region pitch now. | ||||
* | intel: Return false like other blit failure paths if out of aperture. | Eric Anholt | 2010-03-17 | 1 | -16/+2 |
| | | | | | | | The primary consumer of this (miptree relayout) already has this code for handling failure, and the other paths want to know if failure actually occurs and do something appropriate, which may not include memcpy. | ||||
* | intel: Respect src pitch in _mesa_copy_rect(). | Eric Anholt | 2010-03-17 | 1 | -1/+1 |
| | | | | | If a non-zero src_y was used, this would break piglit depth-level-clamp. | ||||
* | intel: Rely on allocated region pitch for the miptree pitch. | Eric Anholt | 2010-03-17 | 4 | -25/+7 |
| | | | | Bug #26966: 945 miptree pitch disagreement with libdrm. | ||||
* | intel: Assert that the linear blits succeed. | Eric Anholt | 2010-03-17 | 1 | -14/+17 |
| | | | | | We don't have any fallback code here, and we want to avoid this path if failure would happen, so just assert. | ||||
* | intel: Remove level_offset now that it's unused. | Eric Anholt | 2010-03-17 | 2 | -13/+5 |
| | | | | This is the last pitch-dependent part of miptree setup. | ||||
* | intel: Remove extra tiling setting after allocating a tiled region. | Eric Anholt | 2010-03-17 | 2 | -9/+3 |
| | |||||
* | intel: Rename the z24_x8 depth spans to z24_s8 since they do stencil too. | Eric Anholt | 2010-03-17 | 1 | -2/+2 |
| | |||||
* | llvmpipe: remove -m32 flag from linux-llvm config | Brian Paul | 2010-03-17 | 1 | -1/+1 |
| | |||||
* | st/mesa: plug in default for pipe_context::surface_copy() if needed | Brian Paul | 2010-03-17 | 6 | -55/+38 |
| | | | | This lets us avoid conditionals and duplicated code in several places. | ||||
* | progs/samples: improve copy.c demo | Brian Paul | 2010-03-17 | 1 | -13/+14 |
| | | | | | | | If the test image was larger than the window, nothing was drawn because of invalid raster position. Use glWindowPos instead of glRasterPos. Also, use integer src/dst coordinates to avoid grabbing black pixels outside of the src image region. | ||||
* | Merge branch '7.8' | Brian Paul | 2010-03-17 | 3 | -137/+37 |
|\ | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_drawpixels.c | ||||
| * | st/mesa: fix glCopyPixels bugs/crashes when src region need clipping | Brian Paul | 2010-03-17 | 1 | -54/+36 |
| | | | | | | | | | | | | | | | | | | Use the _mesa_clip_readpixels() function to clip the src region against the buffer's bounds. Neatly, the resulting pixel unpack object's SkipPixels/SkipRows fields can be used to determine the position of the region in the destination texture. Fixes crash in progs/samples/copy.c and probably other cases. | ||||
| * | mesa: rename params in prototype to match implementation | Brian Paul | 2010-03-17 | 1 | -1/+1 |
| | | |||||
| * | swrast: remove unused compute_coveragei() function | Brian Paul | 2010-03-17 | 1 | -82/+0 |
| | | |||||
* | | progs/samples: silence warnings | Brian Paul | 2010-03-17 | 1 | -2/+4 |
| | | |||||
* | | glapi: fix assorted warnings | Brian Paul | 2010-03-17 | 3 | -7/+10 |
| | | | | | | | | | | And replace some instances of GLuint with unsigned int to avoid pulling in GL/gl.h |