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

Unified Diff: shell/native_application_support.cc

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
« no previous file with comments | « mojo/public/platform/native/gles2_impl_occlusion_query_ext_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 3bdd197b584c4ea88da596d4319d156cc13800e6..ce171dcbefe9a9e3961a645ac9ac9ebcba1a396f 100644
--- a/shell/native_application_support.cc
+++ b/shell/native_application_support.cc
@@ -16,9 +16,9 @@
#include "mojo/public/platform/native/gles2_impl_ext_debug_marker_thunks.h"
#include "mojo/public/platform/native/gles2_impl_ext_discard_framebuffer_thunks.h"
#include "mojo/public/platform/native/gles2_impl_ext_multisampled_render_to_texture_thunks.h"
+#include "mojo/public/platform/native/gles2_impl_ext_occlusion_query_thunks.h"
#include "mojo/public/platform/native/gles2_impl_ext_texture_storage_thunks.h"
#include "mojo/public/platform/native/gles2_impl_khr_blend_equation_advanced_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"
#include "mojo/public/platform/native/mgl_onscreen_thunks.h"
@@ -86,6 +86,8 @@ bool RunNativeApplication(
"MojoSetGLES2ImplEXTDebugMarkerThunks", app_library);
SetThunks(MojoMakeGLES2ImplEXTDiscardFramebufferThunks,
"MojoSetGLES2ImplEXTDiscardFramebufferThunks", app_library);
+ SetThunks(MojoMakeGLES2ImplEXTOcclusionQueryThunks,
+ "MojoSetGLES2ImplEXTOcclusionQueryThunks", app_library);
SetThunks(MojoMakeGLES2ImplEXTTextureStorageThunks,
"MojoSetGLES2ImplEXTTextureStorageThunks", app_library);
SetThunks(MojoMakeGLES2ImplEXTMultisampledRenderToTextureThunks,
@@ -93,10 +95,12 @@ bool RunNativeApplication(
app_library);
SetThunks(MojoMakeGLES2ImplKHRBlendEquationAdvancedThunks,
"MojoSetGLES2ImplKHRBlendEquationAdvancedThunks", app_library);
- SetThunks(MojoMakeGLES2ImplOcclusionQueryEXTThunks,
- "MojoSetGLES2ImplOcclusionQueryEXTThunks", app_library);
SetThunks(MojoMakeGLES2ImplOESVertexArrayObjectThunks,
"MojoSetGLES2ImplOESVertexArrayObjectThunks", app_library);
+ // Deprecated name for "MojoSetGLES2ImplEXTOcclusionQueryThunks" (TODO(vtl):
+ // when no app is using this name any longer, delete it):
+ SetThunks(MojoMakeGLES2ImplEXTOcclusionQueryThunks,
+ "MojoSetGLES2ImplOcclusionQueryEXTThunks", app_library);
// "Chromium" extensions:
SetThunks(MojoMakeGLES2ImplCHROMIUMBindUniformLocationThunks,
"MojoSetGLES2ImplCHROMIUMBindUniformLocationThunks", app_library);
« no previous file with comments | « mojo/public/platform/native/gles2_impl_occlusion_query_ext_thunks.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698