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

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

Issue 1019213004: ozone: drm: Remove unused interface from DrmCursor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | ui/ozone/platform/drm/host/drm_cursor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 struct OZONE_EXPORT HardwareDisplayPlaneList { 31 struct OZONE_EXPORT HardwareDisplayPlaneList {
32 HardwareDisplayPlaneList(); 32 HardwareDisplayPlaneList();
33 ~HardwareDisplayPlaneList(); 33 ~HardwareDisplayPlaneList();
34 34
35 // This is the list of planes to be committed this time. 35 // This is the list of planes to be committed this time.
36 std::vector<HardwareDisplayPlane*> plane_list; 36 std::vector<HardwareDisplayPlane*> plane_list;
37 // This is the list of planes that was committed last time. 37 // This is the list of planes that was committed last time.
38 std::vector<HardwareDisplayPlane*> old_plane_list; 38 std::vector<HardwareDisplayPlane*> old_plane_list;
39 39
40 struct PageFlipInfo { 40 struct PageFlipInfo {
41 PageFlipInfo(uint32_t crtc_id, 41 PageFlipInfo(uint32_t crtc_id, uint32_t framebuffer, CrtcController* crtc);
42 uint32_t framebuffer,
43 CrtcController* crtc);
44 ~PageFlipInfo(); 42 ~PageFlipInfo();
45 43
46 uint32_t crtc_id; 44 uint32_t crtc_id;
47 uint32_t framebuffer; 45 uint32_t framebuffer;
48 CrtcController* crtc; 46 CrtcController* crtc;
49 47
50 struct Plane { 48 struct Plane {
51 Plane(int plane, 49 Plane(int plane,
52 int framebuffer, 50 int framebuffer,
53 const gfx::Rect& bounds, 51 const gfx::Rect& bounds,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 120
123 ScopedVector<HardwareDisplayPlane> planes_; 121 ScopedVector<HardwareDisplayPlane> planes_;
124 std::vector<uint32_t> crtcs_; 122 std::vector<uint32_t> crtcs_;
125 123
126 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManager); 124 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManager);
127 }; 125 };
128 126
129 } // namespace ui 127 } // namespace ui
130 128
131 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_ 129 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/platform/drm/host/drm_cursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698