diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-07-29 12:47:23 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-07-29 12:48:05 +0100 |
commit | 684282953937a37541f26c6e51ceec4134c62dfb (patch) | |
tree | dda349470ecde577bf5ecdb7ab4f8c38019717e0 /src/mesa/drivers/dri/i915/i915_state.c | |
parent | 2420b283b783751d4def3a3a2a0ed8bf7bb7b6a8 (diff) |
mesa/st: short-circuit glFinish calls on WIN32 only
Windows opengl32.dll calls glFinish prior to every swapbuffers, which
makes it pretty hard to get decent performance...
Work around by mapping finish to flush on PIPE_OS_WINDOWS. This is
conformant, though it might confuse poorly-written benchmarks which
attempt to measure a single event rather than figuring out the rate of
continuous processing.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i915_state.c')
0 files changed, 0 insertions, 0 deletions