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

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

Issue 1028563003: Load and apply a vcgt table from an ICC file to the internal display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address oshima & spang feedback Created 5 years, 8 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
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 14d2a10761e11063e18921471765292c37023570..0b568d2d1704f85516cedafe28b40df019f3085c 100644
--- a/ui/ozone/common/gpu/ozone_gpu_messages.h
+++ b/ui/ozone/common/gpu/ozone_gpu_messages.h
@@ -102,6 +102,13 @@ IPC_MESSAGE_CONTROL0(OzoneGpuMsg_TakeDisplayControl)
// Let other entity control the display
IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RelinquishDisplayControl)
+// Provides the gamma ramp for display adjustment.
+IPC_MESSAGE_CONTROL4(OzoneGpuMsg_SetGammaRamp,
+ int64_t, // display ID,
+ std::vector<uint16_t>, // r
+ std::vector<uint16_t>, // g,
+ std::vector<uint16_t>) // b
+
//------------------------------------------------------------------------------
// Browser Messages
// These messages are from the GPU to the browser process.

Powered by Google App Engine
This is Rietveld 408576698