| Index: content/common/gpu/gpu_channel.h
|
| diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
|
| index d9f90f75dee35feeb64fa7f3d3c0aac050d24262..707af3df371359020f8b33eeaf155c40cf8871e0 100644
|
| --- a/content/common/gpu/gpu_channel.h
|
| +++ b/content/common/gpu/gpu_channel.h
|
| @@ -35,6 +35,9 @@ class WaitableEvent;
|
|
|
| namespace gpu {
|
| struct RefCountedCounter;
|
| +namespace gles2 {
|
| +class ProgramCache;
|
| +}
|
| }
|
|
|
| // Encapsulates an IPC channel between the GPU process and one renderer
|
| @@ -49,7 +52,8 @@ class GpuChannel : public IPC::Listener,
|
| gfx::GLShareGroup* share_group,
|
| gpu::gles2::MailboxManager* mailbox_manager,
|
| int client_id,
|
| - bool software);
|
| + bool software,
|
| + gpu::gles2::ProgramCache* program_cache);
|
|
|
| bool Init(base::MessageLoopProxy* io_message_loop,
|
| base::WaitableEvent* shutdown_event);
|
| @@ -141,6 +145,8 @@ class GpuChannel : public IPC::Listener,
|
| // are destroyed. So a raw pointer is safe.
|
| GpuChannelManager* gpu_channel_manager_;
|
|
|
| + gpu::gles2::ProgramCache* program_cache_;
|
| +
|
| scoped_ptr<IPC::SyncChannel> channel_;
|
|
|
| // Number of routed messages for pending processing on a stub.
|
|
|