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

Unified Diff: chrome/common/gpu_messages_internal.h

Issue 6557006: Moved creation of GPU transfer buffers into the browser process.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
Index: chrome/common/gpu_messages_internal.h
===================================================================
--- chrome/common/gpu_messages_internal.h (revision 75655)
+++ chrome/common/gpu_messages_internal.h (working copy)
@@ -179,6 +179,13 @@
// GPU Channel Messages
// These are messages from a renderer process to the GPU process.
+// Initialize a channel between a renderer process and a GPU process. The
+// renderer passes a process handle to the GPU process, which gives it the
Ken Russell (switch to Gerrit) 2011/02/24 19:48:47 I found this really confusing to understand. I thi
+// ability to map renderer handles into the GPU process. This must be the
+// first message sent on a newly connected channel.
+IPC_MESSAGE_CONTROL1(GpuChannelMsg_Initialize,
+ base::ProcessHandle /* gpu_renderer_process */)
Ken Russell (switch to Gerrit) 2011/02/24 19:48:47 I found the naming convention of "gpu_renderer_pro
+
// Tells the GPU process to create a new command buffer that renders to an
// offscreen frame buffer. If parent_route_id is not zero, the texture backing
// the frame buffer is mapped into the corresponding parent command buffer's
@@ -257,6 +264,13 @@
int32 /* size */,
int32 /* id */)
+// Register an existing shared memory transfer buffer. Returns an id that can be
+// used to identify the transfer buffer from a command buffer.
+IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_RegisterTransferBuffer,
+ base::SharedMemoryHandle /* transfer_buffer */,
+ size_t /* size */,
+ int32 /* id */)
+
// Destroy a previously created transfer buffer.
IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_DestroyTransferBuffer,
int32 /* id */)

Powered by Google App Engine
This is Rietveld 408576698