summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/dri/dri_drawable.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-02-16 17:21:10 +0100
committerFrancisco Jerez <currojerez@riseup.net>2010-02-17 23:15:48 +0100
commitf455ca6490fcb65781b21f81c7117bd923e250d1 (patch)
treede022d61e66ab09d61aa3b48efccec3e22689e41 /src/gallium/state_trackers/dri/dri_drawable.h
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/dri/dri_drawable.h')
0 files changed, 0 insertions, 0 deletions