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

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 213493002: content: Add multi-proc surface texture support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/browser/renderer_host/render_message_filter.cc ('k') | content/common/gpu/gpu_channel_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/gpu_channel_host.h
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h
index e073db004d4d056ec4620eb2943912369ff12bc5..cf0492a428705d3af64498913b1a93bd91318d67 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -58,6 +58,7 @@ struct GpuListenerInfo {
class CONTENT_EXPORT GpuChannelHostFactory {
public:
typedef base::Callback<void(const gfx::Size)> CreateImageCallback;
+ typedef base::Closure CreateSurfaceTextureCallback;
virtual ~GpuChannelHostFactory() {}
@@ -76,6 +77,10 @@ class CONTENT_EXPORT GpuChannelHostFactory {
size_t width,
size_t height,
unsigned internalformat) = 0;
+ virtual void CreateSurfaceTexture(
+ int32 surface_texture_id,
+ int32 process_handle,
+ const CreateSurfaceTextureCallback& callback) = 0;
};
// Encapsulates an IPC channel between the client and one GPU process.
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/gpu/gpu_channel_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698