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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "ui/ozone/platform/drm/common/scoped_drm_types.h" 14 #include "ui/ozone/platform/drm/common/scoped_drm_types.h"
15 15
16 namespace gfx {
17 class Rect;
18 }
19
20 namespace ui { 16 namespace ui {
21 17
22 class DrmDevice; 18 class DrmDevice;
23 19
24 class HardwareDisplayPlane { 20 class HardwareDisplayPlane {
25 public: 21 public:
26 enum Type { kDummy, kPrimary, kOverlay, kCursor }; 22 enum Type { kDummy, kPrimary, kOverlay, kCursor };
27 23
28 HardwareDisplayPlane(uint32_t plane_id, uint32_t possible_crtcs); 24 HardwareDisplayPlane(uint32_t plane_id, uint32_t possible_crtcs);
29 25
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 bool in_use_ = false; 58 bool in_use_ = false;
63 Type type_ = kPrimary; 59 Type type_ = kPrimary;
64 std::vector<uint32_t> supported_formats_; 60 std::vector<uint32_t> supported_formats_;
65 61
66 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlane); 62 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlane);
67 }; 63 };
68 64
69 } // namespace ui 65 } // namespace ui
70 66
71 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_H_ 67 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/gbm_surface_factory.h ('k') | ui/ozone/platform/drm/gpu/screen_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698