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

Unified Diff: ui/ozone/platform/drm/gpu/drm_device.h

Issue 1945353004: Revert of ash: reset color management when new screens are hotplugged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/display_color_manager_chromeos_unittest.cc ('k') | ui/ozone/platform/drm/gpu/drm_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_device.h
diff --git a/ui/ozone/platform/drm/gpu/drm_device.h b/ui/ozone/platform/drm/gpu/drm_device.h
index b11167c46a5e0cd9bf30dc45552ea0b5785a598b..d0fb14d59fb04b81786a927f57066072d7c2dd21 100644
--- a/ui/ozone/platform/drm/gpu/drm_device.h
+++ b/ui/ozone/platform/drm/gpu/drm_device.h
@@ -160,6 +160,9 @@
uint32_t crtc_count,
const PageFlipCallback& callback);
+ // Set the gamma ramp for |crtc_id| to reflect the ramps in |lut|.
+ virtual bool SetGammaRamp(uint32_t crtc_id,
+ const std::vector<GammaRampRGBEntry>& lut);
virtual bool SetColorCorrection(
uint32_t crtc_id,
const std::vector<GammaRampRGBEntry>& degamma_lut,
@@ -189,9 +192,6 @@
class IOWatcher;
class PageFlipManager;
- bool SetGammaRamp(uint32_t crtc_id,
- const std::vector<GammaRampRGBEntry>& lut);
-
// Path to the DRM device (in sysfs).
const base::FilePath device_path_;
« no previous file with comments | « ash/display/display_color_manager_chromeos_unittest.cc ('k') | ui/ozone/platform/drm/gpu/drm_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698