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

Unified Diff: content/browser/gpu/browser_gpu_channel_host_factory.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 | « no previous file | content/browser/gpu/browser_gpu_channel_host_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_channel_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698