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

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

Issue 1585463002: Use sysroot for chromeos builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « net/third_party/nss/ssl/BUILD.gn ('k') | 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 virtual bool CommitProperties(drmModeAtomicReq* properties, 159 virtual bool CommitProperties(drmModeAtomicReq* properties,
160 uint32_t flags, 160 uint32_t flags,
161 uint32_t crtc_count, 161 uint32_t crtc_count,
162 const PageFlipCallback& callback); 162 const PageFlipCallback& callback);
163 163
164 // Set the gamma ramp for |crtc_id| to reflect the ramps in |lut|. 164 // Set the gamma ramp for |crtc_id| to reflect the ramps in |lut|.
165 virtual bool SetGammaRamp(uint32_t crtc_id, 165 virtual bool SetGammaRamp(uint32_t crtc_id,
166 const std::vector<GammaRampRGBEntry>& lut); 166 const std::vector<GammaRampRGBEntry>& lut);
167 167
168 #if defined(DRM_CLIENT_CAP_UNIVERSAL_PLANES)
168 virtual bool SetCapability(uint64_t capability, uint64_t value); 169 virtual bool SetCapability(uint64_t capability, uint64_t value);
170 #endif
169 171
170 // Drm master related 172 // Drm master related
171 virtual bool SetMaster(); 173 virtual bool SetMaster();
172 virtual bool DropMaster(); 174 virtual bool DropMaster();
173 175
174 int get_fd() const { return file_.GetPlatformFile(); } 176 int get_fd() const { return file_.GetPlatformFile(); }
175 177
176 base::FilePath device_path() const { return device_path_; } 178 base::FilePath device_path() const { return device_path_; }
177 179
178 HardwareDisplayPlaneManager* plane_manager() { return plane_manager_.get(); } 180 HardwareDisplayPlaneManager* plane_manager() { return plane_manager_.get(); }
(...skipping 21 matching lines...) Expand all
200 scoped_ptr<IOWatcher> watcher_; 202 scoped_ptr<IOWatcher> watcher_;
201 203
202 bool is_primary_device_; 204 bool is_primary_device_;
203 205
204 DISALLOW_COPY_AND_ASSIGN(DrmDevice); 206 DISALLOW_COPY_AND_ASSIGN(DrmDevice);
205 }; 207 };
206 208
207 } // namespace ui 209 } // namespace ui
208 210
209 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_ 211 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/BUILD.gn ('k') | ui/ozone/platform/drm/gpu/drm_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698