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

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

Issue 1043233003: ozone: Add post message loop initialization hook (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
Index: ui/ozone/platform/drm/ozone_platform_gbm.cc
diff --git a/ui/ozone/platform/drm/ozone_platform_gbm.cc b/ui/ozone/platform/drm/ozone_platform_gbm.cc
index 4f5b3cf48788e2165ec58cf743054d87ef4c4434..f5f7f58fd673f3cb9159dcfdf947f186516f60c5 100644
--- a/ui/ozone/platform/drm/ozone_platform_gbm.cc
+++ b/ui/ozone/platform/drm/ozone_platform_gbm.cc
@@ -194,6 +194,9 @@ class OzonePlatformGbm : public OzonePlatform {
surface_factory_ozone_->InitializeGpu(drm_device_manager_.get(),
window_delegate_manager_.get());
+ }
+
+ void InitializeGPUPostMainLoop() override {
scoped_ptr<DrmGpuDisplayManager> ndd(new DrmGpuDisplayManager(
screen_manager_.get(), gbm_,
scoped_ptr<DrmDeviceGenerator>(new GbmDeviceGenerator())));

Powered by Google App Engine
This is Rietveld 408576698