summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_context.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@temari.boston.redhat.com>2008-01-15 10:23:15 -0500
committerKristian Høgsberg <krh@temari.boston.redhat.com>2008-01-15 10:24:04 -0500
commitbb73cf9ec093d734cbed956d843ef6c2982141ef (patch)
tree0c79f8b9c62a0644465d0d90efcdc0a22e139af0 /src/mesa/tnl/t_context.h
parent3ad9ca8240ffa32a8dfbfffd0cfb1d0384e04a9f (diff)
[i915] Prevent recursive batchbuffer flushing.
Workaround for recursive batchbuffer flushing: If the window is moved, we can get into a case where we try to flush during a flush. What happens is that when we try to grab the lock for the first flush, we detect that the window moved which then causes another flush (from the intel_draw_buffer() call in intelUpdatePageFlipping()). To work around this we reset the batchbuffer tail pointer before trying to get the lock. This prevent the nested buffer flush, but a better fix would be to avoid that in the first place.
Diffstat (limited to 'src/mesa/tnl/t_context.h')
0 files changed, 0 insertions, 0 deletions