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

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

Issue 1071273002: NotForReview: Implement zero/one-copy texture for ozone freon using Intel DRM Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after ClientNativePixmap is introduced Created 5 years, 4 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_HOST_DRM_DISPLAY_HOST_MANAGER_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_DISPLAY_HOST_MANAGER_H_
6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_DISPLAY_HOST_MANAGER_H_ 6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_DISPLAY_HOST_MANAGER_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 // True if a display event is currently being processed on a worker thread. 126 // True if a display event is currently being processed on a worker thread.
127 bool task_pending_ = false; 127 bool task_pending_ = false;
128 128
129 // Keeps track of all the active DRM devices. 129 // Keeps track of all the active DRM devices.
130 std::set<base::FilePath> drm_devices_; 130 std::set<base::FilePath> drm_devices_;
131 131
132 // This is used to cache the primary DRM device until the channel is 132 // This is used to cache the primary DRM device until the channel is
133 // established. 133 // established.
134 scoped_ptr<DrmDeviceHandle> primary_drm_device_handle_; 134 scoped_ptr<DrmDeviceHandle> primary_drm_device_handle_;
135 base::ScopedFD primary_render_node_file_;
135 136
136 // Manages the VGEM device by itself and doesn't send it to GPU process. 137 // Manages the VGEM device by itself and doesn't send it to GPU process.
137 base::ScopedFD vgem_card_device_file_; 138 base::ScopedFD vgem_card_device_file_;
138 139
139 base::WeakPtrFactory<DrmDisplayHostManager> weak_ptr_factory_; 140 base::WeakPtrFactory<DrmDisplayHostManager> weak_ptr_factory_;
140 141
141 DISALLOW_COPY_AND_ASSIGN(DrmDisplayHostManager); 142 DISALLOW_COPY_AND_ASSIGN(DrmDisplayHostManager);
142 }; 143 };
143 144
144 } // namespace ui 145 } // namespace ui
145 146
146 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_DISPLAY_HOST_MANAGER_H_ 147 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_DISPLAY_HOST_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/host/drm_device_handle.cc ('k') | ui/ozone/platform/drm/host/drm_display_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698