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

Unified Diff: ui/ozone/common/native_display_delegate_ozone.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: Improve memory management / casting 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/ozone/common/native_display_delegate_ozone.cc
diff --git a/ui/ozone/common/native_display_delegate_ozone.cc b/ui/ozone/common/native_display_delegate_ozone.cc
index 7dd50377714519806eb59c699094fd5babcd3708..24703cd3dd385d76bb5cf7fc3a04a402c993b824 100644
--- a/ui/ozone/common/native_display_delegate_ozone.cc
+++ b/ui/ozone/common/native_display_delegate_ozone.cc
@@ -110,9 +110,11 @@ bool NativeDisplayDelegateOzone::SetColorCalibrationProfile(
return false;
}
-bool NativeDisplayDelegateOzone::SetGammaRamp(
+bool NativeDisplayDelegateOzone::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