Index: content/renderer/gpu_channel_host.h |
=================================================================== |
--- content/renderer/gpu_channel_host.h (revision 86313) |
+++ content/renderer/gpu_channel_host.h (working copy) |
@@ -20,6 +20,7 @@ |
#include "ui/gfx/size.h" |
class CommandBufferProxy; |
+class GpuSurfaceProxy; |
class GURL; |
class GpuVideoServiceHost; |
class TransportTextureService; |
@@ -85,6 +86,12 @@ |
// Destroy a command buffer created by this channel. |
void DestroyCommandBuffer(CommandBufferProxy* command_buffer); |
+ // Create a surface in the GPU process. Returns null on failure. |
+ GpuSurfaceProxy* CreateOffscreenSurface(const gfx::Size& size); |
+ |
+ // Destroy a surface in the GPU process. |
+ void DestroySurface(GpuSurfaceProxy* surface); |
+ |
GpuVideoServiceHost* gpu_video_service_host() { |
return gpu_video_service_host_.get(); |
} |