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

Unified Diff: gpu/ipc/gl_in_process_context.h

Issue 2498053004: Add InProcessContextProvider and update InProcessCommandBuffer (Closed)
Patch Set: Created 4 years, 1 month 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: gpu/ipc/gl_in_process_context.h
diff --git a/gpu/ipc/gl_in_process_context.h b/gpu/ipc/gl_in_process_context.h
index e03363f3acad48bfdf5a330b6a4ce4ab7d28d8a3..47d81cd5e44fb915e5033aecbecde0bc91b09ee6 100644
--- a/gpu/ipc/gl_in_process_context.h
+++ b/gpu/ipc/gl_in_process_context.h
@@ -28,6 +28,7 @@ class SurfaceTexture;
#endif
namespace gpu {
+class InProcessCommandBuffer;
struct SharedMemoryLimits;
namespace gles2 {
@@ -62,6 +63,8 @@ class GL_IN_PROCESS_CONTEXT_EXPORT GLInProcessContext {
// can be used without making it current.
virtual gles2::GLES2Implementation* GetImplementation() = 0;
+ virtual InProcessCommandBuffer* GetInProcessCommandBuffer() = 0;
+
virtual void SetLock(base::Lock* lock) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698