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

Side by Side Diff: ui/ozone/platform/drm/gpu/drm_overlay_validator.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
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_device.h ('k') | ui/ozone/platform/drm/gpu/drm_thread.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 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 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_OVERLAY_VALIDATOR_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_OVERLAY_VALIDATOR_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_OVERLAY_VALIDATOR_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_OVERLAY_VALIDATOR_H_
7 7
8 #include "base/containers/mru_cache.h" 8 #include "base/containers/mru_cache.h"
9 #include "ui/ozone/platform/drm/gpu/overlay_plane.h" 9 #include "ui/ozone/platform/drm/gpu/overlay_plane.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 class DrmDevice;
14 class DrmWindow; 13 class DrmWindow;
15 class HardwareDisplayController;
16 class ScanoutBufferGenerator; 14 class ScanoutBufferGenerator;
17 struct OverlayCheck_Params; 15 struct OverlayCheck_Params;
18 16
19 class DrmOverlayValidator { 17 class DrmOverlayValidator {
20 public: 18 public:
21 DrmOverlayValidator(DrmWindow* window, 19 DrmOverlayValidator(DrmWindow* window,
22 ScanoutBufferGenerator* buffer_generator); 20 ScanoutBufferGenerator* buffer_generator);
23 ~DrmOverlayValidator(); 21 ~DrmOverlayValidator();
24 22
25 // Tests if configurations |params| are compatible with |window_| and finds 23 // Tests if configurations |params| are compatible with |window_| and finds
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 65
68 // List of all configurations which have been validated. 66 // List of all configurations which have been validated.
69 base::MRUCache<OverlayPlaneList, OverlayHintsList> overlay_hints_cache_; 67 base::MRUCache<OverlayPlaneList, OverlayHintsList> overlay_hints_cache_;
70 68
71 DISALLOW_COPY_AND_ASSIGN(DrmOverlayValidator); 69 DISALLOW_COPY_AND_ASSIGN(DrmOverlayValidator);
72 }; 70 };
73 71
74 } // namespace ui 72 } // namespace ui
75 73
76 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_OVERLAY_VALIDATOR_H_ 74 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_OVERLAY_VALIDATOR_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_device.h ('k') | ui/ozone/platform/drm/gpu/drm_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698