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

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

Issue 10106015: Allow textures to be moved from one GL context group to another. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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: gpu/command_buffer/tests/gl_manager.h
===================================================================
--- gpu/command_buffer/tests/gl_manager.h (revision 133928)
+++ gpu/command_buffer/tests/gl_manager.h (working copy)
@@ -25,6 +25,7 @@
namespace gles2 {
+class MailboxManager;
class GLES2Decoder;
class GLES2CmdHelper;
class GLES2Implementation;
@@ -33,7 +34,8 @@
class GLManager {
public:
- GLManager();
+ GLManager(gles2::MailboxManager* mailbox_manager,
+ gfx::GLShareGroup* share_group);
~GLManager();
void Initialize(const gfx::Size& size);
@@ -45,6 +47,7 @@
void PumpCommands();
bool GetBufferChanged(int32 transfer_buffer_id);
+ scoped_refptr<gles2::MailboxManager> mailbox_manager_;
scoped_refptr<gfx::GLShareGroup> share_group_;
scoped_ptr<CommandBufferService> command_buffer_;
scoped_ptr<gles2::GLES2Decoder> decoder_;

Powered by Google App Engine
This is Rietveld 408576698