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

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

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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_CONTROLLER_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_CONTROLLER_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_CONTROLLER_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_CONTROLLER_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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 uint64_t GetTimeOfLastFlip() const; 141 uint64_t GetTimeOfLastFlip() const;
142 142
143 const std::vector<CrtcController*>& crtc_controllers() const { 143 const std::vector<CrtcController*>& crtc_controllers() const {
144 return crtc_controllers_.get(); 144 return crtc_controllers_.get();
145 } 145 }
146 146
147 scoped_refptr<DrmDevice> GetAllocationDrmDevice() const; 147 scoped_refptr<DrmDevice> GetAllocationDrmDevice() const;
148 148
149 private: 149 private:
150 base::ScopedPtrHashMap<DrmDevice*, HardwareDisplayPlaneList> 150 base::ScopedPtrHashMap<DrmDevice*, scoped_ptr<HardwareDisplayPlaneList>>
151 owned_hardware_planes_; 151 owned_hardware_planes_;
152 152
153 // Stores the CRTC configuration. This is used to identify monitors and 153 // Stores the CRTC configuration. This is used to identify monitors and
154 // configure them. 154 // configure them.
155 ScopedVector<CrtcController> crtc_controllers_; 155 ScopedVector<CrtcController> crtc_controllers_;
156 156
157 // Location of the controller on the screen. 157 // Location of the controller on the screen.
158 gfx::Point origin_; 158 gfx::Point origin_;
159 159
160 // The mode used by the last modesetting operation. 160 // The mode used by the last modesetting operation.
161 drmModeModeInfo mode_; 161 drmModeModeInfo mode_;
162 162
163 bool is_disabled_; 163 bool is_disabled_;
164 164
165 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayController); 165 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayController);
166 }; 166 };
167 167
168 } // namespace ui 168 } // namespace ui
169 169
170 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_CONTROLLER_H_ 170 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.cc ('k') | ui/ozone/platform/drm/gpu/screen_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698