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

Unified Diff: mojo/public/platform/native/gles2_thunks.cc

Issue 428413002: Make async waiter explicit MojoGLES2CreateContext param (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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_thunks.h ('k') | mojo/services/surfaces/surfaces_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/platform/native/gles2_thunks.cc
diff --git a/mojo/public/platform/native/gles2_thunks.cc b/mojo/public/platform/native/gles2_thunks.cc
index 239aaf106af6abe381103b3e4c0ca94475976c9d..a8c00a1aebb867839b2591904f5d235fa6e04e3c 100644
--- a/mojo/public/platform/native/gles2_thunks.cc
+++ b/mojo/public/platform/native/gles2_thunks.cc
@@ -13,22 +13,13 @@ extern "C" {
static MojoGLES2ControlThunks g_control_thunks = {0};
static MojoGLES2ImplThunks g_impl_thunks = {0};
-void MojoGLES2Initialize(const MojoAsyncWaiter* async_waiter) {
- assert(g_control_thunks.GLES2Initialize);
- g_control_thunks.GLES2Initialize(async_waiter);
-}
-
-void MojoGLES2Terminate() {
- assert(g_control_thunks.GLES2Terminate);
- g_control_thunks.GLES2Terminate();
-}
-
-MojoGLES2Context MojoGLES2CreateContext(
- MojoHandle handle,
- MojoGLES2ContextLost lost_callback,
- void* closure) {
+MojoGLES2Context MojoGLES2CreateContext(MojoHandle handle,
+ MojoGLES2ContextLost lost_callback,
+ void* closure,
+ const MojoAsyncWaiter* async_waiter) {
assert(g_control_thunks.GLES2CreateContext);
- return g_control_thunks.GLES2CreateContext(handle, lost_callback, closure);
+ return g_control_thunks.GLES2CreateContext(
+ handle, lost_callback, closure, async_waiter);
}
void MojoGLES2DestroyContext(MojoGLES2Context context) {
« no previous file with comments | « mojo/public/platform/native/gles2_thunks.h ('k') | mojo/services/surfaces/surfaces_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698