Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-16 | gallium: remove occlusion_count flag from depth-stencil state | Keith Whitwell | |
Drivers can just keep track of whether they are within a query by monitoring the begin/end query callbacks. The flag adds no information beyond that. Only softpipe was examining this flag -- it has been fixed up and retested with demos/arbocclude. | |||
2009-04-28 | softpipe: return PIPE_UNREFERENCED in softpipe_is_buffer/texture_referenced() | Brian Paul | |
This allows the engine demo to run again (avoid crash in VBO code). This stuff still needs to be revisited someday though... | |||
2009-04-23 | gallium/intel/gem: Use softpipe rather than i915simple if INTEL_SOFTPIPE is set. | Michel Dänzer | |
2009-04-20 | softpipe: fix softpipe_is_buffer/texture_referenced() regression | Brian Paul | |
Return the conservative PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE value for now. This fixes a bunch of regressions seen in piglit and glean. | |||
2009-04-18 | softpipe: Simplify softpipe_create's prototype. | José Fonseca | |
2009-04-18 | softpipe: Fix softpipe_is_texture_referenced prototype. | José Fonseca | |
2009-04-18 | softpipe: Remove softpipe_winsys. | José Fonseca | |
Not used by softpipe anyway. | |||
2009-04-15 | gallium: Make sure we flush before some texture / buffer operations. | Thomas Hellstrom | |
Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||
2009-04-07 | softpipe: minor debug-help changes in softpipe_transfer_map() | Brian Paul | |
2009-04-06 | softpipe: clean up the buffer clear and tile cache code a little | Brian Paul | |
2009-04-04 | gallium: Clean up driver clear() interface. | Michel Dänzer | |
Only allows clearing currently bound buffers, but colour and depth/stencil in a single call. | |||
2009-04-03 | softpipe: add additional surface formats in tile cache code | Brian Paul | |
2009-03-31 | softpipe: use util_is_inf_or_nan() | Brian Paul | |
And print/warn NaN/Inf in print_vertex(). | |||
2009-03-26 | gallium: Remove some little-used fields from struct pipe_surface. | Michel Dänzer | |
2009-03-25 | softpipe: Include declarations. | José Fonseca | |
2009-03-23 | gallium: Remove remnants of reference counting internals outside of p_refcnt.h. | Michel Dänzer | |
2009-03-22 | softpipe: reformatting, comments, minor clean-ups | Brian Paul | |
2009-03-20 | gallium: remove use of origin_lower_left | Brian Paul | |
This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it. | |||
2009-03-18 | softpipe: more texture transfer fixes. | Brian Paul | |
Need to null-out pointers after freeing transfer objects. Fix mix-ups between tc->transfer and tc->tex_trans fields. | |||
2009-03-18 | softpipe: need to set tc->transfer=NULL after destroying the transfer object | Brian Paul | |
This fixes a number of crashes/regressions in programs such as lodbias.c, mipmap_limits.c, etc. | |||
2009-03-16 | softpipe: Use p_atomic_read, not atomic_read. | Michal Krol | |
2009-03-16 | gallium: Use struct pipe_atomic for pipe refcounts. | Thomas Hellstrom | |
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||
2009-03-13 | gallium: no need to keep a copy of shader tokens in state tracker | Keith Whitwell | |
Any driver who needs a copy of the shader tokens must organize to do so itself. This has been the case for a long time, but there was still defensive code in the state tracker, which is now removed. Any bugs resulting from this need to be fixed in the offending driver... | |||
2009-03-13 | gallium: Remove do_flip argument from surface_copy | Jakob Bornecrantz | |
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me. | |||
2009-03-05 | Revert "softpipe: added null ptr check for align_free() call in vbuf code" | Brian Paul | |
This reverts commit 6db24f449de9cc81e1f7bb2dde55a9819463d5e5. With a null ptr check in align_free() this is no longer needed. | |||
2009-03-05 | softpipe: added null ptr check for align_free() call in vbuf code | Brian Paul | |
Fixes GALLIUM_NOCELL path. See bug 20475. | |||
2009-03-04 | gallium: Remove some superfluous instances of #include "p_inlines.h". | Michel Dänzer | |
2009-03-04 | gallium: Unify reference counting. | Michel Dänzer | |
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create(). | |||
2009-02-27 | softpipe: add dumping of post-tranfsormed vertices (disabled) | Keith Whitwell | |
2009-02-24 | softpipe: minor code simplification for face/zslice offset calculation | Brian Paul | |
2009-02-24 | softpipe: minor code movement in softpipe_get_tex_transfer() | Brian Paul | |
2009-02-20 | gallium: Improve makefiles for libraries | Jakob Bornecrantz | |
The template makefile that most libraries in gallium included was based on dri and had a bunch unrelevant junk in it. Update it and improve the depending makefiles. | |||
2009-02-18 | Merge branch 'gallium-texture-transfer' | Michel Dänzer | |
Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c | |||
2009-02-16 | Merge branch 'master' into gallium-texture-transfer | Keith Whitwell | |
Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c | |||
2009-02-18 | Merge commit 'origin/draw-vbuf-interface' | Keith Whitwell | |
2009-02-16 | softpipe: some improvements to texture tile cache | Brian Paul | |
Use a somewhat better function in tex_cache_pos() to get better caching. Increase number of cache entries to 50. Also fix a texture invalidation bug. If texture is marked as modified, invalidate all texture tiles. | |||
2009-02-17 | softpipe: update to new draw interfaces | Keith Whitwell | |
2009-02-12 | gallium: Fix a couple of potential NULL pointer dereferences. | Michel Dänzer | |
A lot more test programs work. | |||
2009-02-12 | softpipe: Unbreak keeping track of cached surface. | Michel Dänzer | |
glxgears works. | |||
2009-02-12 | Cosmetic: Rename struct pipe_transfer pointers from 'ps' to 'pt'. | Michel Dänzer | |
Missed these for the initial gallium-texture-transfer commit. | |||
2009-02-11 | softpipe: asst clean-ups, const correctness, comments | Brian Paul | |
2009-02-11 | softpipe: remove unneeded #include | Brian Paul | |
2009-02-11 | softpipe: asst comments, clean-ups | Brian Paul | |
2009-02-11 | softpipe: remove some old polygon stipple stuff and do some clean-ups | Brian Paul | |
2009-02-11 | softpipe: updated comments | Brian | |
2009-02-11 | softpipe: rename PRIM_x to QUAD_PRIM_x | Brian | |
2009-02-11 | softpipe: rename sp_headers.h to sp_quad.h | Brian | |
This header describes the quad-related datatypes afterall. | |||
2009-02-11 | softpipe: rename single-include preprocessor symbol, add comments | Brian | |
2009-02-11 | softpipe: rename sp_quad.[ch] -> sp_quad_pipe.[ch] | Brian | |
Be more consistant with 'draw' module. | |||
2009-02-09 | softpipe: add null ptr check in softpipe_map_constant_buffers() | Brian Paul | |
Fixes segfault regression in progs/glsl/identity.c |