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

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

Issue 1056793007: [3/4][Ozone-Drm] Use numeric ID to map to callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-all-hotplug
Patch Set: . 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
« no previous file with comments | « no previous file | ui/ozone/platform/drm/gpu/drm_device.cc » ('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_DRM_DEVICE_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 protected: 173 protected:
174 friend class base::RefCountedThreadSafe<DrmDevice>; 174 friend class base::RefCountedThreadSafe<DrmDevice>;
175 175
176 virtual ~DrmDevice(); 176 virtual ~DrmDevice();
177 177
178 scoped_ptr<HardwareDisplayPlaneManager> plane_manager_; 178 scoped_ptr<HardwareDisplayPlaneManager> plane_manager_;
179 179
180 private: 180 private:
181 class IOWatcher; 181 class IOWatcher;
182 class PageFlipManager;
182 183
183 // Path to DRM device. 184 // Path to DRM device.
184 const base::FilePath device_path_; 185 const base::FilePath device_path_;
185 186
186 // DRM device. 187 // DRM device.
187 base::File file_; 188 base::File file_;
188 189
189 // Helper thread to perform IO listener operations. 190 // Helper thread to perform IO listener operations.
190 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 191 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
191 192
192 // Watcher for |fd_| listening for page flip events. 193 // Watcher for |fd_| listening for page flip events.
193 scoped_refptr<IOWatcher> watcher_; 194 scoped_refptr<IOWatcher> watcher_;
194 195
196 scoped_refptr<PageFlipManager> page_flip_manager_;
197
195 DISALLOW_COPY_AND_ASSIGN(DrmDevice); 198 DISALLOW_COPY_AND_ASSIGN(DrmDevice);
196 }; 199 };
197 200
198 } // namespace ui 201 } // namespace ui
199 202
200 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_ 203 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/platform/drm/gpu/drm_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698