| Index: gpu/command_buffer/service/context_group.h
|
| diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h
|
| index 2f3eaf9631e76b7632a54d3663ea7d334e90ac81..e6b8d4e164b7b6c2b01e09c7b4acde4934809781 100644
|
| --- a/gpu/command_buffer/service/context_group.h
|
| +++ b/gpu/command_buffer/service/context_group.h
|
| @@ -23,6 +23,7 @@ class TransferBufferManagerInterface;
|
|
|
| namespace gles2 {
|
|
|
| +class ProgramCache;
|
| class BufferManager;
|
| class GLES2Decoder;
|
| class FramebufferManager;
|
| @@ -41,7 +42,8 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
|
|
|
| ContextGroup(
|
| MailboxManager* mailbox_manager,
|
| - bool bind_generates_resource);
|
| + bool bind_generates_resource,
|
| + ProgramCache* program_cache);
|
|
|
| // This should only be called by GLES2Decoder. This must be paired with a
|
| // call to destroy if it succeeds.
|
| @@ -149,6 +151,8 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
|
| uint32 max_varying_vectors_;
|
| uint32 max_vertex_uniform_vectors_;
|
|
|
| + ProgramCache* program_cache_;
|
| +
|
| scoped_ptr<BufferManager> buffer_manager_;
|
|
|
| scoped_ptr<FramebufferManager> framebuffer_manager_;
|
|
|