Chromium Code Reviews| Index: content/browser/gpu/browser_gpu_channel_host_factory.h |
| diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h |
| index 049cec1f2b3a176c26f65d36046e8749d694c65c..679486e323c8038fbb1fd7202119769679cc83b5 100644 |
| --- a/content/browser/gpu/browser_gpu_channel_host_factory.h |
| +++ b/content/browser/gpu/browser_gpu_channel_host_factory.h |
| @@ -31,6 +31,9 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory |
| int32 surface_id, |
| const GPUCreateCommandBufferConfig& init_params, |
| int32 route_id) override; |
| + bool CreateStreamTexture(int32 image_id, |
| + int32 route_id, |
| + int32 stream_id) override; |
| IPC::AttachmentBroker* GetAttachmentBroker() override; |
| int GpuProcessHostId() { return gpu_host_id_; } |
| @@ -48,6 +51,7 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory |
| private: |
| struct CreateRequest; |
| + struct CreateStreamTextureRequest; |
| class EstablishRequest; |
| BrowserGpuChannelHostFactory(); |
| @@ -58,8 +62,13 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory |
| CreateRequest* request, |
| int32 surface_id, |
| const GPUCreateCommandBufferConfig& init_params); |
| + |
|
reveman
2015/06/29 16:02:00
why blank line here but not below?
sivag
2015/06/30 11:17:17
Done.
|
| + void CreateStreamTextureOnIO(CreateStreamTextureRequest* request); |
| + |
| static void CommandBufferCreatedOnIO(CreateRequest* request, |
| CreateCommandBufferResult result); |
| + static void StreamTextureCreatedOnIO(CreateStreamTextureRequest* request, |
| + bool result); |
| static void AddFilterOnIO(int gpu_host_id, |
| scoped_refptr<IPC::MessageFilter> filter); |