| Index: ui/ozone/platform/drm/gpu/drm_display.cc
|
| diff --git a/ui/ozone/platform/drm/gpu/drm_display.cc b/ui/ozone/platform/drm/gpu/drm_display.cc
|
| index 2595b7a056c6d8f0225ac3f8a8d432cd2cf724f8..7b82d3577181a269bece74dcc2adf7485242ad93 100644
|
| --- a/ui/ozone/platform/drm/gpu/drm_display.cc
|
| +++ b/ui/ozone/platform/drm/gpu/drm_display.cc
|
| @@ -176,4 +176,15 @@ void DrmDisplay::SetGammaRamp(const std::vector<GammaRampRGBEntry>& lut) {
|
| }
|
| }
|
|
|
| +void DrmDisplay::SetColorCorrection(
|
| + const std::vector<GammaRampRGBEntry>& degamma_lut,
|
| + const std::vector<GammaRampRGBEntry>& gamma_lut,
|
| + const float correction_matrix[9]) {
|
| + if (!drm_->SetColorCorrection(crtc_, degamma_lut, gamma_lut,
|
| + correction_matrix)) {
|
| + LOG(ERROR) << "Failed to set color correction for display: crtc_id = "
|
| + << crtc_;
|
| + }
|
| +}
|
| +
|
| } // namespace ui
|
|
|