OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_GPU_DRM_WINDOW_PROXY_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_ |
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 ~DrmWindowProxy(); | 22 ~DrmWindowProxy(); |
23 | 23 |
24 gfx::AcceleratedWidget widget() const { return widget_; } | 24 gfx::AcceleratedWidget widget() const { return widget_; } |
25 | 25 |
26 void SchedulePageFlip(const std::vector<OverlayPlane>& planes, | 26 void SchedulePageFlip(const std::vector<OverlayPlane>& planes, |
27 const SwapCompletionCallback& callback); | 27 const SwapCompletionCallback& callback); |
28 | 28 |
29 void GetVSyncParameters( | 29 void GetVSyncParameters( |
30 const gfx::VSyncProvider::UpdateVSyncCallback& callback); | 30 const gfx::VSyncProvider::UpdateVSyncCallback& callback); |
31 | 31 |
| 32 void GetOverlayBufferConfigurations(const OverlayParamCallback& callback); |
| 33 |
32 private: | 34 private: |
33 gfx::AcceleratedWidget widget_; | 35 gfx::AcceleratedWidget widget_; |
34 | 36 |
35 DrmThread* drm_thread_; | 37 DrmThread* drm_thread_; |
36 | 38 |
37 DISALLOW_COPY_AND_ASSIGN(DrmWindowProxy); | 39 DISALLOW_COPY_AND_ASSIGN(DrmWindowProxy); |
38 }; | 40 }; |
39 | 41 |
40 } // namespace ui | 42 } // namespace ui |
41 | 43 |
42 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_ | 44 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_ |
OLD | NEW |