OLD | NEW |
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_DRI_DRI_WRAPPER_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_WRAPPER_H_ |
6 #define UI_OZONE_PLATFORM_DRI_DRI_WRAPPER_H_ | 6 #define UI_OZONE_PLATFORM_DRI_DRI_WRAPPER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "ui/gfx/geometry/rect.h" |
| 14 #include "ui/gfx/geometry/rect_f.h" |
13 #include "ui/gfx/overlay_transform.h" | 15 #include "ui/gfx/overlay_transform.h" |
14 #include "ui/gfx/rect.h" | |
15 #include "ui/gfx/rect_f.h" | |
16 #include "ui/ozone/platform/dri/hardware_display_plane_manager.h" | 16 #include "ui/ozone/platform/dri/hardware_display_plane_manager.h" |
17 #include "ui/ozone/platform/dri/scoped_drm_types.h" | 17 #include "ui/ozone/platform/dri/scoped_drm_types.h" |
18 | 18 |
19 typedef struct _drmEventContext drmEventContext; | 19 typedef struct _drmEventContext drmEventContext; |
20 typedef struct _drmModeModeInfo drmModeModeInfo; | 20 typedef struct _drmModeModeInfo drmModeModeInfo; |
21 | 21 |
22 struct SkImageInfo; | 22 struct SkImageInfo; |
23 | 23 |
24 namespace ui { | 24 namespace ui { |
25 | 25 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 private: | 155 private: |
156 // Path to DRM device. | 156 // Path to DRM device. |
157 const char* device_path_; | 157 const char* device_path_; |
158 | 158 |
159 DISALLOW_COPY_AND_ASSIGN(DriWrapper); | 159 DISALLOW_COPY_AND_ASSIGN(DriWrapper); |
160 }; | 160 }; |
161 | 161 |
162 } // namespace ui | 162 } // namespace ui |
163 | 163 |
164 #endif // UI_OZONE_PLATFORM_DRI_DRI_WRAPPER_H_ | 164 #endif // UI_OZONE_PLATFORM_DRI_DRI_WRAPPER_H_ |
OLD | NEW |