Index: content/common/gpu/gpu_messages.h |
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
index 04278dd2d67642c6e82063166053e077dd69b150..8b948a70822c29d260925a11a70c9c2ce6bb9cf4 100644 |
--- a/content/common/gpu/gpu_messages.h |
+++ b/content/common/gpu/gpu_messages.h |
@@ -19,6 +19,7 @@ |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_message_macros.h" |
#include "media/video/video_decode_accelerator.h" |
+#include "ui/gfx/gl/gl_surface.h" |
mmocny
2012/03/15 19:11:43
will remove.
|
#include "ui/gfx/gl/gpu_preference.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gfx/size.h" |
@@ -119,10 +120,9 @@ IPC_STRUCT_TRAITS_BEGIN(content::GPUInfo) |
#endif |
IPC_STRUCT_TRAITS_END() |
-IPC_STRUCT_TRAITS_BEGIN(GpuMemoryAllocation) |
+IPC_STRUCT_TRAITS_BEGIN(GpuMemoryAllocationForRenderer) |
IPC_STRUCT_TRAITS_MEMBER(gpu_resource_size_in_bytes) |
- IPC_STRUCT_TRAITS_MEMBER(has_frontbuffer) |
- IPC_STRUCT_TRAITS_MEMBER(has_backbuffer) |
+ IPC_STRUCT_TRAITS_MEMBER(suggest_have_backbuffer) |
IPC_STRUCT_TRAITS_END() |
IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle) |
@@ -441,9 +441,13 @@ IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck) |
// Send to stub on surface visibility change. |
IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) |
+// Request that the GPU process create/destroy the surface backbuffer. |
+IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_CreateBackbuffer) |
+IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_DestroyBackbuffer) |
+ |
// Sent to proxy when the gpu memory manager changes its memory allocation. |
IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, |
- GpuMemoryAllocation /* allocation */) |
+ GpuMemoryAllocationForRenderer /* allocation */) |
//------------------------------------------------------------------------------ |
// Accelerated Video Decoder Messages |