| Index: gpu/ipc/common/gpu_messages.h
|
| diff --git a/gpu/ipc/common/gpu_messages.h b/gpu/ipc/common/gpu_messages.h
|
| index b1d6fdc42cbad14b8c8d5df5cd17eb24097b79d6..a1230e60763aed211992880e2700f9dd993e3f6d 100644
|
| --- a/gpu/ipc/common/gpu_messages.h
|
| +++ b/gpu/ipc/common/gpu_messages.h
|
| @@ -72,6 +72,11 @@ IPC_STRUCT_BEGIN(GpuCommandBufferMsg_CreateImage_Params)
|
| IPC_STRUCT_MEMBER(uint64_t, image_release_count)
|
| IPC_STRUCT_END()
|
|
|
| +IPC_STRUCT_BEGIN(GpuCommandBufferMsg_CreateFence_Params)
|
| + IPC_STRUCT_MEMBER(int32_t, id)
|
| + IPC_STRUCT_MEMBER(gfx::GpuFenceHandle, gpu_fence)
|
| +IPC_STRUCT_END()
|
| +
|
| IPC_STRUCT_BEGIN(GpuCommandBufferMsg_SwapBuffersCompleted_Params)
|
| #if defined(OS_MACOSX)
|
| // Mac-specific parameters used to present CALayers hosted in the GPU process.
|
| @@ -252,3 +257,11 @@ IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture,
|
| uint32_t, /* client_texture_id */
|
| int32_t, /* stream_id */
|
| bool /* succeeded */)
|
| +
|
| +// Create a fence from an existing gpu fence. The id that can be
|
| +// used to identify the fence from a command buffer.
|
| +IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_CreateFence,
|
| + GpuCommandBufferMsg_CreateFence_Params /* params */)
|
| +
|
| +// Destroy a previously created fence.
|
| +IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyFence, int32_t /* id */)
|
|
|