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

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

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 #ifndef UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <xf86drmMode.h> 10 #include <xf86drmMode.h>
(...skipping 20 matching lines...) Expand all
31 HardwareDisplayPlaneList(); 31 HardwareDisplayPlaneList();
32 ~HardwareDisplayPlaneList(); 32 ~HardwareDisplayPlaneList();
33 33
34 // This is the list of planes to be committed this time. 34 // This is the list of planes to be committed this time.
35 std::vector<HardwareDisplayPlane*> plane_list; 35 std::vector<HardwareDisplayPlane*> plane_list;
36 // This is the list of planes that was committed last time. 36 // This is the list of planes that was committed last time.
37 std::vector<HardwareDisplayPlane*> old_plane_list; 37 std::vector<HardwareDisplayPlane*> old_plane_list;
38 38
39 struct PageFlipInfo { 39 struct PageFlipInfo {
40 PageFlipInfo(uint32_t crtc_id, uint32_t framebuffer, CrtcController* crtc); 40 PageFlipInfo(uint32_t crtc_id, uint32_t framebuffer, CrtcController* crtc);
41 PageFlipInfo(const PageFlipInfo& other);
41 ~PageFlipInfo(); 42 ~PageFlipInfo();
42 43
43 uint32_t crtc_id; 44 uint32_t crtc_id;
44 uint32_t framebuffer; 45 uint32_t framebuffer;
45 CrtcController* crtc; 46 CrtcController* crtc;
46 47
47 struct Plane { 48 struct Plane {
48 Plane(int plane, 49 Plane(int plane,
49 int framebuffer, 50 int framebuffer,
50 const gfx::Rect& bounds, 51 const gfx::Rect& bounds,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 std::vector<scoped_ptr<HardwareDisplayPlane>> planes_; 142 std::vector<scoped_ptr<HardwareDisplayPlane>> planes_;
142 std::vector<uint32_t> crtcs_; 143 std::vector<uint32_t> crtcs_;
143 std::vector<uint32_t> supported_formats_; 144 std::vector<uint32_t> supported_formats_;
144 145
145 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManager); 146 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManager);
146 }; 147 };
147 148
148 } // namespace ui 149 } // namespace ui
149 150
150 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_ 151 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/fake_plane_info.cc ('k') | ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698