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

Unified Diff: shell/native_application_support.cc

Issue 1277543002: Add support for GL_EXT_debug_marker. (Closed) Base URL: https://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
« no previous file with comments | « mojo/public/platform/native/gles2_impl_ext_debug_marker_thunks.cc ('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 286a2d0f9e0b8bee24e9ebd1045ac1b3e1282cc6..f9db3fbe28ee6a02eb6cd200368c5f565346c677 100644
--- a/shell/native_application_support.cc
+++ b/shell/native_application_support.cc
@@ -12,6 +12,7 @@
#include "mojo/public/platform/native/gles2_impl_chromium_sub_image_thunks.h"
#include "mojo/public/platform/native/gles2_impl_chromium_sync_point_thunks.h"
#include "mojo/public/platform/native/gles2_impl_chromium_texture_mailbox_thunks.h"
+#include "mojo/public/platform/native/gles2_impl_ext_debug_marker_thunks.h"
#include "mojo/public/platform/native/gles2_impl_occlusion_query_ext_thunks.h"
#include "mojo/public/platform/native/gles2_impl_oes_vertex_array_object_thunks.h"
#include "mojo/public/platform/native/gles2_impl_thunks.h"
@@ -86,6 +87,8 @@ bool RunNativeApplication(
// If the application is using GLES2 extension points, register those
// thunks. Applications may use or not use any of these, so don't warn if
// they are missing.
+ SetThunks(MojoMakeGLES2ImplExtDebugMarkerThunks,
+ "MojoSetGLES2ImplExtDebugMarkerThunks", app_library);
SetThunks(MojoMakeGLES2ImplOcclusionQueryExtThunks,
"MojoSetGLES2ImplOcclusionQueryExtThunks", app_library);
SetThunks(MojoMakeGLES2ImplOesVertexArrayObjectThunks,
« no previous file with comments | « mojo/public/platform/native/gles2_impl_ext_debug_marker_thunks.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698