gpu: Add CHROMIUM_sync_query extension.
commit39354677501b1634757ad98eca0109734f03da7b
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Apr 2014 11:37:09 +0000 (16 11:37 +0000)
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Apr 2014 11:37:09 +0000 (16 11:37 +0000)
tree27d9511653b95f5e587a3815d5ce36347721cdf2
parent63f7c00ce4e88307eb4e3bd2e72b38e5d6141823
gpu: Add CHROMIUM_sync_query extension.

This adds a GL_COMMANDS_COMPLETED_CHROMIUM query target that provide
a finer granularity of synchronizing GL command completion than offered
by glFinish().

BUG=269808,356871,273274
TEST=gpu_unittests --gtest_filter=GLES2DecoderManualInitTest.BeginEndQueryEXTCommandsCompletedCHROMIUM

Review URL: https://codereview.chromium.org/238933003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264173 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed:
gpu/GLES2/extensions/CHROMIUM/CHROMIUM_sync_query.txt [new file with mode: 0644]
gpu/GLES2/gl2extchromium.h
gpu/command_buffer/build_gles2_cmd_buffer.py
gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
gpu/command_buffer/service/feature_info.cc
gpu/command_buffer/service/feature_info.h
gpu/command_buffer/service/gles2_cmd_decoder.cc
gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc
gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
gpu/command_buffer/service/query_manager.cc
gpu/command_buffer/tests/gl_query_unittest.cc
ui/gl/gl_bindings.h