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); |