Chromium Code Reviews| 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..c636060f675c15e148e3b28752dc1aae9c9baedc 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, |
| + std::vector<uint16_t> r, |
|
spang
2015/04/17 17:04:51
const &
(or if you do want it to copy, you should
robert.bradford
2015/04/17 17:17:48
Whoops. Fixed now, thanks for checking this, I did
|
| + std::vector<uint16_t> g, |
| + std::vector<uint16_t> b); |
| + |
| // Drm master related |
| virtual bool SetMaster(); |
| virtual bool DropMaster(); |