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

Unified Diff: ui/display/chromeos/test/test_native_display_delegate.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: Rebase after quirks changes Created 4 years, 9 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/test/test_native_display_delegate.cc
diff --git a/ui/display/chromeos/test/test_native_display_delegate.cc b/ui/display/chromeos/test/test_native_display_delegate.cc
index d5a9c10aeb5127add97e504f5b0bb68c10424a7f..00d7cd97f82f1b504826ba9308bc2fed8ab736de 100644
--- a/ui/display/chromeos/test/test_native_display_delegate.cc
+++ b/ui/display/chromeos/test/test_native_display_delegate.cc
@@ -134,10 +134,13 @@ bool TestNativeDisplayDelegate::SetColorCalibrationProfile(
return false;
}
-bool TestNativeDisplayDelegate::SetGammaRamp(
+bool TestNativeDisplayDelegate::SetColorCorrection(
const ui::DisplaySnapshot& output,
- const std::vector<GammaRampRGBEntry>& lut) {
- log_->AppendAction(SetGammaRampAction(output, lut));
+ const std::vector<GammaRampRGBEntry>& degamma_lut,
+ const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const std::vector<float>& correction_matrix) {
+ log_->AppendAction(SetColorCorrectionAction(output, degamma_lut, gamma_lut,
+ correction_matrix));
return true;
}
« no previous file with comments | « ui/display/chromeos/test/test_native_display_delegate.h ('k') | ui/display/chromeos/x11/display_snapshot_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698