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

Unified Diff: shell/native_application_support.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/public/platform/native/mgl_echo_thunks.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/native_application_support.cc
diff --git a/shell/native_application_support.cc b/shell/native_application_support.cc
index 11482fe6a8a78766e25016830b7f3a922d7654b5..9ab8e073790413e4f163ff1b1117c423a01bcf21 100644
--- a/shell/native_application_support.cc
+++ b/shell/native_application_support.cc
@@ -21,6 +21,7 @@
#include "mojo/public/platform/native/gles2_impl_khr_blend_equation_advanced_thunks.h"
#include "mojo/public/platform/native/gles2_impl_oes_vertex_array_object_thunks.h"
#include "mojo/public/platform/native/gles2_impl_thunks.h"
+#include "mojo/public/platform/native/mgl_echo_thunks.h"
#include "mojo/public/platform/native/mgl_onscreen_thunks.h"
#include "mojo/public/platform/native/mgl_signal_sync_point_thunks.h"
#include "mojo/public/platform/native/mgl_thunks.h"
@@ -121,6 +122,8 @@ bool RunNativeApplication(
"MojoSetGLES2ImplCHROMIUMTextureMailboxThunks", app_library);
if (SetThunks(MojoMakeMGLThunks, "MojoSetMGLThunks", app_library)) {
+ SetThunks(MojoMakeMGLEchoThunks, "MojoSetMGLEchoThunks", app_library);
+
// TODO(jamesr): We should only need to expose the onscreen thunks to apps
// that need to draw to the screen like the system compositor.
SetThunks(MojoMakeMGLOnscreenThunks, "MojoSetMGLOnscreenThunks",
« no previous file with comments | « mojo/public/platform/native/mgl_echo_thunks.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698