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

Side by Side Diff: ui/ozone/platform/drm/host/drm_overlay_candidates_host.h

Issue 1438343002: Remove deprecated ScopedVector usage from ui/ozone and ui/events/ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove HDCI stuff Created 5 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 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_HOST_OVERLAY_CANDIDATES_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_OVERLAY_CANDIDATES_H_
6 #define UI_OZONE_PLATFORM_DRM_HOST_OVERLAY_CANDIDATES_H_ 6 #define UI_OZONE_PLATFORM_DRM_HOST_OVERLAY_CANDIDATES_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 base::MRUCacheNullDeletor<bool>, 92 base::MRUCacheNullDeletor<bool>,
93 OverlayMap> cache_; 93 OverlayMap> cache_;
94 // List of all OverlayCheck_Params currently in use by various candidates. If 94 // List of all OverlayCheck_Params currently in use by various candidates. If
95 // the value is true, it means the correspnding candidate has been promoted to 95 // the value is true, it means the correspnding candidate has been promoted to
96 // use overlay. 96 // use overlay.
97 typedef std::map<OverlayCheck_Params, bool, OverlayCompare> CompatibleParams; 97 typedef std::map<OverlayCheck_Params, bool, OverlayCompare> CompatibleParams;
98 CompatibleParams in_use_compatible_params_; 98 CompatibleParams in_use_compatible_params_;
99 // Used to get best possible approximation of plane usage in GPU side. We use 99 // Used to get best possible approximation of plane usage in GPU side. We use
100 // this to make sure we don't handle more candidates than what we can support 100 // this to make sure we don't handle more candidates than what we can support
101 // in GPU side. 101 // in GPU side.
102 ScopedVector<HardwareDisplayPlaneProxy> hardware_plane_proxy_; 102 std::vector<scoped_ptr<HardwareDisplayPlaneProxy>> hardware_plane_proxy_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(DrmOverlayCandidatesHost); 104 DISALLOW_COPY_AND_ASSIGN(DrmOverlayCandidatesHost);
105 }; 105 };
106 106
107 } // namespace ui 107 } // namespace ui
108 108
109 #endif // UI_OZONE_PLATFORM_DRM_HOST_OVERLAY_CANDIDATES_H_ 109 #endif // UI_OZONE_PLATFORM_DRM_HOST_OVERLAY_CANDIDATES_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/host/drm_display_host_manager.cc ('k') | ui/ozone/platform/drm/host/drm_overlay_candidates_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698