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

Unified Diff: mojo/gles2/mgl_impl.cc

Issue 1909133002: Add MGLEcho (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: git add Created 4 years, 8 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
« no previous file with comments | « mojo/gles2/gles2_context.cc ('k') | mojo/public/c/gpu/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gles2/mgl_impl.cc
diff --git a/mojo/gles2/mgl_impl.cc b/mojo/gles2/mgl_impl.cc
index 7cad4699cbe4e14de1e79a10e5d3a1d1d8c109cf..22b74407da355ef4fcb64635cb99e29f2a35ef38 100644
--- a/mojo/gles2/mgl_impl.cc
+++ b/mojo/gles2/mgl_impl.cc
@@ -34,6 +34,10 @@ MGLContext MGLGetCurrentContext() {
return gles2::ControlThunksImpl::Get()->GetCurrentContext();
}
+void MGLEcho(MGLEchoCallback callback, void* closure) {
+ gles2::ControlThunksImpl::Get()->Echo(callback, closure);
+}
+
void MGLSignalSyncPoint(uint32_t sync_point,
MGLSignalSyncPointCallback callback,
void* closure) {
« no previous file with comments | « mojo/gles2/gles2_context.cc ('k') | mojo/public/c/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698