Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Generate a single library for auxiliaries with Make too. | José Fonseca | 2010-01-01 | 1 | -11/+0 |
| | |||||
* | scons: Aggregate all tiny libraries in a single library. | José Fonseca | 2010-01-01 | 1 | -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 gallium | Zack Rusin | 2009-12-25 | 2 | -2/+45 |
| | |||||
* | cso: check if pipe_context::bind_vertex_sampler_states is non-null | Brian Paul | 2009-12-02 | 1 | -1/+2 |
| | | | | Fixes segfaults upon exit when the CSO module is releasing its objects. | ||||
* | cso: Fix function prototype. | Michal Krol | 2009-12-01 | 1 | -1/+1 |
| | |||||
* | cso: Add support for separate vertex sampler state. | Michal Krol | 2009-12-01 | 2 | -4/+192 |
| | |||||
* | gallium: Move enum pipe_error into p_defines.h. | José Fonseca | 2009-10-25 | 1 | -1/+1 |
| | | | | It's really just another define. No need for its own header. | ||||
* | gallium: replace // comments with /* */ | Brian Paul | 2009-10-02 | 1 | -1/+1 |
| | |||||
* | gallium: rearrange some members to avoid memory holes/padding | Zack Rusin | 2009-07-06 | 1 | -2/+2 |
| | | | | plus it saves us a cacheline in the cso | ||||
* | cso: possible null pointer dereference | Zack Rusin | 2009-07-06 | 1 | -0/+4 |
| | | | | reported by clang static analyzer | ||||
* | gallium: Remove some superfluous instances of #include "p_inlines.h". | Michel Dänzer | 2009-03-04 | 1 | -1/+0 |
| | |||||
* | gallium: Improve makefiles for libraries | Jakob Bornecrantz | 2009-02-20 | 1 | -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é Fonseca | 2009-02-18 | 2 | -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 Rusin | 2009-01-27 | 1 | -1/+1 |
| | |||||
* | add cso_hash_contains() function | Alan Hourihane | 2008-09-24 | 2 | -0/+12 |
| | |||||
* | gallium: fix surface object memory leak in cso module | Brian Paul | 2008-09-18 | 1 | -0/+20 |
| | |||||
* | gallium: fix lack of surface reference counting in ↵ | Brian Paul | 2008-09-17 | 1 | -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.h | Brian Paul | 2008-08-24 | 3 | -3/+4 |
| | | | | Also, rename p_tile.[ch] to u_tile.[ch] | ||||
* | Merge tgsi/exec and tgsi/util directories. | José Fonseca | 2008-07-28 | 1 | -1/+1 |
| | |||||
* | cso: use memcpy rather than structure asignment for copying | Keith Whitwell | 2008-05-25 | 1 | -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-surfaces | Michel Dänzer | 2008-05-08 | 1 | -1/+1 |
|\ | |||||
| * | cso_cache: Fix test for currently bound blend state. | Michel Dänzer | 2008-05-08 | 1 | -1/+1 |
| | | |||||
* | | cso: can memcmp-compare pipe_framebuffer_state now it includes fb dimensions | Keith Whitwell | 2008-05-02 | 1 | -2/+1 |
|/ | |||||
* | try to fix the deleting of the bound cso during cleanup of the hash | Zack Rusin | 2008-04-30 | 3 | -18/+178 |
| | |||||
* | gallium: make cso_release_all() public | Brian Paul | 2008-04-24 | 2 | -2/+4 |
| | |||||
* | gallium: minor clean-ups, comments | Brian Paul | 2008-04-24 | 1 | -5/+9 |
| | |||||
* | gallium: tweak the new shader delete funcs | Brian Paul | 2008-04-24 | 1 | -4/+8 |
| | |||||
* | gallium: added cso_delete_vertex_fragment_shader() functions | Brian Paul | 2008-04-24 | 2 | -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 Rusin | 2008-04-23 | 1 | -2/+2 |
| | |||||
* | fix the simple hash finding function and use it | Zack Rusin | 2008-04-23 | 1 | -2/+2 |
| | |||||
* | gallium: Fix texture refcount leak. | José Fonseca | 2008-04-24 | 1 | -0/+7 |
| | |||||
* | In case the 'func' is deleting the state move the iterator before | Zack Rusin | 2008-04-22 | 1 | -1/+1 |
| | | | | calling it. | ||||
* | gallium: remove assertions | Brian Paul | 2008-04-22 | 1 | -2/+0 |
| | | | | | It's possible the current vs/fs is null when cso_save_vertex/fragment_shader() is called. | ||||
* | cso: fix vs/fs confusion | Keith Whitwell | 2008-04-22 | 1 | -1/+1 |
| | |||||
* | cso: Fix build on Win32. | Michal Krol | 2008-04-22 | 1 | -2/+4 |
| | |||||
* | make the api consistent (all set functions return pipe_error status) | Zack Rusin | 2008-04-21 | 2 | -30/+35 |
| | |||||
* | handle some of the possible allocation failures within the hash itself | Zack Rusin | 2008-04-21 | 2 | -4/+49 |
| | |||||
* | initial stab at error handling in cso | Zack Rusin | 2008-04-21 | 2 | -52/+80 |
| | |||||
* | cso: disable not-really-working cso_set_*_shader() funcs | Keith Whitwell | 2008-04-21 | 1 | -1/+8 |
| | |||||
* | cso: provide functions to bind fs/vs handles directly | Keith Whitwell | 2008-04-21 | 2 | -8/+28 |
| | |||||
* | cso: propogate one easy error - many more | Keith Whitwell | 2008-04-21 | 1 | -0/+2 |
| | |||||
* | gallium: Hash the fragment shader tokens, instead of pipe_shader_state. | José Fonseca | 2008-04-22 | 1 | -6/+18 |
| | | | | PS: pipe_shader_state should probably go away now that it is reduced to a single pointer. | ||||
* | gallium: Do not mistake pipe state objects for state tracker state objects. | José Fonseca | 2008-04-21 | 1 | -2/+5 |
| | |||||
* | gallium: Refcount textures. | José Fonseca | 2008-04-20 | 1 | -9/+28 |
| | | | | | Pipe driver does refcount textures. If cso_context does not, dangling pointers appear. | ||||
* | gallium: Fix memory leak. | José Fonseca | 2008-03-23 | 1 | -19/+22 |
| | | | | | | pipe cso's were being destroyed, but the hash elements themselves not. proper fix is IMHO add a destructor callback to cso_hash. | ||||
* | gallium: temporarily disable the memcmp() in cso_set_framebuffer() | Brian | 2008-03-20 | 1 | -1/+2 |
| | | | | The memcmp() fails to detect buffer size changes... | ||||
* | gallium: fix bug in cso_single_sampler_done() in computation of nr_samplers | Brian Paul | 2008-03-19 | 1 | -2/+4 |
| | | | | Need to find highest used sampler so search from end toward beginning. | ||||
* | gallium: implement CSO save/restore functions for use by meta operations ↵ | Brian | 2008-03-19 | 2 | -28/+227 |
| | | | | | | | (blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state. | ||||
* | gallium: added cso_unset_*() functions | Brian | 2008-03-18 | 2 | -1/+48 |
| | | | | | | If we go behind the CSO context's back and set pipe state directly we need to invalidate the CSO's 'current' pointers. This will be revisited... | ||||
* | add a way of removing an exact iterator from the hash | Zack Rusin | 2008-03-13 | 2 | -5/+36 |
| |