diff options
author | dyen <dyen@chromium.org> | 2015-08-18 09:15:11 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-18 16:15:43 +0000 |
commit | f2868b4d1159cdd1d8b781f48894b44ed5cdf4a7 (patch) | |
tree | 6fc1cf8dc0ec8a76400018579f0f0388875f1859 /mojo/gpu | |
parent | 9808b390b8a36c9ecb81c10dac9d18125713f57d (diff) | |
download | chromium_src-f2868b4d1159cdd1d8b781f48894b44ed5cdf4a7.zip chromium_src-f2868b4d1159cdd1d8b781f48894b44ed5cdf4a7.tar.gz chromium_src-f2868b4d1159cdd1d8b781f48894b44ed5cdf4a7.tar.bz2 |
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}
Diffstat (limited to 'mojo/gpu')
-rw-r--r-- | mojo/gpu/mojo_gles2_impl_autogen.cc | 3 | ||||
-rw-r--r-- | mojo/gpu/mojo_gles2_impl_autogen.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc index 8f1b9d0c..a61befb 100644 --- a/mojo/gpu/mojo_gles2_impl_autogen.cc +++ b/mojo/gpu/mojo_gles2_impl_autogen.cc @@ -1296,6 +1296,9 @@ void MojoGLES2Impl::GetQueryObjectui64vEXT(GLuint id, GLuint64* params) { NOTREACHED() << "Unimplemented GetQueryObjectui64vEXT."; } +void MojoGLES2Impl::SetDisjointValueSyncCHROMIUM() { + NOTREACHED() << "Unimplemented SetDisjointValueSyncCHROMIUM."; +} void MojoGLES2Impl::InsertEventMarkerEXT(GLsizei length, const GLchar* marker) { NOTREACHED() << "Unimplemented InsertEventMarkerEXT."; } diff --git a/mojo/gpu/mojo_gles2_impl_autogen.h b/mojo/gpu/mojo_gles2_impl_autogen.h index 13690f7..074b144 100644 --- a/mojo/gpu/mojo_gles2_impl_autogen.h +++ b/mojo/gpu/mojo_gles2_impl_autogen.h @@ -609,6 +609,7 @@ class MojoGLES2Impl : public gpu::gles2::GLES2Interface { void GetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64* params) override; + void SetDisjointValueSyncCHROMIUM() override; void InsertEventMarkerEXT(GLsizei length, const GLchar* marker) override; void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) override; void PopGroupMarkerEXT() override; |