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

Unified Diff: mojo/gles2/mgl_impl.cc

Issue 1320833003: Expose SignalSyncPoint through MGL api (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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/gles2/mgl_impl.cc
diff --git a/mojo/gles2/mgl_impl.cc b/mojo/gles2/mgl_impl.cc
index 95eb09388090723c6f8406c44f1d41e571786541..96861a5c9ff6cc0b1f2a21e152ddf659f9b14119 100644
--- a/mojo/gles2/mgl_impl.cc
+++ b/mojo/gles2/mgl_impl.cc
@@ -35,6 +35,13 @@ MGLContext MGLGetCurrentContext() {
return gles2::ControlThunksImpl::Get()->GetCurrentContext();
}
+void MGLSignalSyncPoint(uint32_t sync_point,
+ MGLSignalSyncPointCallback callback,
+ void* closure) {
+ gles2::ControlThunksImpl::Get()->SignalSyncPoint(sync_point, callback,
+ closure);
+}
+
void MGLResizeSurface(uint32_t width, uint32_t height) {
return gles2::ControlThunksImpl::Get()->ResizeSurface(width, height);
}

Powered by Google App Engine
This is Rietveld 408576698