diff options
author | Mathias Froehlich <Mathias.Froehlich@gmx.net> | 2015-04-12 18:23:58 +0200 |
---|---|---|
committer | Mathias Froehlich <Mathias.Froehlich@gmx.net> | 2015-04-13 20:30:23 +0200 |
commit | 1e1d5456ba3dff82301ad4bbdde2fb6e2f562fe3 (patch) | |
tree | aba60a6568aa206bc863ee00ebd94e88389ed881 /src/mesa/drivers/haiku | |
parent | adae027260bedc7af73e5cc7a74af3cafa4ab460 (diff) | |
download | external_mesa3d-1e1d5456ba3dff82301ad4bbdde2fb6e2f562fe3.zip external_mesa3d-1e1d5456ba3dff82301ad4bbdde2fb6e2f562fe3.tar.gz external_mesa3d-1e1d5456ba3dff82301ad4bbdde2fb6e2f562fe3.tar.bz2 |
i965: Flush batchbuffer containing the query on glQueryCounter.
This change fixes a regression with timer queries introduced with
commit 3eb6258. There the pending batchbuffer is flushed
only if glEndQuery is executed. This present change adds such
a flush to glQueryCounter which also schedules a value query
just like glEndQuery does. The patch fixes GPU timer queries
going mad from within osgviewer.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Cc: mesa-stable@lists.freedesktop.org
Diffstat (limited to 'src/mesa/drivers/haiku')
0 files changed, 0 insertions, 0 deletions