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

Side by Side Diff: ui/ozone/platform/drm/host/drm_native_display_delegate.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_
6 #define UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_ 6 #define UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 void CreateFrameBuffer(const gfx::Size& size) override; 56 void CreateFrameBuffer(const gfx::Size& size) override;
57 void GetHDCPState(const DisplaySnapshot& output, 57 void GetHDCPState(const DisplaySnapshot& output,
58 const GetHDCPStateCallback& callback) override; 58 const GetHDCPStateCallback& callback) override;
59 void SetHDCPState(const DisplaySnapshot& output, 59 void SetHDCPState(const DisplaySnapshot& output,
60 HDCPState state, 60 HDCPState state,
61 const SetHDCPStateCallback& callback) override; 61 const SetHDCPStateCallback& callback) override;
62 std::vector<ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( 62 std::vector<ColorCalibrationProfile> GetAvailableColorCalibrationProfiles(
63 const DisplaySnapshot& output) override; 63 const DisplaySnapshot& output) override;
64 bool SetColorCalibrationProfile(const DisplaySnapshot& output, 64 bool SetColorCalibrationProfile(const DisplaySnapshot& output,
65 ColorCalibrationProfile new_profile) override; 65 ColorCalibrationProfile new_profile) override;
66 bool SetGammaRamp(const ui::DisplaySnapshot& output,
67 const std::vector<GammaRampRGBEntry>& lut) override;
66 void AddObserver(NativeDisplayObserver* observer) override; 68 void AddObserver(NativeDisplayObserver* observer) override;
67 void RemoveObserver(NativeDisplayObserver* observer) override; 69 void RemoveObserver(NativeDisplayObserver* observer) override;
68 70
69 // DeviceEventObserver overrides: 71 // DeviceEventObserver overrides:
70 void OnDeviceEvent(const DeviceEvent& event) override; 72 void OnDeviceEvent(const DeviceEvent& event) override;
71 73
72 // GpuPlatformSupportHost: 74 // GpuPlatformSupportHost:
73 void OnChannelEstablished( 75 void OnChannelEstablished(
74 int host_id, 76 int host_id,
75 scoped_refptr<base::SingleThreadTaskRunner> send_runner, 77 scoped_refptr<base::SingleThreadTaskRunner> send_runner,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 drm_devices_; 148 drm_devices_;
147 149
148 base::WeakPtrFactory<DrmNativeDisplayDelegate> weak_ptr_factory_; 150 base::WeakPtrFactory<DrmNativeDisplayDelegate> weak_ptr_factory_;
149 151
150 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate); 152 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate);
151 }; 153 };
152 154
153 } // namespace ui 155 } // namespace ui
154 156
155 #endif // UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_ 157 #endif // UI_OZONE_PLATFORM_DRM_HOST_NATIVE_DISPLAY_DELEGATE_HOST_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc ('k') | ui/ozone/platform/drm/host/drm_native_display_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698