| 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..55e02e6ba7c44f63a18495462f71973a52e31740 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;
|
| @@ -112,6 +113,14 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
|
| return program_manager_.get();
|
| }
|
|
|
| + bool has_program_cache() const {
|
| + return program_cache_ != NULL;
|
| + }
|
| +
|
| + void set_program_cache(ProgramCache* program_cache) {
|
| + program_cache_ = program_cache;
|
| + }
|
| +
|
| ShaderManager* shader_manager() const {
|
| return shader_manager_.get();
|
| }
|
| @@ -149,6 +158,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_;
|
|
|