Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc

Issue 1871743003: ui: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h ('k') | ui/ozone/platform/drm/gpu/overlay_plane.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698