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

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

Issue 1119113004: Reland "Load and apply a vcgt table from an ICC file to the internal display" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vcgt-rebase
Patch Set: Add third_party/qcms to ash BUILD.gn Created 5 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 | « ui/ozone/common/native_display_delegate_ozone.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 1e3d12e6ca9ddbfa946b930b6b5c352c87684066..02d88edfb2f57455acf89bbbda59198ba8cce2f0 100644
--- a/ui/ozone/platform/drm/gpu/drm_device.h
+++ b/ui/ozone/platform/drm/gpu/drm_device.h
@@ -34,6 +34,7 @@ class SingleThreadTaskRunner;
namespace ui {
class HardwareDisplayPlaneManager;
+struct GammaRampRGBEntry;
// Wraps DRM calls into a nice interface. Used to provide different
// implementations of the DRM calls. For the actual implementation the DRM API
@@ -160,6 +161,10 @@ 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 |lut|.
+ virtual bool SetGammaRamp(uint32_t crtc_id,
+ const std::vector<GammaRampRGBEntry>& lut);
+
// Drm master related
virtual bool SetMaster();
virtual bool DropMaster();
« no previous file with comments | « ui/ozone/common/native_display_delegate_ozone.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