Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: ui/ozone/common/gpu/ozone_gpu_messages.h

Issue 1182063002: Add support for more advanced color correction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@qcms-fixed-point-gamma
Patch Set: Refactor for glevin@ and load VCGT always Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..8c05ced3e3e04d38261f701ac7ae4370f445a16a 100644
--- a/ui/ozone/common/gpu/ozone_gpu_messages.h
+++ b/ui/ozone/common/gpu/ozone_gpu_messages.h
@@ -46,6 +46,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(modes)
IPC_STRUCT_TRAITS_MEMBER(has_current_mode)
@@ -141,6 +142,12 @@ IPC_MESSAGE_CONTROL2(OzoneGpuMsg_SetGammaRamp,
int64_t, // display ID,
std::vector<ui::GammaRampRGBEntry>) // lut
+IPC_MESSAGE_CONTROL4(OzoneGpuMsg_SetColorCorrection,
+ int64_t, // display ID,
+ 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 */,
std::vector<ui::OverlayCheck_Params> /* overlays */)

Powered by Google App Engine
This is Rietveld 408576698