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

Unified Diff: ui/display/chromeos/display_configurator.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: 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/display_configurator.h
diff --git a/ui/display/chromeos/display_configurator.h b/ui/display/chromeos/display_configurator.h
index 5a2b2d482f588ac404a1df659eeeef9d4ce54131..3070af19f767a48febea777e680638ee5add1a6c 100644
--- a/ui/display/chromeos/display_configurator.h
+++ b/ui/display/chromeos/display_configurator.h
@@ -269,6 +269,13 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver {
bool SetGammaRamp(int64_t display_id,
const std::vector<GammaRampRGBEntry>& lut);
+ // Sets the gamma, degamma and correction matrix for |display_id| to the
+ // values in |degamma_lut|, |gamma_lut| and |correction_matrix|.
+ bool SetColorCorrection(int64_t display_id,
+ const std::vector<GammaRampRGBEntry>& degamma_lut,
+ const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const float correction_matrix[9]);
+
private:
class DisplayLayoutManagerImpl;

Powered by Google App Engine
This is Rietveld 408576698