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

Unified Diff: mojo/public/gles2/gles2_types.h

Issue 131153007: Send size to NativeViewportClient::OnCreated instead of GLES2Client::DidCreateContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, fix various issues Created 6 years, 11 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/gles2/gles2_client_impl.cc ('k') | mojo/services/gles2/gles2.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/gles2/gles2_types.h
diff --git a/mojo/public/gles2/gles2_types.h b/mojo/public/gles2/gles2_types.h
index 19c579fabe1a4eef11d40f1e489f7c2d37b3880c..b6a98381e40c05465e96849af2a217dd11710e0a 100644
--- a/mojo/public/gles2/gles2_types.h
+++ b/mojo/public/gles2/gles2_types.h
@@ -16,11 +16,8 @@ extern "C" {
#endif
typedef struct MojoGLES2ContextPrivate *MojoGLES2Context;
-// TODO(piman):
-// - create context synchronously
-// - pass width/height through native viewport, not here.
-typedef void (*MojoGLES2ContextCreated)(
- void* closure, uint32_t width, uint32_t height);
+// TODO(piman): create context synchronously
+typedef void (*MojoGLES2ContextCreated)(void* closure);
typedef void (*MojoGLES2ContextLost)(void* closure);
typedef void (*MojoGLES2DrawAnimationFrame)(void* closure);
« no previous file with comments | « mojo/gles2/gles2_client_impl.cc ('k') | mojo/services/gles2/gles2.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698