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 95f84bfadd6d21dca799423dac09fdfe652e41d0..dee781a1054ed44ab8c287184f78a8ffda5cfed7 100644 |
--- a/ui/ozone/common/gpu/ozone_gpu_messages.h |
+++ b/ui/ozone/common/gpu/ozone_gpu_messages.h |
@@ -48,6 +48,7 @@ IPC_STRUCT_TRAITS_BEGIN(ui::DisplaySnapshot_Params) |
IPC_STRUCT_TRAITS_MEMBER(type) |
IPC_STRUCT_TRAITS_MEMBER(is_aspect_preserving_scaling) |
IPC_STRUCT_TRAITS_MEMBER(has_overscan) |
+ IPC_STRUCT_TRAITS_MEMBER(has_color_correction_matrix) |
IPC_STRUCT_TRAITS_MEMBER(display_name) |
IPC_STRUCT_TRAITS_MEMBER(sys_path) |
IPC_STRUCT_TRAITS_MEMBER(modes) |
@@ -140,10 +141,11 @@ IPC_MESSAGE_CONTROL2(OzoneGpuMsg_SetHDCPState, |
int64_t /* display_id */, |
ui::HDCPState /* state */) |
-// Provides the gamma ramp for display adjustment. |
-IPC_MESSAGE_CONTROL2(OzoneGpuMsg_SetGammaRamp, |
+IPC_MESSAGE_CONTROL4(OzoneGpuMsg_SetColorCorrection, |
int64_t, // display ID, |
- std::vector<ui::GammaRampRGBEntry>) // lut |
+ std::vector<ui::GammaRampRGBEntry>, // degamma lut |
+ std::vector<ui::GammaRampRGBEntry>, // gamma lut |
+ std::vector<float>) // transform matrix |
IPC_MESSAGE_CONTROL2(OzoneGpuMsg_CheckOverlayCapabilities, |
gfx::AcceleratedWidget /* widget */, |