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

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: Rebase after quirks changes Created 4 years, 9 months 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
« no previous file with comments | « ui/ozone/common/gpu/ozone_gpu_message_params.h ('k') | ui/ozone/common/native_display_delegate_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 96048cbb950e60223a0ea73345a2fc2879361736..4b2de08d0ab0c4d794dc6bf1974da980b777fa97 100644
--- a/ui/ozone/common/gpu/ozone_gpu_messages.h
+++ b/ui/ozone/common/gpu/ozone_gpu_messages.h
@@ -47,6 +47,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 */,
« no previous file with comments | « ui/ozone/common/gpu/ozone_gpu_message_params.h ('k') | ui/ozone/common/native_display_delegate_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698