diff options
author | Brian Paul <[email protected]> | 2010-03-26 10:08:52 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-03-26 10:14:00 -0600 |
commit | 22cd6f2cb4996de0a30c8f865f7011898ac8b8e2 (patch) | |
tree | dfb448023898a570ce260f968e027c88b3144a53 /progs/redbook | |
parent | e57405e8d516c09b890c6f1c3bd8fe7780417c95 (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 'progs/redbook')
0 files changed, 0 insertions, 0 deletions