| Index: content/common/gpu/gpu_command_buffer_stub.h
|
| diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
|
| index 910cd91b322e457037d536ec82b0e2acbb540ef5..65b85b9ce79cf2e9a1c2b0363409372e86ccf8ac 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.h
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.h
|
| @@ -52,6 +52,10 @@ class GpuVideoEncodeAccelerator;
|
| class GpuWatchdog;
|
| struct WaitForCommandState;
|
|
|
| +#if defined(OS_ANDROID)
|
| +class StreamTextureManager;
|
| +#endif
|
| +
|
| class GpuCommandBufferStub
|
| : public GpuMemoryManagerClient,
|
| public IPC::Listener,
|
| @@ -223,6 +227,10 @@ class GpuCommandBufferStub
|
| void OnCreateStreamTexture(uint32 texture_id,
|
| int32 stream_id,
|
| bool* succeeded);
|
| + void OnSetStreamTextureSize(uint32 texture_id,
|
| + int32 stream_id,
|
| + size_t width,
|
| + size_t height);
|
|
|
| void OnCommandProcessed();
|
| void OnParseError();
|
| @@ -305,6 +313,10 @@ class GpuCommandBufferStub
|
| scoped_ptr<WaitForCommandState> wait_for_token_;
|
| scoped_ptr<WaitForCommandState> wait_for_get_offset_;
|
|
|
| +#if defined(OS_ANDROID)
|
| + scoped_ptr<StreamTextureManager> stream_texture_manager_;
|
| +#endif
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
|
| };
|
|
|
|
|