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

Unified Diff: ui/ozone/platform/drm/host/drm_display_host_manager.h

Issue 1124063003: drm: GPU process manages VGEM fd. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/drm/host/drm_display_host_manager.h
diff --git a/ui/ozone/platform/drm/host/drm_display_host_manager.h b/ui/ozone/platform/drm/host/drm_display_host_manager.h
index fbebd177f7fd310307b58e92e814c36e35803bfc..7f553c3fa6b226cb0a291f98f76454e9ae0d3ec2 100644
--- a/ui/ozone/platform/drm/host/drm_display_host_manager.h
+++ b/ui/ozone/platform/drm/host/drm_display_host_manager.h
@@ -70,11 +70,13 @@ class DrmDisplayHostManager : public DeviceEventObserver,
private:
struct DisplayEvent {
DisplayEvent(DeviceEvent::ActionType action_type,
- const base::FilePath& path)
- : action_type(action_type), path(path) {}
+ const base::FilePath& path,
+ bool is_vgem)
+ : action_type(action_type), path(path), is_vgem(is_vgem) {}
DeviceEvent::ActionType action_type;
base::FilePath path;
+ bool is_vgem;
};
void OnUpdateNativeDisplays(

Powered by Google App Engine
This is Rietveld 408576698