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

Unified Diff: ui/ozone/platform/dri/ozone_platform_gbm.cc

Issue 821023003: [Ozone-DRI] Listen for swap events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@async-swap
Patch Set: Added comment 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 | « ui/ozone/platform/dri/ozone_platform_dri.cc ('k') | ui/ozone/platform/dri/page_flip_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/ozone_platform_gbm.cc
diff --git a/ui/ozone/platform/dri/ozone_platform_gbm.cc b/ui/ozone/platform/dri/ozone_platform_gbm.cc
index c32ec6196f3ca67aa06d6b1f0071c3ddbcabf16d..d63742e48ec88620f413cd06f372b40cac9d2fa1 100644
--- a/ui/ozone/platform/dri/ozone_platform_gbm.cc
+++ b/ui/ozone/platform/dri/ozone_platform_gbm.cc
@@ -148,7 +148,7 @@ class OzonePlatformGbm : public OzonePlatform {
}
void InitializeGPU() override {
- dri_.reset(new DriWrapper(kDefaultGraphicsCardPath));
+ dri_.reset(new DriWrapper(kDefaultGraphicsCardPath, false));
dri_->Initialize();
buffer_generator_.reset(new GbmBufferGenerator(dri_.get()));
screen_manager_.reset(
« no previous file with comments | « ui/ozone/platform/dri/ozone_platform_dri.cc ('k') | ui/ozone/platform/dri/page_flip_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698