| 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..af456f9fb64fa05969a9e9f2564a09dee8c67001 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
|
| @@ -158,6 +159,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();
|
|
|