summaryrefslogtreecommitdiff
path: root/src/mesa/main/shaders.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-03-26 10:08:52 -0600
committerBrian Paul <brianp@vmware.com>2010-03-26 10:14:00 -0600
commit22cd6f2cb4996de0a30c8f865f7011898ac8b8e2 (patch)
treedfb448023898a570ce260f968e027c88b3144a53 /src/mesa/main/shaders.c
parente57405e8d516c09b890c6f1c3bd8fe7780417c95 (diff)
mesa: only call _mesa_update_state() when necessary in glGet functions
Only a few state vars require state validation before querying them. This potentially speeds up state queries. Encode that info into the state tuple table. Also, use the new tuple field to indicate when FLUSH_CURRENT() must be called to validate other state vars. Based on a patch submitted by Robert Bragg on Feb 12, 2010.
Diffstat (limited to 'src/mesa/main/shaders.c')
0 files changed, 0 insertions, 0 deletions