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

Unified Diff: chrome/common/gpu_messages_internal.h

Issue 3834003: On Windows, create a new TransportDIB::Handle struct which includes the file (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase Created 10 years, 2 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
diff --git a/chrome/common/gpu_messages_internal.h b/chrome/common/gpu_messages_internal.h
index 184d8f4249436fdef08601c8b4e7feddc4000268..deb48f82b6185ef218273c16df0a63785fd2e02b 100644
--- a/chrome/common/gpu_messages_internal.h
+++ b/chrome/common/gpu_messages_internal.h
@@ -74,13 +74,11 @@ IPC_BEGIN_MESSAGES(Gpu)
// Updates the backing store with the given bitmap. The GPU process will send
// back a GpuHostMsg_PaintToBackingStore_ACK after the paint is complete to
// let the caller know the TransportDIB can be freed or reused.
- IPC_MESSAGE_ROUTED4(GpuMsg_PaintToBackingStore,
- base::ProcessId, /* process */
- TransportDIB::Id, /* bitmap */
+ IPC_MESSAGE_ROUTED3(GpuMsg_PaintToBackingStore,
+ TransportDIB::Handle, /* bitmap_handle */
gfx::Rect, /* bitmap_rect */
std::vector<gfx::Rect>) /* copy_rects */
-
IPC_MESSAGE_ROUTED4(GpuMsg_ScrollBackingStore,
int, /* dx */
int, /* dy */
@@ -95,9 +93,8 @@ IPC_BEGIN_MESSAGES(Gpu)
// Updates the video layer with the given YUV data. The GPU process will send
// back a GpuHostMsg_PaintToVideoLayer_ACK after the paint is complete to
// let the caller know the TransportDIB can be freed or reused.
- IPC_MESSAGE_ROUTED3(GpuMsg_PaintToVideoLayer,
- base::ProcessId, /* process */
- TransportDIB::Id, /* bitmap */
+ IPC_MESSAGE_ROUTED2(GpuMsg_PaintToVideoLayer,
+ TransportDIB::Handle, /* bitmap_handle */
gfx::Rect) /* bitmap_rect */
IPC_END_MESSAGES(Gpu)

Powered by Google App Engine
This is Rietveld 408576698