| Index: gpu/command_buffer/client/gles2_implementation.cc
|
| diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
|
| index cf55bb1771ccadd6795c3fbfd6466d42270b48fc..06aa79e0f2f8bb12915ba004ce3e561de029fbff 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation.cc
|
| +++ b/gpu/command_buffer/client/gles2_implementation.cc
|
| @@ -13,6 +13,7 @@
|
| #include "../client/mapped_memory.h"
|
| #include "../client/program_info_manager.h"
|
| #include "../client/query_tracker.h"
|
| +#include "../client/share_group.h"
|
| #include "../client/transfer_buffer.h"
|
| #include "../common/gles2_cmd_utils.h"
|
| #include "../common/id_allocator.h"
|
| @@ -575,6 +576,7 @@ GLES2Implementation::SingleThreadChecker::~SingleThreadChecker() {
|
|
|
| GLES2Implementation::GLES2Implementation(
|
| GLES2CmdHelper* helper,
|
| + ShareGroup* share_group,
|
| TransferBufferInterface* transfer_buffer,
|
| bool share_resources,
|
| bool bind_generates_resource)
|
| @@ -606,6 +608,8 @@ GLES2Implementation::GLES2Implementation(
|
| switches::kEnableGPUClientLogging);
|
| });
|
|
|
| + share_group_ = (share_group ? share_group : new ShareGroup());
|
| +
|
| memset(&reserved_ids_, 0, sizeof(reserved_ids_));
|
| }
|
|
|
|
|