| Index: content/common/gpu/gpu_channel.h
|
| diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
|
| index e28ea4ebb781c19343127cd24aa3bc4d8ceb556f..d5bbec9d23fe367f07b05ece8d4b9e1620e22586 100644
|
| --- a/content/common/gpu/gpu_channel.h
|
| +++ b/content/common/gpu/gpu_channel.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <deque>
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "base/id_map.h"
|
| #include "base/memory/ref_counted.h"
|
| @@ -38,6 +39,9 @@ class WaitableEvent;
|
|
|
| namespace gpu {
|
| struct RefCountedCounter;
|
| +namespace gles2 {
|
| +class ProgramCache;
|
| +}
|
| }
|
|
|
| #if defined(OS_ANDROID)
|
| @@ -58,7 +62,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);
|
| @@ -161,6 +166,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.
|
|
|