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

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: Rebase after quirks changes Created 4 years, 9 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
« no previous file with comments | « ash/display/test_data/4c834a42.icc ('k') | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/chromeos/display_configurator.h
diff --git a/ui/display/chromeos/display_configurator.h b/ui/display/chromeos/display_configurator.h
index c6c849b4c0fb405abbdef5e0e05d4a93fcbe16c5..7a2449f3e56de61715d54f490333e072d18fe8d6 100644
--- a/ui/display/chromeos/display_configurator.h
+++ b/ui/display/chromeos/display_configurator.h
@@ -274,10 +274,6 @@ 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);
-
// Enables/disables virtual display.
int64_t AddVirtualDisplay(gfx::Size display_size);
bool RemoveVirtualDisplay(int64_t display_id);
@@ -289,6 +285,13 @@ class DISPLAY_EXPORT DisplayConfigurator : public NativeDisplayObserver {
configure_display_ = configure_display;
}
+ // 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 std::vector<float>& correction_matrix);
+
private:
class DisplayLayoutManagerImpl;
« no previous file with comments | « ash/display/test_data/4c834a42.icc ('k') | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698