Implemented GPU Timer Disjoint Value checking on the GLES2 Client.
commitf2868b4d1159cdd1d8b781f48894b44ed5cdf4a7
authordyen <dyen@chromium.org>
Tue, 18 Aug 2015 16:15:11 +0000 (18 09:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 18 Aug 2015 16:15:43 +0000 (18 16:15 +0000)
tree6fc1cf8dc0ec8a76400018579f0f0388875f1859
parent9808b390b8a36c9ecb81c10dac9d18125713f57d
Implemented GPU Timer Disjoint Value checking on the GLES2 Client.

Now that the GLES2 Decoder supports updating a disjoint value through
asynchronous shared memory, the client side can now check that value
and update the disjoint state. As long as the server side sets the
disjoint state at the right moment with respect to query availabilities,
the client will always be able to tell if queries were valid or not.

BUG=345227
TEST=trybots

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

Cr-Commit-Position: refs/heads/master@{#343931}
24 files changed:
gpu/GLES2/gl2chromium_autogen.h
gpu/command_buffer/build_gles2_cmd_buffer.py
gpu/command_buffer/client/gles2_c_lib_autogen.h
gpu/command_buffer/client/gles2_cmd_helper_autogen.h
gpu/command_buffer/client/gles2_implementation.cc
gpu/command_buffer/client/gles2_implementation_autogen.h
gpu/command_buffer/client/gles2_implementation_unittest.cc
gpu/command_buffer/client/gles2_interface_autogen.h
gpu/command_buffer/client/gles2_interface_stub_autogen.h
gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h
gpu/command_buffer/client/gles2_trace_implementation_autogen.h
gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
gpu/command_buffer/client/query_tracker.cc
gpu/command_buffer/client/query_tracker.h
gpu/command_buffer/cmd_buffer_functions.txt
gpu/command_buffer/common/gles2_cmd_format_autogen.h
gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
gpu/command_buffer/common/gles2_cmd_ids_autogen.h
gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
gpu/command_buffer/service/gles2_cmd_decoder.cc
gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h
gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
mojo/gpu/mojo_gles2_impl_autogen.cc
mojo/gpu/mojo_gles2_impl_autogen.h