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

Unified Diff: ui/display/types/native_display_delegate.h

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/display/types/native_display_delegate.h
diff --git a/ui/display/types/native_display_delegate.h b/ui/display/types/native_display_delegate.h
index bf59dca8ff0db41081e81006a7647a300be2e800..b17be8f1cffda92a19ad1e77a6591bd75486a8dc 100644
--- a/ui/display/types/native_display_delegate.h
+++ b/ui/display/types/native_display_delegate.h
@@ -107,9 +107,12 @@ class DISPLAY_TYPES_EXPORT NativeDisplayDelegate {
const ui::DisplaySnapshot& output,
ui::ColorCalibrationProfile new_profile) = 0;
- // Set the gamma ramp for the display.
- virtual bool SetGammaRamp(const ui::DisplaySnapshot& output,
- const std::vector<GammaRampRGBEntry>& lut) = 0;
+ // Set the gamma tables and corection matrix for the display.
+ virtual bool SetColorCorrection(
+ const ui::DisplaySnapshot& output,
+ const std::vector<GammaRampRGBEntry>& degamma_lut,
+ const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const std::vector<float>& correction_matrix) = 0;
virtual void AddObserver(NativeDisplayObserver* observer) = 0;

Powered by Google App Engine
This is Rietveld 408576698