| Index: gpu/command_buffer/client/gles2_implementation.h
|
| diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h
|
| index 4e5334a8ca32510ab55f9ab83ef4febd577bf97d..352a9473dd689727df55c9db0cfe265d469baba8 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation.h
|
| @@ -15,6 +15,7 @@
|
|
|
| #include "../common/gles2_cmd_utils.h"
|
| #include "../common/scoped_ptr.h"
|
| +#include "../client/ref_counted.h"
|
| #include "../client/gles2_cmd_helper.h"
|
| #include "../client/query_tracker.h"
|
| #include "../client/ring_buffer.h"
|
| @@ -83,6 +84,7 @@ namespace gles2 {
|
|
|
| class ClientSideBufferHelper;
|
| class ProgramInfoManager;
|
| +class ShareGroup;
|
|
|
| // Base class for IdHandlers
|
| class IdHandlerInterface {
|
| @@ -169,6 +171,7 @@ class GLES2_IMPL_EXPORT GLES2Implementation {
|
|
|
| GLES2Implementation(
|
| GLES2CmdHelper* helper,
|
| + ShareGroup* share_group,
|
| TransferBufferInterface* transfer_buffer,
|
| bool share_resources,
|
| bool bind_generates_resource);
|
| @@ -225,6 +228,10 @@ class GLES2_IMPL_EXPORT GLES2Implementation {
|
| error_message_callback_ = callback;
|
| }
|
|
|
| + ShareGroup* share_group() const {
|
| + return share_group_.get();
|
| + }
|
| +
|
| private:
|
| friend class ClientSideBufferHelper;
|
| friend class GLES2ImplementationTest;
|
| @@ -529,6 +536,8 @@ class GLES2_IMPL_EXPORT GLES2Implementation {
|
|
|
| scoped_ptr<ProgramInfoManager> program_info_manager_;
|
|
|
| + scoped_refptr<ShareGroup> share_group_;
|
| +
|
| scoped_ptr<QueryTracker> query_tracker_;
|
| QueryTracker::Query* current_query_;
|
|
|
|
|