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

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: add missing license header Created 5 years, 6 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/drm/ozone_platform_drm.cc ('k') | ui/ozone/public/overlay_candidates_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d7b85a393255b703e75ef4d0fa29312222225906..d70490eb45ad2d49a0e217b948421fe50c93c020 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_)));
@@ -185,7 +186,7 @@ class OzonePlatformGbm : public OzonePlatform {
screen_manager_.get(), drm_device_manager_.get()));
gpu_platform_support_.reset(new DrmGpuPlatformSupport(
drm_device_manager_.get(), screen_manager_.get(),
- display_manager.Pass()));
+ buffer_generator_.get(), display_manager.Pass()));
}
private:
« no previous file with comments | « ui/ozone/platform/drm/ozone_platform_drm.cc ('k') | ui/ozone/public/overlay_candidates_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698