diff options
author | Brian Paul <brianp@vmware.com> | 2009-11-02 12:40:04 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-11-03 09:52:25 -0700 |
commit | bcbfda71b03303d3f008a6f3cf8cb7d9667bf8d2 (patch) | |
tree | bdbdb244d65ece593811a25c861087d7a526ffc2 /src/mesa/drivers/dri/r200/radeon_debug.c | |
parent | 644d8fd363ca7d8f40f4fa319919985cc002df9e (diff) |
intel: avoid unnecessary front buffer flushing/updating
Before, if we just called glXMakeCurrent() and didn't render anything we'd
still trigger a flushFrontBuffer() call.
Now only set the intel->front_buffer_dirty field at state validation time
just before we draw something.
NOTE: additional calls to intel_check_front_buffer_rendering() might be
needed if I missed some rendering paths.
Diffstat (limited to 'src/mesa/drivers/dri/r200/radeon_debug.c')
0 files changed, 0 insertions, 0 deletions