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

Unified Diff: content/common/gpu/gpu_messages.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/common/gpu/gpu_channel_manager.cc ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_messages.h
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
index 1f8c72d62ece00c32539080578afd343566acb2a..3e2b7a00622695aabd85597d4e0c9f7565367085 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -312,6 +312,11 @@ IPC_MESSAGE_CONTROL0(GpuMsg_Hang)
// Tells the GPU process to disable the watchdog thread.
IPC_MESSAGE_CONTROL0(GpuMsg_DisableWatchdog)
+// Tells the GPU process to create a new surface texture.
+IPC_MESSAGE_CONTROL2(GpuMsg_CreateSurfaceTexture,
+ int32, /* surface_texture_id */
+ int32 /* process_handle */)
+
//------------------------------------------------------------------------------
// GPU Host Messages
// These are messages to the browser.
@@ -368,6 +373,10 @@ IPC_MESSAGE_CONTROL1(GpuHostMsg_DestroyCommandBuffer,
IPC_MESSAGE_CONTROL1(GpuHostMsg_ImageCreated,
gfx::Size /* size */)
+// Response from GPU to a GpuMsg_CreateSurfaceTexture message.
+IPC_MESSAGE_CONTROL1(GpuHostMsg_SurfaceTextureCreated,
+ int32 /* surface_texture_id */)
+
// Response from GPU to a GpuMsg_CollectGraphicsInfo.
IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected,
gpu::GPUInfo /* GPU logging stats */)
« no previous file with comments | « content/common/gpu/gpu_channel_manager.cc ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698