| Index: ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc
|
| diff --git a/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc b/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc
|
| index 58dfe35ffc4cd1a28b6bed0d844587cc40b69d93..7f328e1005297a0d9a462992e45e2031aecec3c3 100644
|
| --- a/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc
|
| +++ b/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc
|
| @@ -215,6 +215,7 @@ bool DrmGpuPlatformSupport::OnMessageReceived(const IPC::Message& message) {
|
| OnRelinquishDisplayControl)
|
| IPC_MESSAGE_HANDLER(OzoneGpuMsg_AddGraphicsDevice, OnAddGraphicsDevice)
|
| IPC_MESSAGE_HANDLER(OzoneGpuMsg_RemoveGraphicsDevice, OnRemoveGraphicsDevice)
|
| + IPC_MESSAGE_HANDLER(OzoneGpuMsg_SetGammaRamp, OnSetGammaRamp);
|
| IPC_MESSAGE_UNHANDLED(handled = false);
|
| IPC_END_MESSAGE_MAP()
|
|
|
| @@ -294,6 +295,13 @@ void DrmGpuPlatformSupport::OnRemoveGraphicsDevice(const base::FilePath& path) {
|
| ndd_->RemoveGraphicsDevice(path);
|
| }
|
|
|
| +void DrmGpuPlatformSupport::OnSetGammaRamp(int64_t id,
|
| + const std::vector<uint16_t>& r,
|
| + const std::vector<uint16_t>& g,
|
| + const std::vector<uint16_t>& b) {
|
| + ndd_->SetGammaRamp(id, r, g, b);
|
| +}
|
| +
|
| void DrmGpuPlatformSupport::RelinquishGpuResources(
|
| const base::Closure& callback) {
|
| callback.Run();
|
|
|