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

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

Issue 1407523002: Rename gl2mojo.h to gl2mojo_internal.h. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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/GLES2/gl2mojo.h ('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.h b/mojo/public/c/gpu/GLES2/gl2mojo_internal.h
similarity index 79%
rename from mojo/public/c/gpu/GLES2/gl2mojo.h
rename to mojo/public/c/gpu/GLES2/gl2mojo_internal.h
index 8b259ba3909ef4347bf4328167c8cb5010bf9b72..081d7378b51e26a8b7b372fa6fb4bb2bc9cb2eb0 100644
--- a/mojo/public/c/gpu/GLES2/gl2mojo.h
+++ b/mojo/public/c/gpu/GLES2/gl2mojo_internal.h
@@ -4,8 +4,8 @@
// This file contains Mojo-specific GLES2 declarations.
-#ifndef GPU_GLES2_GL2MOJO_H_
-#define GPU_GLES2_GL2MOJO_H_
+#ifndef GPU_GLES2_GL2MOJO_INTERNAL_H_
+#define GPU_GLES2_GL2MOJO_INTERNAL_H_
#include <GLES2/gl2platform.h>
@@ -16,17 +16,17 @@
#define GL_PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7
#if defined(GLES2_USE_MOJO)
-#define GLES2_GET_FUN(name) MojoGLES2gl ## name
+#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
+#define GLES2_GET_FUN(name) GLES2##name
#endif
#endif
#include <GLES2/gl2mojo_autogen.h>
-#endif // GPU_GLES2_GL2MOJO_H_
+#endif // GPU_GLES2_GL2MOJO_INTERNAL_H_
« no previous file with comments | « mojo/public/c/gpu/GLES2/gl2mojo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698