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

Side by Side Diff: ui/ozone/platform/drm/gpu/fake_plane_info.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 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 #include <drm_fourcc.h> 5 #include <drm_fourcc.h>
6 6
7 #include "ui/ozone/platform/drm/gpu/fake_plane_info.h" 7 #include "ui/ozone/platform/drm/gpu/fake_plane_info.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
11 FakePlaneInfo::FakePlaneInfo(uint32_t plane_id, uint32_t crtc_mask) 11 FakePlaneInfo::FakePlaneInfo(uint32_t plane_id, uint32_t crtc_mask)
12 : id(plane_id), allowed_crtc_mask(crtc_mask) { 12 : id(plane_id), allowed_crtc_mask(crtc_mask) {
13 allowed_formats.push_back(DRM_FORMAT_XRGB8888); 13 allowed_formats.push_back(DRM_FORMAT_XRGB8888);
14 } 14 }
15 15
16 FakePlaneInfo::FakePlaneInfo(uint32_t plane_id, 16 FakePlaneInfo::FakePlaneInfo(uint32_t plane_id,
17 uint32_t crtc_mask, 17 uint32_t crtc_mask,
18 const std::vector<uint32_t>& formats) 18 const std::vector<uint32_t>& formats)
19 : id(plane_id), allowed_crtc_mask(crtc_mask), allowed_formats(formats) {} 19 : id(plane_id), allowed_crtc_mask(crtc_mask), allowed_formats(formats) {}
20 20
21 FakePlaneInfo::FakePlaneInfo(const FakePlaneInfo& other) = default;
22
21 FakePlaneInfo::~FakePlaneInfo() {} 23 FakePlaneInfo::~FakePlaneInfo() {}
22 24
23 } // namespace ui 25 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/fake_plane_info.h ('k') | ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698