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

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

Issue 1157793004: ozone: Add overlay candidate implementation that queries support via IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix leak, other comments Created 5 years, 7 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 03b1cc72da3a427f4bac700e2ea01fd7b03d82d8..88e5cae840883963993e4f2374b6bd14bd481d7c 100644
--- a/ui/ozone/platform/drm/ozone_platform_gbm.cc
+++ b/ui/ozone/platform/drm/ozone_platform_gbm.cc
@@ -158,7 +158,8 @@ class OzonePlatformGbm : public OzonePlatform {
display_manager_.reset(new DrmDisplayHostManager(
gpu_platform_support_host_.get(), device_manager_.get()));
cursor_factory_ozone_.reset(new BitmapCursorFactoryOzone);
- overlay_manager_.reset(new DrmOverlayManager(use_surfaceless_));
+ overlay_manager_.reset(new DrmOverlayManager(
+ use_surfaceless_, gpu_platform_support_host_.get()));
#if defined(USE_XKBCOMMON)
KeyboardLayoutEngineManager::SetKeyboardLayoutEngine(make_scoped_ptr(
new XkbKeyboardLayoutEngine(xkb_evdev_code_converter_)));
@@ -184,7 +185,8 @@ class OzonePlatformGbm : public OzonePlatform {
scoped_ptr<DrmGpuDisplayManager> ndd(new DrmGpuDisplayManager(
screen_manager_.get(), drm_device_manager_.get()));
gpu_platform_support_.reset(new DrmGpuPlatformSupport(
- drm_device_manager_.get(), screen_manager_.get(), ndd.Pass()));
+ drm_device_manager_.get(), screen_manager_.get(),
+ buffer_generator_.get(), ndd.Pass()));
}
private:

Powered by Google App Engine
This is Rietveld 408576698