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

Unified Diff: mojo/public/c/gpu/GLES2/gl2mojo_internal.h

Issue 2233003002: Remove the GLES2_USE_MOJO macro. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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/c/gpu/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/gpu/GLES2/gl2mojo_internal.h
diff --git a/mojo/public/c/gpu/GLES2/gl2mojo_internal.h b/mojo/public/c/gpu/GLES2/gl2mojo_internal.h
index 081d7378b51e26a8b7b372fa6fb4bb2bc9cb2eb0..32bc3b1f09c933a91b1d1089b2ce735613c94098 100644
--- a/mojo/public/c/gpu/GLES2/gl2mojo_internal.h
+++ b/mojo/public/c/gpu/GLES2/gl2mojo_internal.h
@@ -15,17 +15,7 @@
#define GL_PATH_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
#define GL_PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7
-#if defined(GLES2_USE_MOJO)
#define GLES2_GET_FUN(name) MojoGLES2gl##name
-#else
-// Because we are using both the real system GL and our own
-// emulated GL we need to use different names to avoid conflicts.
-#if defined(GLES2_USE_CPP_BINDINGS)
-#define GLES2_GET_FUN(name) gles2::GetGLContext()->name
-#else
-#define GLES2_GET_FUN(name) GLES2##name
-#endif
-#endif
#include <GLES2/gl2mojo_autogen.h>
« no previous file with comments | « mojo/public/c/gpu/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698