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

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

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/cpp/gles2/gles2.h ('k') | mojo/public/platform/native/gles2_thunks.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.h
diff --git a/mojo/public/platform/native/gles2_thunks.h b/mojo/public/platform/native/gles2_thunks.h
index e3062438ada74164838b4b222bf729b0ca2ea7fe..53375e20a3cffaa694ffdf012e5690654e848ee7 100644
--- a/mojo/public/platform/native/gles2_thunks.h
+++ b/mojo/public/platform/native/gles2_thunks.h
@@ -18,12 +18,10 @@
struct MojoGLES2ControlThunks {
size_t size; // Should be set to sizeof(MojoGLES2ControlThunks).
- void (*GLES2Initialize)(const MojoAsyncWaiter* async_waiter);
- void (*GLES2Terminate)();
- MojoGLES2Context (*GLES2CreateContext)(
- MojoHandle handle,
- MojoGLES2ContextLost lost_callback,
- void* closure);
+ MojoGLES2Context (*GLES2CreateContext)(MojoHandle handle,
+ MojoGLES2ContextLost lost_callback,
+ void* closure,
+ const MojoAsyncWaiter* async_waiter);
void (*GLES2DestroyContext)(MojoGLES2Context context);
void (*GLES2MakeCurrent)(MojoGLES2Context context);
void (*GLES2SwapBuffers)();
@@ -40,8 +38,6 @@ struct MojoGLES2ControlThunks {
inline MojoGLES2ControlThunks MojoMakeGLES2ControlThunks() {
MojoGLES2ControlThunks gles2_control_thunks = {
sizeof(MojoGLES2ControlThunks),
- MojoGLES2Initialize,
- MojoGLES2Terminate,
MojoGLES2CreateContext,
MojoGLES2DestroyContext,
MojoGLES2MakeCurrent,
« no previous file with comments | « mojo/public/cpp/gles2/gles2.h ('k') | mojo/public/platform/native/gles2_thunks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698