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_FAKE_PLANE_INFO_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_FAKE_PLANE_INFO_H_ |
6 #define UI_OZONE_PLATFORM_DRM_GPU_FAKE_PLANE_INFO_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_FAKE_PLANE_INFO_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 | 13 |
14 namespace ui { | 14 namespace ui { |
15 | 15 |
16 struct FakePlaneInfo { | 16 struct FakePlaneInfo { |
17 FakePlaneInfo(uint32_t plane_id, uint32_t crtc_mask); | 17 FakePlaneInfo(uint32_t plane_id, uint32_t crtc_mask); |
18 FakePlaneInfo(uint32_t plane_id, | 18 FakePlaneInfo(uint32_t plane_id, |
19 uint32_t crtc_mask, | 19 uint32_t crtc_mask, |
20 const std::vector<uint32_t>& formats); | 20 const std::vector<uint32_t>& formats); |
| 21 FakePlaneInfo(const FakePlaneInfo& other); |
21 ~FakePlaneInfo(); | 22 ~FakePlaneInfo(); |
22 | 23 |
23 uint32_t id; | 24 uint32_t id; |
24 uint32_t allowed_crtc_mask; | 25 uint32_t allowed_crtc_mask; |
25 std::vector<uint32_t> allowed_formats; | 26 std::vector<uint32_t> allowed_formats; |
26 }; | 27 }; |
27 | 28 |
28 } // namespace ui | 29 } // namespace ui |
29 | 30 |
30 #endif // UI_OZONE_PLATFORM_DRM_GPU_FAKE_PLANE_INFO_H_ | 31 #endif // UI_OZONE_PLATFORM_DRM_GPU_FAKE_PLANE_INFO_H_ |
OLD | NEW |