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

Unified Diff: mojo/public/platform/native/gles2_impl_ext_occlusion_query_thunks.h

Issue 1347823005: Rename occlusion_query_ext -> ext_occlusion_query (OcclusionQueryEXT -> EXTOcclusionQuery, etc.). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh Created 5 years, 3 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
Index: mojo/public/platform/native/gles2_impl_ext_occlusion_query_thunks.h
diff --git a/mojo/public/platform/native/gles2_impl_occlusion_query_ext_thunks.h b/mojo/public/platform/native/gles2_impl_ext_occlusion_query_thunks.h
similarity index 51%
rename from mojo/public/platform/native/gles2_impl_occlusion_query_ext_thunks.h
rename to mojo/public/platform/native/gles2_impl_ext_occlusion_query_thunks.h
index 326c0b2115fef3641a38be68dc33128680973267..d0ba13fcb5049ce43d0b92986abb0ee7f7b31fe9 100644
--- a/mojo/public/platform/native/gles2_impl_occlusion_query_ext_thunks.h
+++ b/mojo/public/platform/native/gles2_impl_ext_occlusion_query_thunks.h
@@ -8,46 +8,46 @@
// clang-format -i -style=chromium filename
// DO NOT EDIT!
-#ifndef MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_OCCLUSION_QUERY_EXT_THUNKS_H_
-#define MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_OCCLUSION_QUERY_EXT_THUNKS_H_
+#ifndef MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_EXT_OCCLUSION_QUERY_THUNKS_H_
+#define MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_EXT_OCCLUSION_QUERY_THUNKS_H_
#include <stddef.h>
#define GL_GLEXT_PROTOTYPES
#include "mojo/public/c/gpu/GLES2/gl2extmojo.h"
-// Specifies the frozen API for the occlusion_query_EXT extension.
+// Specifies the frozen API for the EXT_occlusion_query extension.
#pragma pack(push, 8)
-struct MojoGLES2ImplOcclusionQueryEXTThunks {
+struct MojoGLES2ImplEXTOcclusionQueryThunks {
size_t size; // Should be set to sizeof(*this).
#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
ReturnType(GL_APIENTRY* Function) PARAMETERS;
-#include "mojo/public/platform/native/gles2/call_visitor_occlusion_query_ext_autogen.h"
+#include "mojo/public/platform/native/gles2/call_visitor_ext_occlusion_query_autogen.h"
#undef VISIT_GL_CALL
};
#pragma pack(pop)
#ifdef __cplusplus
// Intended to be called from the embedder to get the embedder's implementation
-// of occlusion_query_ext.
-inline MojoGLES2ImplOcclusionQueryEXTThunks
-MojoMakeGLES2ImplOcclusionQueryEXTThunks() {
- MojoGLES2ImplOcclusionQueryEXTThunks gles2_impl_occlusion_query_ext_thunks = {
- sizeof(MojoGLES2ImplOcclusionQueryEXTThunks),
+// of ext_occlusion_query.
+inline MojoGLES2ImplEXTOcclusionQueryThunks
+MojoMakeGLES2ImplEXTOcclusionQueryThunks() {
+ MojoGLES2ImplEXTOcclusionQueryThunks gles2_impl_ext_occlusion_query_thunks = {
+ sizeof(MojoGLES2ImplEXTOcclusionQueryThunks),
#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) gl##Function,
-#include "mojo/public/platform/native/gles2/call_visitor_occlusion_query_ext_autogen.h"
+#include "mojo/public/platform/native/gles2/call_visitor_ext_occlusion_query_autogen.h"
#undef VISIT_GL_CALL
};
- return gles2_impl_occlusion_query_ext_thunks;
+ return gles2_impl_ext_occlusion_query_thunks;
}
#endif // __cplusplus
// Use this type for the function found by dynamically discovering it in
// a DSO linked with mojo_system.
-// The contents of |gles2_impl_occlusion_query_ext_thunks| are copied.
-typedef size_t (*MojoSetGLES2ImplOcclusionQueryEXTThunksFn)(
- const struct MojoGLES2ImplOcclusionQueryEXTThunks* thunks);
+// The contents of |gles2_impl_ext_occlusion_query_thunks| are copied.
+typedef size_t (*MojoSetGLES2ImplEXTOcclusionQueryThunksFn)(
+ const struct MojoGLES2ImplEXTOcclusionQueryThunks* thunks);
-#endif // MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_OCCLUSION_QUERY_EXT_THUNKS_H_
+#endif // MOJO_PUBLIC_PLATFORM_NATIVE_GLES2_IMPL_EXT_OCCLUSION_QUERY_THUNKS_H_

Powered by Google App Engine
This is Rietveld 408576698