| Index: content/common/gpu/gpu_messages.h
|
| diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
|
| index 36b50d4ec863b1bbf7ea7ad722e8b799b65aaf3b..ece39ec8fee7abf05dd5cb40b2773aa2a3400365 100644
|
| --- a/content/common/gpu/gpu_messages.h
|
| +++ b/content/common/gpu/gpu_messages.h
|
| @@ -232,6 +232,13 @@ IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle)
|
| IPC_STRUCT_TRAITS_MEMBER(parent_client_id)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(media::VideoEncodeAccelerator::SupportedProfile)
|
| + IPC_STRUCT_TRAITS_MEMBER(profile)
|
| + IPC_STRUCT_TRAITS_MEMBER(max_resolution)
|
| + IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator)
|
| + IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| //------------------------------------------------------------------------------
|
| // GPU Messages
|
| // These are messages from the browser to the GPU process.
|
| @@ -569,6 +576,11 @@ IPC_SYNC_MESSAGE_ROUTED5_1(GpuCommandBufferMsg_CreateVideoEncoder,
|
| int32, /* route_id */
|
| bool /* succeeded */)
|
|
|
| +// Get the supported codec profiles from the hardware video encoder.
|
| +IPC_SYNC_MESSAGE_ROUTED0_1(
|
| + GpuCommandBufferMsg_VideoEncodeAcceleratorGetSupportedProfiles,
|
| + std::vector<media::VideoEncodeAccelerator::SupportedProfile> /* profiles */)
|
| +
|
| // Tells the proxy that there was an error and the command buffer had to be
|
| // destroyed for some reason.
|
| IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed,
|
|
|