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

Unified 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, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/ozone/platform/drm/gpu/drm_device.cc » ('j') | ui/ozone/platform/drm/gpu/drm_device.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_device.h
diff --git a/ui/ozone/platform/drm/gpu/drm_device.h b/ui/ozone/platform/drm/gpu/drm_device.h
index 546311c5e59589a61b5edaf3fbc168a52782e878..fa9951231b31422ef07c1335a4b991ddf18ac6dc 100644
--- a/ui/ozone/platform/drm/gpu/drm_device.h
+++ b/ui/ozone/platform/drm/gpu/drm_device.h
@@ -177,6 +177,7 @@ class OZONE_EXPORT DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
private:
class IOWatcher;
+ class PageFlipManager;
// Path to DRM device.
const base::FilePath device_path_;
@@ -190,6 +191,8 @@ class OZONE_EXPORT DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
// Watcher for |fd_| listening for page flip events.
scoped_refptr<IOWatcher> watcher_;
+ scoped_refptr<PageFlipManager> page_flip_manager_;
+
DISALLOW_COPY_AND_ASSIGN(DrmDevice);
};
« no previous file with comments | « no previous file | ui/ozone/platform/drm/gpu/drm_device.cc » ('j') | ui/ozone/platform/drm/gpu/drm_device.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698