| 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 495307f85e4abcbfcbdd338b19c611adc4ca582f..4a7e1630d727c31d9d9277d37a1e1986eba55216 100644
|
| --- a/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc
|
| +++ b/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc
|
| @@ -213,6 +213,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()
|
|
|
| @@ -291,6 +292,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();
|
|
|