summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorepenner@chromium.org <epenner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 22:41:30 +0000
committerepenner@chromium.org <epenner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 22:41:30 +0000
commit0713f43d425096f564be102ea0ce5823e945aaad (patch)
treecad39cc3b0db8069bec363dc705e5b576e1de717 /gpu
parent1c5ec6f156790a625bfc2eeaf458b03bed44b6fc (diff)
downloadchromium_src-0713f43d425096f564be102ea0ce5823e945aaad.zip
chromium_src-0713f43d425096f564be102ea0ce5823e945aaad.tar.gz
chromium_src-0713f43d425096f564be102ea0ce5823e945aaad.tar.bz2
gpu: Don't require occlusion queries extension for async queries.
NOTRY=true BUG=166022 Review URL: https://chromiumcodereview.appspot.com/11572035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173230 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 228ab36..cb48d3b 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -8862,6 +8862,7 @@ error::Error GLES2DecoderImpl::HandleBeginQueryEXT(
switch (target) {
case GL_COMMANDS_ISSUED_CHROMIUM:
case GL_LATENCY_QUERY_CHROMIUM:
+ case GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM:
break;
default:
if (!features().occlusion_query_boolean) {