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

Unified Diff: mojo/runner/native_application_support.cc

Issue 1181013010: Support impl-side painting in Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit warning Created 5 years, 6 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/runner/native_application_support.cc
diff --git a/mojo/runner/native_application_support.cc b/mojo/runner/native_application_support.cc
index b01faa5214ecbf68c8944420fd965fa53c2c3b3d..68014882b2e1965c0f8d496c20950fcc8793247a 100644
--- a/mojo/runner/native_application_support.cc
+++ b/mojo/runner/native_application_support.cc
@@ -9,7 +9,10 @@
#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_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"
@@ -83,8 +86,14 @@ 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(MojoMakeGLES2ImplChromiumImageThunks,
+ "MojoSetGLES2ImplChromiumImageThunks", app_library);
SetThunks(MojoMakeGLES2ImplChromiumMiscellaneousThunks,
"MojoSetGLES2ImplChromiumMiscellaneousThunks", app_library);
+ SetThunks(MojoMakeGLES2ImplChromiumPixelTransferBufferObjectThunks,
+ "MojoSetGLES2ImplChromiumPixelTransferBufferObjectThunks", app_library);
SetThunks(MojoMakeGLES2ImplChromiumSubImageThunks,
"MojoSetGLES2ImplChromiumSubImageThunks", app_library);
SetThunks(MojoMakeGLES2ImplChromiumTextureMailboxThunks,

Powered by Google App Engine
This is Rietveld 408576698