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

Unified Diff: gpu/command_buffer/tests/gl_manager.h

Issue 11275120: Virtual GL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « gpu/command_buffer/service/vertex_attrib_manager.cc ('k') | gpu/command_buffer/tests/gl_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_manager.h
diff --git a/gpu/command_buffer/tests/gl_manager.h b/gpu/command_buffer/tests/gl_manager.h
index ba5b7d05cbf077ce8142f285ee2c09ffd8d1a3f8..31dd46c9cfef8ced2eb1a937816d484783455a95 100644
--- a/gpu/command_buffer/tests/gl_manager.h
+++ b/gpu/command_buffer/tests/gl_manager.h
@@ -40,6 +40,7 @@ class GLManager {
~GLManager();
void Initialize(const gfx::Size& size);
+ void InitializeVirtual(const gfx::Size& size, GLManager* real_gl_manager);
void InitializeShared(const gfx::Size& size, GLManager* gl_manager);
void InitializeSharedMailbox(const gfx::Size& size, GLManager* gl_manager);
void Destroy();
@@ -58,13 +59,18 @@ class GLManager {
return gles2_implementation_.get();
}
+ gfx::GLContext* context() {
+ return context_.get();
+ }
+
private:
void Setup(
const gfx::Size& size,
gles2::MailboxManager* mailbox_manager,
gfx::GLShareGroup* share_group,
gles2::ContextGroup* context_group,
- gles2::ShareGroup* client_share_group);
+ gles2::ShareGroup* client_share_group,
+ gfx::GLContext* real_gl_context);
void PumpCommands();
bool GetBufferChanged(int32 transfer_buffer_id);
« no previous file with comments | « gpu/command_buffer/service/vertex_attrib_manager.cc ('k') | gpu/command_buffer/tests/gl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698