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

Unified Diff: ui/ozone/platform/drm/gpu/drm_device.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: Fix oshima@ feedback 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/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 546311c5e59589a61b5edaf3fbc168a52782e878..ce6e5f210bd769ca93b620cf09e3b07a1e8c0cea 100644
--- a/ui/ozone/platform/drm/gpu/drm_device.h
+++ b/ui/ozone/platform/drm/gpu/drm_device.h
@@ -158,6 +158,12 @@ class OZONE_EXPORT DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
uint32_t flags,
const PageFlipCallback& callback);
+ // Set the gamma ramp for |crtc_id| to reflect the ramps in |r|, |g| and |b|.
+ virtual bool SetGammaRamp(uint32_t crtc_id,
+ const std::vector<uint16_t>& r,
+ const std::vector<uint16_t>& g,
+ const std::vector<uint16_t>& b);
+
// Drm master related
virtual bool SetMaster();
virtual bool DropMaster();

Powered by Google App Engine
This is Rietveld 408576698