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 "base/macros.h" | 10 #include "base/macros.h" |
11 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
12 #include "ui/gfx/vsync_provider.h" | 12 #include "ui/gfx/vsync_provider.h" |
13 #include "ui/ozone/public/surface_ozone_egl.h" | 13 #include "ui/ozone/public/swap_completion_callback.h" |
14 | 14 |
15 namespace ui { | 15 namespace ui { |
16 | 16 |
17 class DrmThread; | 17 class DrmThread; |
18 struct OverlayPlane; | 18 struct OverlayPlane; |
19 | 19 |
20 class DrmWindowProxy { | 20 class DrmWindowProxy { |
21 public: | 21 public: |
22 DrmWindowProxy(gfx::AcceleratedWidget widget, DrmThread* drm_thread); | 22 DrmWindowProxy(gfx::AcceleratedWidget widget, DrmThread* drm_thread); |
23 ~DrmWindowProxy(); | 23 ~DrmWindowProxy(); |
(...skipping 10 matching lines...) Expand all Loading... |
34 gfx::AcceleratedWidget widget_; | 34 gfx::AcceleratedWidget widget_; |
35 | 35 |
36 DrmThread* drm_thread_; | 36 DrmThread* drm_thread_; |
37 | 37 |
38 DISALLOW_COPY_AND_ASSIGN(DrmWindowProxy); | 38 DISALLOW_COPY_AND_ASSIGN(DrmWindowProxy); |
39 }; | 39 }; |
40 | 40 |
41 } // namespace ui | 41 } // namespace ui |
42 | 42 |
43 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_ | 43 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_ |
OLD | NEW |