OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_MUS_THREAD_PROXY_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_ |
6 #define UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_ | 6 #define UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 gfx::AcceleratedWidget widget, | 70 gfx::AcceleratedWidget widget, |
71 const std::vector<OverlayCheck_Params>& new_params) override; | 71 const std::vector<OverlayCheck_Params>& new_params) override; |
72 | 72 |
73 // Services needed by DrmDisplayHost | 73 // Services needed by DrmDisplayHost |
74 bool GpuConfigureNativeDisplay(int64_t display_id, | 74 bool GpuConfigureNativeDisplay(int64_t display_id, |
75 const ui::DisplayMode_Params& display_mode, | 75 const ui::DisplayMode_Params& display_mode, |
76 const gfx::Point& point) override; | 76 const gfx::Point& point) override; |
77 bool GpuDisableNativeDisplay(int64_t display_id) override; | 77 bool GpuDisableNativeDisplay(int64_t display_id) override; |
78 bool GpuGetHDCPState(int64_t display_id) override; | 78 bool GpuGetHDCPState(int64_t display_id) override; |
79 bool GpuSetHDCPState(int64_t display_id, ui::HDCPState state) override; | 79 bool GpuSetHDCPState(int64_t display_id, ui::HDCPState state) override; |
80 bool GpuSetGammaRamp(int64_t display_id, | 80 bool GpuSetColorCorrection( |
81 const std::vector<GammaRampRGBEntry>& lut) override; | 81 int64_t display_id, |
| 82 const std::vector<GammaRampRGBEntry>& degamma_lut, |
| 83 const std::vector<GammaRampRGBEntry>& gamma_lut, |
| 84 const std::vector<float>& correction_matrix) override; |
82 | 85 |
83 // Services needed by DrmWindowHost | 86 // Services needed by DrmWindowHost |
84 bool GpuDestroyWindow(gfx::AcceleratedWidget widget) override; | 87 bool GpuDestroyWindow(gfx::AcceleratedWidget widget) override; |
85 bool GpuCreateWindow(gfx::AcceleratedWidget widget) override; | 88 bool GpuCreateWindow(gfx::AcceleratedWidget widget) override; |
86 bool GpuWindowBoundsChanged(gfx::AcceleratedWidget widget, | 89 bool GpuWindowBoundsChanged(gfx::AcceleratedWidget widget, |
87 const gfx::Rect& bounds) override; | 90 const gfx::Rect& bounds) override; |
88 | 91 |
89 // DrmCursorProxy. | 92 // DrmCursorProxy. |
90 void CursorSet(gfx::AcceleratedWidget window, | 93 void CursorSet(gfx::AcceleratedWidget window, |
91 const std::vector<SkBitmap>& bitmaps, | 94 const std::vector<SkBitmap>& bitmaps, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 131 |
129 base::ThreadChecker on_window_server_thread_; | 132 base::ThreadChecker on_window_server_thread_; |
130 | 133 |
131 base::WeakPtrFactory<MusThreadProxy> weak_ptr_factory_; | 134 base::WeakPtrFactory<MusThreadProxy> weak_ptr_factory_; |
132 | 135 |
133 DISALLOW_COPY_AND_ASSIGN(MusThreadProxy); | 136 DISALLOW_COPY_AND_ASSIGN(MusThreadProxy); |
134 }; | 137 }; |
135 | 138 |
136 } // namespace ui | 139 } // namespace ui |
137 | 140 |
138 #endif // UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_ | 141 #endif // UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_ |
OLD | NEW |