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

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
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..8b6ea7157a28ff17d183f602b1336efe6fc82a04 100644
--- a/mojo/cc/context_provider_mojo.h
+++ b/mojo/cc/context_provider_mojo.h
@@ -5,6 +5,8 @@
#ifndef MOJO_CC_CONTEXT_PROVIDER_MOJO_H_
#define MOJO_CC_CONTEXT_PROVIDER_MOJO_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/synchronization/lock.h"
#include "cc/output/context_provider.h"
@@ -48,6 +50,7 @@ class ContextProviderMojo : public cc::ContextProvider {
cc::ContextProvider::Capabilities capabilities_;
ScopedMessagePipeHandle command_buffer_handle_;
MojoGLES2Context context_;
+ std::unique_ptr<gpu::gles2::GLES2Interface> context_gl_;
bool context_lost_;
base::Lock context_lock_;

Powered by Google App Engine
This is Rietveld 408576698