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 #include "ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h" | 5 #include "ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h" |
6 | 6 |
7 #include <drm_fourcc.h> | 7 #include <drm_fourcc.h> |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 HardwareDisplayPlaneList::~HardwareDisplayPlaneList() { | 30 HardwareDisplayPlaneList::~HardwareDisplayPlaneList() { |
31 } | 31 } |
32 | 32 |
33 HardwareDisplayPlaneList::PageFlipInfo::PageFlipInfo(uint32_t crtc_id, | 33 HardwareDisplayPlaneList::PageFlipInfo::PageFlipInfo(uint32_t crtc_id, |
34 uint32_t framebuffer, | 34 uint32_t framebuffer, |
35 CrtcController* crtc) | 35 CrtcController* crtc) |
36 : crtc_id(crtc_id), framebuffer(framebuffer), crtc(crtc) { | 36 : crtc_id(crtc_id), framebuffer(framebuffer), crtc(crtc) { |
37 } | 37 } |
38 | 38 |
| 39 HardwareDisplayPlaneList::PageFlipInfo::PageFlipInfo( |
| 40 const PageFlipInfo& other) = default; |
| 41 |
39 HardwareDisplayPlaneList::PageFlipInfo::~PageFlipInfo() { | 42 HardwareDisplayPlaneList::PageFlipInfo::~PageFlipInfo() { |
40 } | 43 } |
41 | 44 |
42 HardwareDisplayPlaneList::PageFlipInfo::Plane::Plane(int plane, | 45 HardwareDisplayPlaneList::PageFlipInfo::Plane::Plane(int plane, |
43 int framebuffer, | 46 int framebuffer, |
44 const gfx::Rect& bounds, | 47 const gfx::Rect& bounds, |
45 const gfx::Rect& src_rect) | 48 const gfx::Rect& src_rect) |
46 : plane(plane), | 49 : plane(plane), |
47 framebuffer(framebuffer), | 50 framebuffer(framebuffer), |
48 bounds(bounds), | 51 bounds(bounds), |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 break; | 326 break; |
324 } else { | 327 } else { |
325 plane_z_order++; | 328 plane_z_order++; |
326 } | 329 } |
327 } | 330 } |
328 | 331 |
329 return format_supported; | 332 return format_supported; |
330 } | 333 } |
331 | 334 |
332 } // namespace ui | 335 } // namespace ui |
OLD | NEW |