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

Unified Diff: mojo/runner/native_application_support.cc

Issue 1349233002: Mandoline: Enable more GL commands which are used by WebGL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review issue 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/gpu/mojo_gles2_impl_autogen.cc ('k') | third_party/mojo/src/mojo/public/c/gles2/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/native_application_support.cc
diff --git a/mojo/runner/native_application_support.cc b/mojo/runner/native_application_support.cc
index 02af9ddd84ffaf65f97978f41c0fb0e644b2645d..059fcc509fd6f31cdaa9d00c941f52e7b9fc91ce 100644
--- a/mojo/runner/native_application_support.cc
+++ b/mojo/runner/native_application_support.cc
@@ -9,15 +9,7 @@
#include "base/files/file_util.h"
#include "base/logging.h"
#include "mojo/platform_handle/platform_handle_private_thunks.h"
-#include "mojo/public/platform/native/gles2_impl_chromium_copy_texture_thunks.h"
-#include "mojo/public/platform/native/gles2_impl_chromium_framebuffer_multisample_thunks.h"
-#include "mojo/public/platform/native/gles2_impl_chromium_image_thunks.h"
-#include "mojo/public/platform/native/gles2_impl_chromium_miscellaneous_thunks.h"
-#include "mojo/public/platform/native/gles2_impl_chromium_pixel_transfer_buffer_object_thunks.h"
-#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_occlusion_query_ext_thunks.h"
+#include "mojo/public/platform/native/gles2_impl_chromium_extension_thunks.h"
#include "mojo/public/platform/native/gles2_impl_thunks.h"
#include "mojo/public/platform/native/gles2_thunks.h"
#include "mojo/public/platform/native/system_thunks.h"
@@ -83,25 +75,8 @@ bool RunNativeApplication(base::NativeLibrary app_library,
// 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(MojoMakeGLES2ImplChromiumCopyTextureThunks,
- "MojoSetGLES2ImplChromiumCopyTextureThunks", app_library);
- SetThunks(MojoMakeGLES2ImplChromiumFramebufferMultisampleThunks,
- "MojoSetGLES2ImplChromiumFramebufferMultisampleThunks",
- app_library);
- SetThunks(MojoMakeGLES2ImplChromiumImageThunks,
- "MojoSetGLES2ImplChromiumImageThunks", app_library);
- SetThunks(MojoMakeGLES2ImplChromiumMiscellaneousThunks,
- "MojoSetGLES2ImplChromiumMiscellaneousThunks", app_library);
- SetThunks(MojoMakeGLES2ImplChromiumPixelTransferBufferObjectThunks,
- "MojoSetGLES2ImplChromiumPixelTransferBufferObjectThunks", app_library);
- SetThunks(MojoMakeGLES2ImplChromiumSubImageThunks,
- "MojoSetGLES2ImplChromiumSubImageThunks", app_library);
- SetThunks(MojoMakeGLES2ImplChromiumTextureMailboxThunks,
- "MojoSetGLES2ImplChromiumTextureMailboxThunks", app_library);
- SetThunks(MojoMakeGLES2ImplChromiumSyncPointThunks,
- "MojoSetGLES2ImplChromiumSyncPointThunks", app_library);
- SetThunks(MojoMakeGLES2ImplOcclusionQueryExtThunks,
- "MojoSetGLES2ImplOcclusionQueryExtThunks", app_library);
+ SetThunks(MojoMakeGLES2ImplChromiumExtensionThunks,
+ "MojoSetGLES2ImplChromiumExtensionThunks", app_library);
}
// Unlike system thunks, we don't warn on a lack of GLES2 thunks because
// not everything is a visual app.
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.cc ('k') | third_party/mojo/src/mojo/public/c/gles2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698