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

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

Issue 1914343003: Reland: ash: reset color management when new screens are hotplugged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rob's review Created 4 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/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 d0fb14d59fb04b81786a927f57066072d7c2dd21..b11167c46a5e0cd9bf30dc45552ea0b5785a598b 100644
--- a/ui/ozone/platform/drm/gpu/drm_device.h
+++ b/ui/ozone/platform/drm/gpu/drm_device.h
@@ -160,9 +160,6 @@ class DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
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,
@@ -192,6 +189,9 @@ class DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
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_;

Powered by Google App Engine
This is Rietveld 408576698