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

Side by Side Diff: ui/ozone/platform/drm/host/drm_native_display_delegate.h

Issue 1182063002: Add support for more advanced color correction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@qcms-fixed-point-gamma
Patch Set: Rebase after quirks changes Created 4 years, 8 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_DRM_NATIVE_DISPLAY_DELEGATE_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_
6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ 6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void GetHDCPState(const ui::DisplaySnapshot& output, 43 void GetHDCPState(const ui::DisplaySnapshot& output,
44 const GetHDCPStateCallback& callback) override; 44 const GetHDCPStateCallback& callback) override;
45 void SetHDCPState(const ui::DisplaySnapshot& output, 45 void SetHDCPState(const ui::DisplaySnapshot& output,
46 ui::HDCPState state, 46 ui::HDCPState state,
47 const SetHDCPStateCallback& callback) override; 47 const SetHDCPStateCallback& callback) override;
48 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles( 48 std::vector<ui::ColorCalibrationProfile> GetAvailableColorCalibrationProfiles(
49 const ui::DisplaySnapshot& output) override; 49 const ui::DisplaySnapshot& output) override;
50 bool SetColorCalibrationProfile( 50 bool SetColorCalibrationProfile(
51 const ui::DisplaySnapshot& output, 51 const ui::DisplaySnapshot& output,
52 ui::ColorCalibrationProfile new_profile) override; 52 ui::ColorCalibrationProfile new_profile) override;
53 bool SetGammaRamp(const ui::DisplaySnapshot& output, 53 bool SetColorCorrection(const ui::DisplaySnapshot& output,
54 const std::vector<GammaRampRGBEntry>& lut) override; 54 const std::vector<GammaRampRGBEntry>& degamma_lut,
55 const std::vector<GammaRampRGBEntry>& gamma_lut,
56 const std::vector<float>& correction_matrix) override;
55 57
56 void AddObserver(NativeDisplayObserver* observer) override; 58 void AddObserver(NativeDisplayObserver* observer) override;
57 void RemoveObserver(NativeDisplayObserver* observer) override; 59 void RemoveObserver(NativeDisplayObserver* observer) override;
58 60
59 private: 61 private:
60 DrmDisplayHostManager* display_manager_; // Not owned. 62 DrmDisplayHostManager* display_manager_; // Not owned.
61 63
62 base::ObserverList<NativeDisplayObserver> observers_; 64 base::ObserverList<NativeDisplayObserver> observers_;
63 65
64 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate); 66 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate);
65 }; 67 };
66 68
67 } // namespace ui 69 } // namespace ui
68 70
69 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ 71 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/host/drm_gpu_platform_support_host.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