Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-18 | gallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil code | Brian Paul | |
2010-03-18 | progs/tests: also test stencil INCR_WRAP mode if supported | Brian Paul | |
2010-03-18 | gallivm: fix broken INCR/DECR stencil modes | Brian Paul | |
We were mistakenly using the wrong data type for stencil values before. | |||
2010-03-18 | progs/tests: comments and clean-ups | Brian Paul | |
2010-03-18 | gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass through | Brian Paul | |
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... | |||
2010-03-18 | llvmpipe: defines for RAST_WHOLE, RAST_EDGE_TEST | Brian Paul | |
2010-03-18 | Add format B5G5R5X1 | Alan Hourihane | |
2010-03-18 | gallivm/llvmpipe: simplify front/back stencil ref value handling | Brian Paul | |
Instead of passing an array, just pass two scalar values. | |||
2010-03-18 | gallivm: checkpoint WIP two-sided stencil test | Brian Paul | |
2010-03-18 | llvmpipe: set opaque = FALSE if stencil enabled | Brian Paul | |
Fixes occasional bad tiles seen in some demos like progs/demos/reflect.c | |||
2010-03-18 | dri/nouveau: Flush after texture validation. | Francisco Jerez | |
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. | |||
2010-03-18 | dri/nouveau: Avoid pushbuf flushes in the middle of LMA setup. | Francisco Jerez | |
2010-03-18 | dri/nouveau: Implement texcoord generation. | Francisco Jerez | |
2010-03-18 | dri/nouveau: Implement texture matrices. | Francisco Jerez | |
2010-03-18 | dri/nouveau: Some minor vertex submission fixes. | Francisco Jerez | |
2010-03-18 | dri/nouveau: only reallocate texture when needed | Xavier Chantry | |
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 <chantry.xavier@gmail.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net> | |||
2010-03-18 | llvmpipe: Fix crashes when there is no depth buffer bound. | José Fonseca | |
2010-03-17 | intel: Call _mesa_make_current() after getting initial buffers | Kristian Høgsberg | |
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. | |||
2010-03-17 | progs/trivial: added comments | Brian Paul | |
2010-03-17 | gallivm/llvmpipe: basic stencil testing works | Brian Paul | |
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... | |||
2010-03-17 | llvmpipe: remove incorrect depth test check | Brian Paul | |
2010-03-17 | gallivm: added lp_build_andc() | Brian Paul | |
2010-03-17 | llvmpipe: silence some pointer/casting warnings | Brian Paul | |
2010-03-17 | gallivm/llvmpipe: more asst changes for stencil testing | Brian Paul | |
2010-03-17 | gallivm/llmvpipe: pass stencil refs state into z/stencil build code | Brian Paul | |
2010-03-17 | llvmpipe: use new LP_JIT_CTX_ enums for jit context field positions | Brian Paul | |
Use the new enum values rather than integers in a few places. | |||
2010-03-17 | llvmpipe: added stencil ref values to jit context state | Brian Paul | |
2010-03-17 | llvmpipe: break lines | Brian Paul | |
2010-03-17 | intel: Replace mt->pitch with mt->region->pitch. | Eric Anholt | |
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. | |||
2010-03-17 | intel: Return false like other blit failure paths if out of aperture. | Eric Anholt | |
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. | |||
2010-03-17 | intel: Respect src pitch in _mesa_copy_rect(). | Eric Anholt | |
If a non-zero src_y was used, this would break piglit depth-level-clamp. | |||
2010-03-17 | intel: Rely on allocated region pitch for the miptree pitch. | Eric Anholt | |
Bug #26966: 945 miptree pitch disagreement with libdrm. | |||
2010-03-17 | intel: Assert that the linear blits succeed. | Eric Anholt | |
We don't have any fallback code here, and we want to avoid this path if failure would happen, so just assert. | |||
2010-03-17 | intel: Remove level_offset now that it's unused. | Eric Anholt | |
This is the last pitch-dependent part of miptree setup. | |||
2010-03-17 | intel: Remove extra tiling setting after allocating a tiled region. | Eric Anholt | |
2010-03-17 | intel: Rename the z24_x8 depth spans to z24_s8 since they do stencil too. | Eric Anholt | |
2010-03-17 | llvmpipe: remove -m32 flag from linux-llvm config | Brian Paul | |
2010-03-17 | st/mesa: plug in default for pipe_context::surface_copy() if needed | Brian Paul | |
This lets us avoid conditionals and duplicated code in several places. | |||
2010-03-17 | progs/samples: improve copy.c demo | Brian Paul | |
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. | |||
2010-03-17 | Merge branch '7.8' | Brian Paul | |
Conflicts: src/mesa/state_tracker/st_cb_drawpixels.c | |||
2010-03-17 | progs/samples: silence warnings | Brian Paul | |
2010-03-17 | st/mesa: fix glCopyPixels bugs/crashes when src region need clipping | Brian Paul | |
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. | |||
2010-03-17 | mesa: rename params in prototype to match implementation | Brian Paul | |
2010-03-17 | glapi: fix assorted warnings | Brian Paul | |
And replace some instances of GLuint with unsigned int to avoid pulling in GL/gl.h | |||
2010-03-17 | swrast: remove unused compute_coveragei() function | Brian Paul | |
2010-03-17 | st/mesa: Fix build breakage. | Corbin Simpson | |
Nearly certain this is what was intended; it compiles, but I'm not sure this path is ever hit in my tests. | |||
2010-03-17 | Merge branch '7.8' into master | Pauli Nieminen | |
Conflicts: Makefile src/mesa/main/version.h | |||
2010-03-16 | cell: build identity driver too | Brian Paul | |
2010-03-16 | cell: add missing semicolon | Brian Paul | |
2010-03-16 | nv50: support more formats in surface_copy,fill | Christoph Bumiller | |
Fixes corrupted fonts in bzFlag, where we've been silently failing to copy I8 mipmaps to a new miptree. Print an error message on unsupported format now, since we can't return failure. |