| Index: content/common/gpu/gpu_messages.h
|
| diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
|
| index d304367f2aa1ea82b4fc5a825cfa8a4d5451859d..f754718b7feae0cb3d0ae30294e1d51711a31f21 100644
|
| --- a/content/common/gpu/gpu_messages.h
|
| +++ b/content/common/gpu/gpu_messages.h
|
| @@ -132,6 +132,15 @@ IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params)
|
| IPC_STRUCT_END()
|
| #endif
|
|
|
| +IPC_STRUCT_BEGIN(GpuCommandBufferMsg_RegisterGpuMemoryBuffer_Params)
|
| + IPC_STRUCT_MEMBER(int32, id)
|
| + IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, gpu_memory_buffer)
|
| + IPC_STRUCT_MEMBER(uint32, width)
|
| + IPC_STRUCT_MEMBER(uint32, height)
|
| + IPC_STRUCT_MEMBER(uint32, internalformat)
|
| + IPC_STRUCT_MEMBER(uint32, usage)
|
| +IPC_STRUCT_END()
|
| +
|
| IPC_STRUCT_TRAITS_BEGIN(gpu::DxDiagNode)
|
| IPC_STRUCT_TRAITS_MEMBER(values)
|
| IPC_STRUCT_TRAITS_MEMBER(children)
|
| @@ -638,12 +647,8 @@ IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalQuery,
|
|
|
| // Register an existing gpu memory buffer. The id that can be
|
| // used to identify the gpu memory buffer from a command buffer.
|
| -IPC_MESSAGE_ROUTED5(GpuCommandBufferMsg_RegisterGpuMemoryBuffer,
|
| - int32 /* id */,
|
| - gfx::GpuMemoryBufferHandle /* gpu_memory_buffer */,
|
| - uint32 /* width */,
|
| - uint32 /* height */,
|
| - uint32 /* internalformat */)
|
| +IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RegisterGpuMemoryBuffer,
|
| + GpuCommandBufferMsg_RegisterGpuMemoryBuffer_Params)
|
|
|
| // Destroy a previously created gpu memory buffer.
|
| IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyGpuMemoryBuffer,
|
|
|