summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r300g: lod min/max clamping should be relative to the base levelMarek Olšák2010-03-191-3/+3
|
* r300g: fix breakage after the gallium-sampler-view mergeMarek Olšák2010-03-193-9/+22
|
* r300g: add PIPE_FORMAT_B5G5R5X1_UNORM colorbuffer support, cleanupsMarek Olšák2010-03-191-6/+7
|
* r300g: mark SRGB colorbuffers as unsupportedMarek Olšák2010-03-191-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šák2010-03-196-13/+61
|
* gallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil codeBrian Paul2010-03-181-3/+18
|
* progs/tests: also test stencil INCR_WRAP mode if supportedBrian Paul2010-03-181-6/+47
|
* gallivm: fix broken INCR/DECR stencil modesBrian Paul2010-03-181-6/+17
| | | | We were mistakenly using the wrong data type for stencil values before.
* progs/tests: comments and clean-upsBrian Paul2010-03-181-11/+21
|
* gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass throughBrian Paul2010-03-188-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_TESTBrian Paul2010-03-183-20/+27
|
* Add format B5G5R5X1Alan Hourihane2010-03-186-0/+84
|
* gallivm/llvmpipe: simplify front/back stencil ref value handlingBrian Paul2010-03-186-50/+30
| | | | Instead of passing an array, just pass two scalar values.
* gallivm: checkpoint WIP two-sided stencil testBrian Paul2010-03-181-30/+191
|
* llvmpipe: set opaque = FALSE if stencil enabledBrian Paul2010-03-181-0/+1
| | | | Fixes occasional bad tiles seen in some demos like progs/demos/reflect.c
* dri/nouveau: Flush after texture validation.Francisco Jerez2010-03-181-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 Jerez2010-03-181-0/+1
|
* dri/nouveau: Implement texcoord generation.Francisco Jerez2010-03-1811-14/+143
|
* dri/nouveau: Implement texture matrices.Francisco Jerez2010-03-189-0/+78
|
* dri/nouveau: Some minor vertex submission fixes.Francisco Jerez2010-03-182-11/+11
|
* dri/nouveau: only reallocate texture when neededXavier Chantry2010-03-181-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é Fonseca2010-03-181-0/+3
|
* intel: Call _mesa_make_current() after getting initial buffersKristian Høgsberg2010-03-171-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 commentsBrian Paul2010-03-171-0/+3
|
* gallivm/llvmpipe: basic stencil testing worksBrian Paul2010-03-172-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 checkBrian Paul2010-03-171-4/+1
|
* gallivm: added lp_build_andc()Brian Paul2010-03-172-0/+15
|
* llvmpipe: silence some pointer/casting warningsBrian Paul2010-03-171-3/+21
|
* gallivm/llvmpipe: more asst changes for stencil testingBrian Paul2010-03-173-63/+69
|
* gallivm/llmvpipe: pass stencil refs state into z/stencil build codeBrian Paul2010-03-175-7/+20
|
* llvmpipe: use new LP_JIT_CTX_ enums for jit context field positionsBrian Paul2010-03-173-32/+57
| | | | Use the new enum values rather than integers in a few places.
* llvmpipe: added stencil ref values to jit context stateBrian Paul2010-03-175-19/+48
|
* llvmpipe: break linesBrian Paul2010-03-171-1/+2
|
* intel: Replace mt->pitch with mt->region->pitch.Eric Anholt2010-03-1711-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 Anholt2010-03-171-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 Anholt2010-03-171-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 Anholt2010-03-174-25/+7
| | | | Bug #26966: 945 miptree pitch disagreement with libdrm.
* intel: Assert that the linear blits succeed.Eric Anholt2010-03-171-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 Anholt2010-03-172-13/+5
| | | | This is the last pitch-dependent part of miptree setup.
* intel: Remove extra tiling setting after allocating a tiled region.Eric Anholt2010-03-172-9/+3
|
* intel: Rename the z24_x8 depth spans to z24_s8 since they do stencil too.Eric Anholt2010-03-171-2/+2
|
* llvmpipe: remove -m32 flag from linux-llvm configBrian Paul2010-03-171-1/+1
|
* st/mesa: plug in default for pipe_context::surface_copy() if neededBrian Paul2010-03-176-55/+38
| | | | This lets us avoid conditionals and duplicated code in several places.
* progs/samples: improve copy.c demoBrian Paul2010-03-171-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 Paul2010-03-173-137/+37
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_drawpixels.c
| * st/mesa: fix glCopyPixels bugs/crashes when src region need clippingBrian Paul2010-03-171-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 implementationBrian Paul2010-03-171-1/+1
| |
| * swrast: remove unused compute_coveragei() functionBrian Paul2010-03-171-82/+0
| |
* | progs/samples: silence warningsBrian Paul2010-03-171-2/+4
| |
* | glapi: fix assorted warningsBrian Paul2010-03-173-7/+10
| | | | | | | | | | And replace some instances of GLuint with unsigned int to avoid pulling in GL/gl.h