Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Unified Diff: content/renderer/gpu_channel_host.h

Issue 6992010: Added proxy / stub pair for GPU surfaces. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/gpu_channel_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698