Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1269)

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mock gpu video accelerator factory Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/gpu/mojo_gles2_impl_autogen.cc
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc
index 30767c179c77f4d806fa07f87863ab8cc8bae03f..97d6784ced5f922b21f70c2fa55fa89c7ba968d4 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1653,9 +1653,10 @@ GLuint MojoGLES2Impl::InsertSyncPointCHROMIUM() {
MojoGLES2MakeCurrent(context_);
return glInsertSyncPointCHROMIUM();
}
-void MojoGLES2Impl::WaitSyncPointCHROMIUM(GLuint sync_point) {
+void MojoGLES2Impl::WaitSyncPointCHROMIUM(GLuint sync_point,
+ const GLbyte* sync_token) {
MojoGLES2MakeCurrent(context_);
- glWaitSyncPointCHROMIUM(sync_point);
+ glWaitSyncPointCHROMIUM(sync_point, sync_token);
}
GLuint64 MojoGLES2Impl::InsertFenceSyncCHROMIUM() {
MojoGLES2MakeCurrent(context_);

Powered by Google App Engine
This is Rietveld 408576698