| Index: content/common/gpu/gpu_channel.h
|
| diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
|
| index 867c4ce8434645856a9c836a780bc7f90e0f9238..fc43820486485e9f82080a0b15f4d1241b3c5131 100644
|
| --- a/content/common/gpu/gpu_channel.h
|
| +++ b/content/common/gpu/gpu_channel.h
|
| @@ -39,6 +39,9 @@ class WaitableEvent;
|
|
|
| namespace gpu {
|
| struct RefCountedCounter;
|
| +namespace gles2 {
|
| +class ImageManager;
|
| +}
|
| }
|
|
|
| #if defined(OS_ANDROID)
|
| @@ -100,6 +103,12 @@ class GpuChannel : public IPC::Listener,
|
| const GPUCreateCommandBufferConfig& init_params,
|
| int32* route_id);
|
|
|
| + void CreateImage(
|
| + gfx::PluginWindowHandle window,
|
| + int32 image_id,
|
| + gfx::Size* size);
|
| + void DeleteImage(int32 image_id);
|
| +
|
| gfx::GLShareGroup* share_group() const { return share_group_.get(); }
|
|
|
| GpuCommandBufferStub* LookupCommandBuffer(int32 route_id);
|
| @@ -198,6 +207,7 @@ class GpuChannel : public IPC::Listener,
|
| scoped_refptr<gfx::GLShareGroup> share_group_;
|
|
|
| scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_;
|
| + scoped_refptr<gpu::gles2::ImageManager> image_manager_;
|
|
|
| #if defined(ENABLE_GPU)
|
| typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap;
|
|
|