| 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 89ff9ece7064f62afee58088fdc84a2f380b9f81..abe062f808ceca731e68d8acb29e44d6c741f179 100644
|
| --- a/content/browser/gpu/browser_gpu_channel_host_factory.h
|
| +++ b/content/browser/gpu/browser_gpu_channel_host_factory.h
|
| @@ -41,6 +41,10 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
|
| size_t width,
|
| size_t height,
|
| unsigned internalformat) OVERRIDE;
|
| + virtual void CreateSurfaceTexture(
|
| + int32 surface_texture_id,
|
| + base::ProcessHandle process_handle,
|
| + const CreateSurfaceTextureCallback& callback) OVERRIDE;
|
|
|
| // Specify a task runner and callback to be used for a set of messages. The
|
| // callback will be set up on the current GpuProcessHost, identified by
|
| @@ -120,6 +124,14 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
|
| static void OnImageCreated(
|
| const CreateImageCallback& callback, const gfx::Size size);
|
| void DeleteImageOnIO(int32 image_id, int32 sync_point);
|
| + void CreateSurfaceTextureOnIO(
|
| + int32 surface_texture_id,
|
| + base::ProcessHandle process_handle,
|
| + const CreateSurfaceTextureCallback& callback);
|
| + static void SurfaceTextureCreatedOnIO(
|
| + const CreateSurfaceTextureCallback& callback);
|
| + static void OnSurfaceTextureCreated(
|
| + const CreateSurfaceTextureCallback& callback);
|
| static void AddFilterOnIO(
|
| int gpu_host_id,
|
| scoped_refptr<IPC::ChannelProxy::MessageFilter> filter);
|
|
|