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 13058e52e041d0d40162a17c3993c9b64fb4a65e..83140b376a1355cc7f31b07e1577e411fce2fc1b 100644 |
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h |
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h |
@@ -31,6 +31,11 @@ class BrowserGpuChannelHostFactory : public GpuChannelHostFactory { |
virtual int32 CreateViewCommandBuffer( |
int32 surface_id, |
const GPUCreateCommandBufferConfig& init_params) OVERRIDE; |
+ virtual void CreateImage( |
+ gfx::PluginWindowHandle window, |
+ int32 image_id, |
+ const CreateImageCallback& callback) OVERRIDE; |
+ virtual void DeleteImage(int32 image_idu, int32 sync_point) OVERRIDE; |
virtual GpuChannelHost* EstablishGpuChannelSync( |
CauseForGpuLaunch cause_for_gpu_launch) OVERRIDE; |
@@ -62,6 +67,15 @@ class BrowserGpuChannelHostFactory : public GpuChannelHostFactory { |
int32 surface_id, |
const GPUCreateCommandBufferConfig& init_params); |
static void CommandBufferCreatedOnIO(CreateRequest* request, int32 route_id); |
+ void CreateImageOnIO( |
+ gfx::PluginWindowHandle window, |
+ int32 image_id, |
+ const CreateImageCallback& callback); |
+ static void ImageCreatedOnIO( |
+ const CreateImageCallback& callback, const gfx::Size size); |
+ static void OnImageCreated( |
+ const CreateImageCallback& callback, const gfx::Size size); |
+ void DeleteImageOnIO(int32 image_id, int32 sync_point); |
void EstablishGpuChannelOnIO(EstablishRequest* request); |
void GpuChannelEstablishedOnIO( |
EstablishRequest* request, |