Index: ui/ozone/platform/drm/gpu/drm_thread.cc |
diff --git a/ui/ozone/platform/drm/gpu/drm_thread.cc b/ui/ozone/platform/drm/gpu/drm_thread.cc |
index 901dedb08c7c0aa19398ed49293842dd7a6f6703..f965632c013bf8cb9e3078019bdc213994b3b099 100644 |
--- a/ui/ozone/platform/drm/gpu/drm_thread.cc |
+++ b/ui/ozone/platform/drm/gpu/drm_thread.cc |
@@ -223,4 +223,13 @@ void DrmThread::SetGammaRamp(int64_t id, |
display_manager_->SetGammaRamp(id, lut); |
} |
+void DrmThread::SetColorCorrection( |
+ int64_t display_id, |
+ const std::vector<GammaRampRGBEntry>& degamma_lut, |
+ const std::vector<GammaRampRGBEntry>& gamma_lut, |
+ const std::vector<float>& correction_matrix) { |
+ display_manager_->SetColorCorrection(display_id, degamma_lut, gamma_lut, |
+ &correction_matrix[0]); |
+} |
+ |
} // namespace ui |