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

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: Refactor for glevin@ and load VCGT always Created 5 years, 1 month 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 e235453d140ad95e25e2484233c775ce7a3958b7..8395d0eb136335a4ac4bbc0de10725d4ce24aa39 100644
--- a/ui/display/chromeos/x11/native_display_delegate_x11.cc
+++ b/ui/display/chromeos/x11/native_display_delegate_x11.cc
@@ -630,6 +630,15 @@ bool NativeDisplayDelegateX11::SetGammaRamp(
return false;
}
+bool NativeDisplayDelegateX11::SetColorCorrection(
+ const ui::DisplaySnapshot& output,
+ const std::vector<GammaRampRGBEntry>& degamma_lut,
+ const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const float correction_matrix[9]) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
void NativeDisplayDelegateX11::DrawBackground() {
if (!background_color_argb_)
return;

Powered by Google App Engine
This is Rietveld 408576698