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

Unified Diff: ui/display/chromeos/display_configurator.h

Issue 1028563003: Load and apply a vcgt table from an ICC file to the internal display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ash::DisplayColorManager Created 5 years, 8 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/display_configurator.h
diff --git a/ui/display/chromeos/display_configurator.h b/ui/display/chromeos/display_configurator.h
index 88eab83b4db146f787a5fd377878e792c76ed0a6..8c5a01d07326b104e524becdc1a762a51ca4d037 100644
--- a/ui/display/chromeos/display_configurator.h
+++ b/ui/display/chromeos/display_configurator.h
@@ -267,6 +267,12 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver {
bool SetColorCalibrationProfile(int64_t display_id,
ui::ColorCalibrationProfile new_profile);
+ // Sets the gamma ramp for |display_id| to the values in |r|, |g| and |b|.
+ bool SetGammaRamp(int64_t display_id,
+ const std::vector<uint16_t>& r,
+ const std::vector<uint16_t>& g,
+ const std::vector<uint16_t>& b);
+
private:
class DisplayLayoutManagerImpl;

Powered by Google App Engine
This is Rietveld 408576698