Index: ui/ozone/common/gpu/ozone_gpu_messages.h |
diff --git a/ui/ozone/common/gpu/ozone_gpu_messages.h b/ui/ozone/common/gpu/ozone_gpu_messages.h |
index aa93245186f4f8b08e1f42e87b5e7b71712c1981..3bb9a4d24fa385a420116f0e140658bd7a4b617c 100644 |
--- a/ui/ozone/common/gpu/ozone_gpu_messages.h |
+++ b/ui/ozone/common/gpu/ozone_gpu_messages.h |
@@ -32,6 +32,9 @@ IPC_ENUM_TRAITS_MAX_VALUE(ui::HDCPState, ui::HDCP_STATE_LAST) |
IPC_ENUM_TRAITS_MAX_VALUE(gfx::OverlayTransform, gfx::OVERLAY_TRANSFORM_LAST) |
+IPC_ENUM_TRAITS_MAX_VALUE(ui::OverlayCheck_Params::State, |
+ ui::OverlayCheck_Params::kOverlay) |
+ |
// clang-format off |
IPC_STRUCT_TRAITS_BEGIN(ui::DisplayMode_Params) |
IPC_STRUCT_TRAITS_MEMBER(size) |
@@ -70,7 +73,9 @@ IPC_STRUCT_TRAITS_BEGIN(ui::OverlayCheck_Params) |
IPC_STRUCT_TRAITS_MEMBER(crop_rect) |
IPC_STRUCT_TRAITS_MEMBER(plane_z_order) |
IPC_STRUCT_TRAITS_MEMBER(weight) |
- IPC_STRUCT_TRAITS_MEMBER(plane_ids) |
+ IPC_STRUCT_TRAITS_MEMBER(state) |
+ IPC_STRUCT_TRAITS_MEMBER(optimal_format) |
+ IPC_STRUCT_TRAITS_MEMBER(required_buffer_size) |
IPC_STRUCT_TRAITS_END() |
// clang-format on |
@@ -141,9 +146,11 @@ IPC_MESSAGE_CONTROL2(OzoneGpuMsg_SetGammaRamp, |
int64_t, // display ID, |
std::vector<ui::GammaRampRGBEntry>) // lut |
-IPC_MESSAGE_CONTROL2(OzoneGpuMsg_CheckOverlayCapabilities, |
- gfx::AcceleratedWidget /* widget */, |
- std::vector<ui::OverlayCheck_Params> /* overlays */) |
+IPC_MESSAGE_CONTROL3( |
+ OzoneGpuMsg_CheckOverlayCapabilities, |
+ gfx::AcceleratedWidget /* widget */, |
+ std::vector<ui::OverlayCheck_Params> /* current combination */, |
+ std::vector<ui::OverlayCheck_Params> /* new combinationon */) |
//------------------------------------------------------------------------------ |
// Browser Messages |