mesa: Changes to 'gallium-0.1'
Brian Paul
brianp at kemper.freedesktop.org
Thu Apr 24 18:43:30 UTC 2008
The branch, gallium-0.1 has been updated
Commits at: http://cgit.freedesktop.org/mesa/mesa/log/?h=gallium-0.1
Summary of changes:
src/gallium/auxiliary/cso_cache/cso_context.c | 39 ++++++++++++++++++++----
src/gallium/auxiliary/cso_cache/cso_context.h | 8 +++++
src/mesa/state_tracker/st_cb_bitmap.c | 2 +-
src/mesa/state_tracker/st_cb_clear.c | 4 +-
src/mesa/state_tracker/st_cb_program.c | 12 +++----
src/mesa/state_tracker/st_context.c | 11 ++++++-
src/mesa/state_tracker/st_program.c | 2 +-
7 files changed, 58 insertions(+), 20 deletions(-)
via a770d40c3d4977e2c134661b5d8facaea446b6ea (commit)
via 386102c62a3315182ffbc6319351cb883234511a (commit)
via a41804909d5799cddfbf48a46524f78c736408d4 (commit)
via ac79532a15a7109bf0fbd0e40a1ba8e65ed8c435 (commit)
via f2c31257167f85df276322be1b8523064e8b66a9 (commit)
from 35dc003c6a0845a96934f9c222bd57bb62e0a62f (commit)
- Commits -----------------------------------------------
commit a770d40c3d4977e2c134661b5d8facaea446b6ea
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Thu Apr 24 12:11:24 2008 -0600
gallium: use cso_destroy_vertex/fragment_shader() functions
Also, rearrange the st_destroy_context() code a bit to prevent some
invalid/NULL ptr derefs during tear-down.
commit 386102c62a3315182ffbc6319351cb883234511a
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Thu Apr 24 12:10:14 2008 -0600
gallium: make cso_release_all() public
commit a41804909d5799cddfbf48a46524f78c736408d4
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Thu Apr 24 11:59:22 2008 -0600
gallium: minor clean-ups, comments
commit ac79532a15a7109bf0fbd0e40a1ba8e65ed8c435
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Thu Apr 24 11:56:06 2008 -0600
gallium: tweak the new shader delete funcs
commit f2c31257167f85df276322be1b8523064e8b66a9
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Thu Apr 24 11:52:37 2008 -0600
gallium: added cso_delete_vertex_fragment_shader() functions
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.
---------------------------------
More information about the mesa-commit
mailing list