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

Unified Diff: mojo/cc/context_provider_mojo.h

Issue 993253003: Modify build_gles2_cmd_buffer.py to generate a class that implements gpu::GLES2Interace and for eac… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/cc/DEPS ('k') | mojo/cc/context_provider_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/cc/context_provider_mojo.h
diff --git a/mojo/cc/context_provider_mojo.h b/mojo/cc/context_provider_mojo.h
index efbdece3c8cb43da0a5e26d4dac1b7459a4c25aa..f206fc2cd6f4d93e64e7ffb1385d6d342a98ffb3 100644
--- a/mojo/cc/context_provider_mojo.h
+++ b/mojo/cc/context_provider_mojo.h
@@ -6,6 +6,7 @@
#define MOJO_CC_CONTEXT_PROVIDER_MOJO_H_
#include "base/macros.h"
+#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
#include "cc/output/context_provider.h"
#include "third_party/mojo/src/mojo/public/c/gles2/gles2.h"
@@ -48,6 +49,7 @@ class ContextProviderMojo : public cc::ContextProvider {
cc::ContextProvider::Capabilities capabilities_;
ScopedMessagePipeHandle command_buffer_handle_;
MojoGLES2Context context_;
+ scoped_ptr<gpu::gles2::GLES2Interface> context_gl_;
bool context_lost_;
base::Lock context_lock_;
« no previous file with comments | « mojo/cc/DEPS ('k') | mojo/cc/context_provider_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698