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

Unified Diff: ui/ozone/platform/dri/dri_wrapper.h

Issue 847213002: [Ozone-DRI] Re-enable GBM surface mode support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update tests Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/ozone/platform/dri/dri_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_wrapper.h
diff --git a/ui/ozone/platform/dri/dri_wrapper.h b/ui/ozone/platform/dri/dri_wrapper.h
index 00f9e5dde0511d36cacc98309fddad8fc03e2f33..0dfa86691363cdc21a7fca32d84cc669ed4ef790 100644
--- a/ui/ozone/platform/dri/dri_wrapper.h
+++ b/ui/ozone/platform/dri/dri_wrapper.h
@@ -37,7 +37,7 @@ class DriWrapper {
unsigned int /* seconds */,
unsigned int /* useconds */)> PageFlipCallback;
- DriWrapper(const char* device_path, bool software_mode);
+ DriWrapper(const char* device_path, bool use_sync_flips);
virtual ~DriWrapper();
// Open device.
@@ -163,10 +163,8 @@ class DriWrapper {
scoped_ptr<HardwareDisplayPlaneManager> plane_manager_;
- // If we're running in software mode this is true. In software mode we can't
- // use the async page flip callbacks, so we need to block until the kernel
- // responds to the page flip.
- bool software_mode_;
+ // If we need to block when performing page flips this is set to true.
+ bool use_sync_flips_;
private:
class IOWatcher;
« no previous file with comments | « no previous file | ui/ozone/platform/dri/dri_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698