summaryrefslogtreecommitdiff
path: root/src/mesa/main/buffers.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-11-02 12:40:04 -0700
committerBrian Paul <brianp@vmware.com>2009-11-03 09:52:25 -0700
commitbcbfda71b03303d3f008a6f3cf8cb7d9667bf8d2 (patch)
treebdbdb244d65ece593811a25c861087d7a526ffc2 /src/mesa/main/buffers.c
parent644d8fd363ca7d8f40f4fa319919985cc002df9e (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/main/buffers.c')
0 files changed, 0 insertions, 0 deletions