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

Unified Diff: examples/spinning_cube/gles2_client_impl.h

Issue 1288583002: Add MGL entry points and port spinning_cube to use them (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « examples/spinning_cube/BUILD.gn ('k') | examples/spinning_cube/gles2_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/spinning_cube/gles2_client_impl.h
diff --git a/examples/spinning_cube/gles2_client_impl.h b/examples/spinning_cube/gles2_client_impl.h
index 9583a96c48b3d8ebeb410c9957ec3f9576634843..9b3f2db34c895fdd4b0a024d3ca3c895c7b3ad5f 100644
--- a/examples/spinning_cube/gles2_client_impl.h
+++ b/examples/spinning_cube/gles2_client_impl.h
@@ -6,7 +6,7 @@
#define EXAMPLES_SPINNING_CUBE_GLES2_CLIENT_IMPL_H_
#include "examples/spinning_cube/spinning_cube.h"
-#include "mojo/public/c/gles2/gles2.h"
+#include "mojo/public/c/gpu/MGL/mgl.h"
#include "mojo/services/geometry/public/interfaces/geometry.mojom.h"
#include "mojo/services/native_viewport/public/interfaces/native_viewport.mojom.h"
@@ -36,7 +36,7 @@ class GLES2ClientImpl {
bool waiting_to_draw_;
mojo::ContextProviderPtr context_provider_;
- MojoGLES2Context context_;
+ MGLContext context_;
MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2ClientImpl);
};
« no previous file with comments | « examples/spinning_cube/BUILD.gn ('k') | examples/spinning_cube/gles2_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698