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

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: Minor fixes 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..523e99682dd510a6eb43ce40fd67c28536551856 100644
--- a/ui/display/chromeos/display_configurator.h
+++ b/ui/display/chromeos/display_configurator.h
@@ -29,6 +29,7 @@ class Size;
namespace ui {
struct DisplayConfigureRequest;
+struct GammaRampRGBEntry;
class DisplayMode;
class DisplaySnapshot;
class NativeDisplayDelegate;
@@ -267,6 +268,10 @@ 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 |lut|.
+ bool SetGammaRamp(int64_t display_id,
+ const std::vector<GammaRampRGBEntry>& lut);
+
private:
class DisplayLayoutManagerImpl;

Powered by Google App Engine
This is Rietveld 408576698