summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2010-02-16 17:21:10 +0100
committerFrancisco Jerez <[email protected]>2010-02-17 23:15:48 +0100
commitf455ca6490fcb65781b21f81c7117bd923e250d1 (patch)
treede022d61e66ab09d61aa3b48efccec3e22689e41 /src/gallium/state_trackers
parent7ccbeb41acd2f5c416005bd48c11996a054a869a (diff)
st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME).
So far the frontbuffer was only being flushed on st_glFlush and st_glFinish, however, a co-state tracker may need to make sure that any frontbuffer changes are already on its way to the actual front. The dri2 state tracker will need this for event-driven GL applications to resize properly (It could also be done calling "dri_flush_frontbuffer", but that way we would flush unnecessarily in the double-buffered case). Additionally this patch avoids flushing the mesa rendering cache if PIPE_FLUSH_RENDER_CACHE wasn't specified.
Diffstat (limited to 'src/gallium/state_trackers')
0 files changed, 0 insertions, 0 deletions