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

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

Issue 1661783002: Centralize all gbm ozone host IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 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
Index: ui/ozone/platform/drm/host/drm_overlay_candidates_host.h
diff --git a/ui/ozone/platform/drm/host/drm_overlay_candidates_host.h b/ui/ozone/platform/drm/host/drm_overlay_candidates_host.h
index 113de504269f6f082adc478baa6d1c33eac950e9..2797c2b25a5dd8f849bb8f8516feb206450973e8 100644
--- a/ui/ozone/platform/drm/host/drm_overlay_candidates_host.h
+++ b/ui/ozone/platform/drm/host/drm_overlay_candidates_host.h
@@ -1,20 +1,25 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_OZONE_PLATFORM_DRM_HOST_OVERLAY_CANDIDATES_H_
-#define UI_OZONE_PLATFORM_DRM_HOST_OVERLAY_CANDIDATES_H_
+#ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_OVERLAY_CANDIDATES_HOST_H_
+#define UI_OZONE_PLATFORM_DRM_HOST_DRM_OVERLAY_CANDIDATES_HOST_H_
#include <stdint.h>
+#include <deque>
+#include <map>
#include <vector>
+#include "base/containers/mru_cache.h"
#include "base/macros.h"
+#include "ui/ozone/platform/drm/host/gpu_thread_adapter.h"
+#include "ui/ozone/platform/drm/host/gpu_thread_observer.h"
#include "ui/ozone/public/overlay_candidates_ozone.h"
namespace ui {
-class DrmOverlayManagerCore;
+class DrmOverlayManager;
// This is an implementation of OverlayCandidatesOzone where the driver is asked
// about overlay capabilities via IPC. We have no way of querying abstract
@@ -29,14 +34,14 @@ class DrmOverlayManagerCore;
// configurations stored in the overlay manager.
class DrmOverlayCandidatesHost : public OverlayCandidatesOzone {
public:
- DrmOverlayCandidatesHost(DrmOverlayManagerCore* manager_core,
+ DrmOverlayCandidatesHost(DrmOverlayManager* manager_core,
gfx::AcceleratedWidget widget);
~DrmOverlayCandidatesHost() override;
void CheckOverlaySupport(OverlaySurfaceCandidateList* candidates) override;
private:
- DrmOverlayManagerCore* overlay_manager_; // Not owned.
+ DrmOverlayManager* overlay_manager_; // Not owned.
gfx::AcceleratedWidget widget_;
DISALLOW_COPY_AND_ASSIGN(DrmOverlayCandidatesHost);
@@ -44,4 +49,4 @@ class DrmOverlayCandidatesHost : public OverlayCandidatesOzone {
} // namespace ui
-#endif // UI_OZONE_PLATFORM_DRM_HOST_OVERLAY_CANDIDATES_H_
+#endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_OVERLAY_CANDIDATES_HOST_H_
« no previous file with comments | « ui/ozone/platform/drm/host/drm_gpu_platform_support_host.cc ('k') | ui/ozone/platform/drm/host/drm_overlay_candidates_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698