summaryrefslogtreecommitdiffstats
path: root/chrome/common/gpu_messages_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/gpu_messages_internal.h')
-rw-r--r--chrome/common/gpu_messages_internal.h54
1 files changed, 3 insertions, 51 deletions
diff --git a/chrome/common/gpu_messages_internal.h b/chrome/common/gpu_messages_internal.h
index 184d8f4..1b51c03 100644
--- a/chrome/common/gpu_messages_internal.h
+++ b/chrome/common/gpu_messages_internal.h
@@ -47,10 +47,6 @@ IPC_BEGIN_MESSAGES(Gpu)
// asynchronously.) Results in a GpuHostMsg_SynchronizeReply.
IPC_MESSAGE_CONTROL0(GpuMsg_Synchronize)
- IPC_MESSAGE_CONTROL2(GpuMsg_NewRenderWidgetHostView,
- GpuNativeWindowHandle, /* parent window */
- int32 /* view_id */)
-
// Tells the GPU process to create a context for collecting graphics card
// information.
IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo)
@@ -61,45 +57,6 @@ IPC_BEGIN_MESSAGES(Gpu)
// Tells the GPU process to hang.
IPC_MESSAGE_CONTROL0(GpuMsg_Hang)
- // Creates a new backing store.
- IPC_MESSAGE_ROUTED2(GpuMsg_NewBackingStore,
- int32, /* backing_store_routing_id */
- gfx::Size /* size */)
-
- // Creates a new video layer.
- IPC_MESSAGE_ROUTED2(GpuMsg_NewVideoLayer,
- int32, /* video_layer_routing_id */
- gfx::Size /* size */)
-
- // 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 */
- gfx::Rect, /* bitmap_rect */
- std::vector<gfx::Rect>) /* copy_rects */
-
-
- IPC_MESSAGE_ROUTED4(GpuMsg_ScrollBackingStore,
- int, /* dx */
- int, /* dy */
- gfx::Rect, /* clip_rect */
- gfx::Size) /* view_size */
-
- // Tells the GPU process that the RenderWidgetHost has painted the window.
- // Depending on the platform, the accelerated content may need to be painted
- // over the top.
- IPC_MESSAGE_ROUTED0(GpuMsg_WindowPainted)
-
- // 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 */
- gfx::Rect) /* bitmap_rect */
-
IPC_END_MESSAGES(Gpu)
//------------------------------------------------------------------------------
@@ -107,12 +64,6 @@ IPC_END_MESSAGES(Gpu)
// These are messages from the GPU process to the browser.
IPC_BEGIN_MESSAGES(GpuHost)
- // Sent in response to GpuMsg_PaintToBackingStore, see that for more.
- IPC_MESSAGE_ROUTED0(GpuHostMsg_PaintToBackingStore_ACK)
-
- // Sent in response to GpuMsg_PaintToVideoLayer, see that for more.
- IPC_MESSAGE_ROUTED0(GpuHostMsg_PaintToVideoLayer_ACK)
-
// Response to a GpuHostMsg_EstablishChannel message.
IPC_MESSAGE_CONTROL2(GpuHostMsg_ChannelEstablished,
IPC::ChannelHandle, /* channel_handle */
@@ -142,10 +93,11 @@ IPC_BEGIN_MESSAGES(GpuHost)
// This message notifies the browser process that the renderer
// swapped the buffers associated with the given "window", which
// should cause the browser to redraw the compositor's contents.
- IPC_MESSAGE_CONTROL3(GpuHostMsg_AcceleratedSurfaceBuffersSwapped,
+ IPC_MESSAGE_CONTROL4(GpuHostMsg_AcceleratedSurfaceBuffersSwapped,
int32, /* renderer_id */
int32, /* render_view_id */
- gfx::PluginWindowHandle /* window */)
+ gfx::PluginWindowHandle /* window */,
+ uint64 /* surface_id */)
#endif
IPC_END_MESSAGES(GpuHost)