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

Unified Diff: ui/ozone/platform/drm/host/drm_overlay_manager.h

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: 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/host/drm_overlay_manager.h
diff --git a/ui/ozone/platform/drm/host/drm_overlay_manager.h b/ui/ozone/platform/drm/host/drm_overlay_manager.h
index e02ee30081cd2bd0ed56aec1e7f26e724e437488..b98a81351112f77238d828d38a0f060e9a9d7884 100644
--- a/ui/ozone/platform/drm/host/drm_overlay_manager.h
+++ b/ui/ozone/platform/drm/host/drm_overlay_manager.h
@@ -10,9 +10,12 @@
namespace ui {
+class DrmGpuPlatformSupportHost;
+
class DrmOverlayManager : public OverlayManagerOzone {
public:
- DrmOverlayManager(bool allow_surfaceless);
+ DrmOverlayManager(bool allow_surfaceless,
+ DrmGpuPlatformSupportHost* platform_support_host);
~DrmOverlayManager() override;
// OverlayManagerOzone:
@@ -21,9 +24,9 @@ class DrmOverlayManager : public OverlayManagerOzone {
bool CanShowPrimaryPlaneAsOverlay() override;
private:
+ DrmGpuPlatformSupportHost* platform_support_host_;
bool allow_surfaceless_;
-
- scoped_ptr<OverlayCandidatesOzone> candidates_;
+ bool is_supported_;
DISALLOW_COPY_AND_ASSIGN(DrmOverlayManager);
};

Powered by Google App Engine
This is Rietveld 408576698