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..a00a2197a4c85942579ae6cbb63537e280a56807 100644 |
--- a/ui/ozone/common/gpu/ozone_gpu_messages.h |
+++ b/ui/ozone/common/gpu/ozone_gpu_messages.h |
@@ -8,6 +8,7 @@ |
#include <vector> |
#include "base/file_descriptor_posix.h" |
+#include "base/tuple.h" |
#include "ipc/ipc_message_macros.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
#include "ui/gfx/geometry/point.h" |
@@ -22,6 +23,8 @@ |
#define IPC_MESSAGE_START OzoneGpuMsgStart |
+typedef std::vector<Tuple<uint16_t, uint16_t, uint16_t>> GammaRampRGBData; |
+ |
IPC_ENUM_TRAITS_MAX_VALUE(ui::DisplayConnectionType, |
ui::DISPLAY_CONNECTION_TYPE_LAST) |
@@ -102,6 +105,11 @@ 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_CONTROL2(OzoneGpuMsg_SetGammaRamp, |
+ int64_t, // display ID, |
dcheng
2015/04/29 21:43:01
Nit: make this comment consistent with the convent
|
+ GammaRampRGBData /* lut */) |
+ |
//------------------------------------------------------------------------------ |
// Browser Messages |
// These messages are from the GPU to the browser process. |