summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_query.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-12-25 08:57:22 -0800
committerEric Anholt <[email protected]>2010-12-25 09:06:52 -0800
commitb01b73c482474609aceb6bb13b083e96c06ba353 (patch)
tree236d598d345e4d32533aa5fb73371d36f3c7fb12 /src/gallium/drivers/nvfx/nvfx_query.c
parentb606c8a015a0e304110b48c81b3bf06701f6cae1 (diff)
intel: Only do frame throttling at glFlush time when using frontbuffer.
This is the hack for input interactivity of frontbuffer rendering (like we do for backbuffer at intelDRI2Flush()) by waiting for the n-2 frame to complete before starting a new one. However, for an application doing multiple contexts or regular rebinding of a single context, this would end up lockstepping the CPU to the GPU because every unbind was considered the end of a frame. Improves WOW performance on my Ironlake by 48.8% (+/- 2.3%, n=5)
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_query.c')
0 files changed, 0 insertions, 0 deletions