aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/cso_cache
Commit message (Collapse)AuthorAgeFilesLines
* cso: Track clip state with cso context.Michal Krol2010-02-242-0/+67
|
* gallium: give pipe_stencil_ref its own cso_save/restore functionsRoland Scheidegger2010-02-112-5/+16
| | | | seems cleaner, and other dynamic state like viewport is handled that way too
* gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alphaRoland Scheidegger2010-02-111-3/+6
| | | | makes life of state trackers easier
* gallium: don't put stencil ref value in pipe_depth_stencil_alpha_stateRoland Scheidegger2010-02-092-0/+15
| | | | | | | | This will make driver's life a bit harder, however it makes sense that stencil reference value is not part of the pipe_depth_stencil_alpha_state, because it often (there are some algorithms which require this) changes more frequently than the rest of the dsa state. This is also encouraged by some graphic APIs. Treat it similar to pipe_blend_color.
* gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca2010-02-021-0/+1
|
* gallium: fix blend state csoRoland Scheidegger2010-01-303-37/+20
| | | | | | | if independent blend state was disabled, only the data from first rt was stored, however the comparison used the full state, hence there never was a match and always a new object was created. Fixes a huge performance drop with llvmpipe due to recompilation.
* gallium: fix cast for size calc of pipe_blend_stateRoland Scheidegger2010-01-251-1/+1
|
* gallium: prepare for per-rendertarget blend enables, writemasks, blend funcsRoland Scheidegger2010-01-201-5/+8
| | | | | | | | GL 3.0 (EXT_draw_buffers2) and other APIs allow independent blend enables and write masks per render target, ARB_draw_buffers_blend (and other APIs) also allow independent blend functions. Things like dithering, logic ops however are not extended to be per rendertarget, that might be conceptually possible however it doesn't look like any API wants to expose this.
* cso: Add set_vertex_samplers functionJakob Bornecrantz2010-01-182-0/+36
|
* gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-011-11/+0
|
* scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-011-11/+0
| | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* gallium: add geometry shader support to galliumZack Rusin2009-12-252-2/+45
|
* cso: check if pipe_context::bind_vertex_sampler_states is non-nullBrian Paul2009-12-021-1/+2
| | | | Fixes segfaults upon exit when the CSO module is releasing its objects.
* cso: Fix function prototype.Michal Krol2009-12-011-1/+1
|
* cso: Add support for separate vertex sampler state.Michal Krol2009-12-012-4/+192
|
* gallium: Move enum pipe_error into p_defines.h.José Fonseca2009-10-251-1/+1
| | | | It's really just another define. No need for its own header.
* gallium: replace // comments with /* */Brian Paul2009-10-021-1/+1
|
* gallium: rearrange some members to avoid memory holes/paddingZack Rusin2009-07-061-2/+2
| | | | plus it saves us a cacheline in the cso
* cso: possible null pointer dereferenceZack Rusin2009-07-061-0/+4
| | | | reported by clang static analyzer
* gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer2009-03-041-1/+0
|
* gallium: Improve makefiles for librariesJakob Bornecrantz2009-02-201-3/+0
| | | | | | | | 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.
* util: Move p_debug.h into util module.José Fonseca2009-02-182-2/+2
| | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
* gallium: standardize api on the prefix "nr"Zack Rusin2009-01-271-1/+1
|
* add cso_hash_contains() functionAlan Hourihane2008-09-242-0/+12
|
* gallium: fix surface object memory leak in cso moduleBrian Paul2008-09-181-0/+20
|
* gallium: fix lack of surface reference counting in ↵Brian Paul2008-09-171-3/+21
| | | | | | cso_set/save/restore_framebuffer() Fixes asst problems with FBO / render to texture.
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-243-3/+4
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* Merge tgsi/exec and tgsi/util directories.José Fonseca2008-07-281-1/+1
|
* cso: use memcpy rather than structure asignment for copyingKeith Whitwell2008-05-251-5/+5
| | | | | | Apparently gcc will omit to copy hidden padding bytes under some circumstances, which means later on memcmp() will indicate a difference between structs even though all the visible members are identical.
* Merge branch 'gallium-0.1' into gallium-tex-surfacesMichel Dänzer2008-05-081-1/+1
|\
| * cso_cache: Fix test for currently bound blend state.Michel Dänzer2008-05-081-1/+1
| |
* | cso: can memcmp-compare pipe_framebuffer_state now it includes fb dimensionsKeith Whitwell2008-05-021-2/+1
|/
* try to fix the deleting of the bound cso during cleanup of the hashZack Rusin2008-04-303-18/+178
|
* gallium: make cso_release_all() publicBrian Paul2008-04-242-2/+4
|
* gallium: minor clean-ups, commentsBrian Paul2008-04-241-5/+9
|
* gallium: tweak the new shader delete funcsBrian Paul2008-04-241-4/+8
|
* gallium: added cso_delete_vertex_fragment_shader() functionsBrian Paul2008-04-242-0/+23
| | | | | | | | | | The state tracker now uses these functions to free shaders, rather than the pipe->delete_vs/fs-state() functions. Before, we could get in a situation where we free() a shader and happen to alloc() a new one at the same address. The cso_set_vertex/fragment_shader() function would no-op the state change since the pointers were the same. This led to problems elsewhere, of course. The new delete functions null-out the CSO's current shader pointers.
* Create a sharable translate_cache and use it.Zack Rusin2008-04-231-2/+2
|
* fix the simple hash finding function and use itZack Rusin2008-04-231-2/+2
|
* gallium: Fix texture refcount leak.José Fonseca2008-04-241-0/+7
|
* In case the 'func' is deleting the state move the iterator beforeZack Rusin2008-04-221-1/+1
| | | | calling it.
* gallium: remove assertionsBrian Paul2008-04-221-2/+0
| | | | | It's possible the current vs/fs is null when cso_save_vertex/fragment_shader() is called.
* cso: fix vs/fs confusionKeith Whitwell2008-04-221-1/+1
|
* cso: Fix build on Win32.Michal Krol2008-04-221-2/+4
|
* make the api consistent (all set functions return pipe_error status)Zack Rusin2008-04-212-30/+35
|
* handle some of the possible allocation failures within the hash itselfZack Rusin2008-04-212-4/+49
|
* initial stab at error handling in csoZack Rusin2008-04-212-52/+80
|
* cso: disable not-really-working cso_set_*_shader() funcsKeith Whitwell2008-04-211-1/+8
|
* cso: provide functions to bind fs/vs handles directlyKeith Whitwell2008-04-212-8/+28
|
* cso: propogate one easy error - many moreKeith Whitwell2008-04-211-0/+2
|