Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Unified Diff: ui/display/chromeos/x11/native_display_delegate_x11.cc

Issue 1182063002: Add support for more advanced color correction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@qcms-fixed-point-gamma
Patch Set: Integrate dnicoara@ feedback Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/display/chromeos/x11/native_display_delegate_x11.cc
diff --git a/ui/display/chromeos/x11/native_display_delegate_x11.cc b/ui/display/chromeos/x11/native_display_delegate_x11.cc
index 35f3819b0b83be46112e38e43839f26995fa244c..6bbccd882579ac08b47a2773c189f6630a50cdd4 100644
--- a/ui/display/chromeos/x11/native_display_delegate_x11.cc
+++ b/ui/display/chromeos/x11/native_display_delegate_x11.cc
@@ -624,9 +624,11 @@ XRRCrtcGamma* NativeDisplayDelegateX11::CreateGammaRampForProfile(
return NULL;
}
-bool NativeDisplayDelegateX11::SetGammaRamp(
+bool NativeDisplayDelegateX11::SetColorCorrection(
const ui::DisplaySnapshot& output,
- const std::vector<GammaRampRGBEntry>& lut) {
+ const std::vector<GammaRampRGBEntry>& degamma_lut,
+ const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const std::vector<float>& correction_matrix) {
NOTIMPLEMENTED();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698