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

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

Issue 856423002: [Ozone-Dri] Decouple the IO helper thread from DriWrapper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gbm-wrapper
Patch Set: . 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/test/mock_dri_wrapper.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 2b401255a12ca151d88ebe08f49b0ae16c0da047..958b5a4796c710213c62a671928d2d266b4f62c6 100644
--- a/ui/ozone/platform/dri/ozone_platform_gbm.cc
+++ b/ui/ozone/platform/dri/ozone_platform_gbm.cc
@@ -152,7 +152,7 @@ class OzonePlatformGbm : public OzonePlatform {
void InitializeGPU() override {
gl_api_loader_.reset(new GlApiLoader());
// Async page flips are supported only on surfaceless mode.
- gbm_.reset(new GbmWrapper(kDefaultGraphicsCardPath, !use_surfaceless_));
+ gbm_.reset(new GbmWrapper(kDefaultGraphicsCardPath));
gbm_->Initialize();
buffer_generator_.reset(new GbmBufferGenerator());
screen_manager_.reset(
« no previous file with comments | « ui/ozone/platform/dri/ozone_platform_dri.cc ('k') | ui/ozone/platform/dri/test/mock_dri_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698