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

Unified Diff: ui/ozone/platform/drm/test/mock_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 ozone build 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
Index: ui/ozone/platform/drm/test/mock_drm_device.h
diff --git a/ui/ozone/platform/drm/test/mock_drm_device.h b/ui/ozone/platform/drm/test/mock_drm_device.h
index 5632b6e2043febaa94c3334316c08cb85664ffc6..cd9a2f225cf621a85f980b94a5866ff0872779c9 100644
--- a/ui/ozone/platform/drm/test/mock_drm_device.h
+++ b/ui/ozone/platform/drm/test/mock_drm_device.h
@@ -16,6 +16,7 @@
namespace ui {
class CrtcController;
+struct GammaRampRGBEntry;
// The real DrmDevice makes actual DRM calls which we can't use in unit tests.
class MockDrmDevice : public ui::DrmDevice {
@@ -108,6 +109,8 @@ class MockDrmDevice : public ui::DrmDevice {
bool CommitProperties(drmModePropertySet* properties,
uint32_t flags,
const PageFlipCallback& callback) override;
+ bool SetGammaRamp(uint32_t crtc_id,
+ const std::vector<GammaRampRGBEntry>& lut) override;
private:
~MockDrmDevice() override;
« no previous file with comments | « ui/ozone/platform/drm/host/drm_native_display_delegate.cc ('k') | ui/ozone/platform/drm/test/mock_drm_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698