summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/mga/mgarender.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-07-21 11:23:18 -0700
committerEric Anholt <eric@anholt.net>2009-08-03 13:34:07 -0700
commit0828579a658af01a64b5e699175dc9bbbedcd685 (patch)
treec984ce05ef95397b500a8f719ec8451be4fcba2d /src/mesa/drivers/dri/mga/mgarender.c
parente0d61fd696b3561d575a9ee5055a1484a5ac6926 (diff)
intel: Wait on the last swapbuffers to complete before queuing a new one.
This fixes jerkiness in doom3 and other apps since the kernel change to throttle less absurdly, which led to a thundering herd of frames. Because this is a rather minimal fix, there is at least one downside: If the whole scene completes in one batchbuffer, we'll end up stalling the GPU. Thanks to Michel Dänzer for suggesting using glFlush to signal frame end instead of going to all the effort of adding a new DRI2 extension.
Diffstat (limited to 'src/mesa/drivers/dri/mga/mgarender.c')
0 files changed, 0 insertions, 0 deletions