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

Unified Diff: ui/ozone/platform/drm/gpu/drm_gpu_platform_support.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: 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/drm.gypi ('k') | ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_gpu_platform_support.h
diff --git a/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.h b/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.h
index 27e84e1251c8c7137eeb240465cdf42db309f0de..bd735a6f34d97ded2e39fcac1a4f822875262527 100644
--- a/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.h
+++ b/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.h
@@ -33,15 +33,18 @@ class DrmGpuDisplayManager;
class DrmSurfaceFactory;
class DrmWindow;
class ScreenManager;
+class ScanoutBufferGenerator;
struct DisplayMode_Params;
struct DisplaySnapshot_Params;
+struct OverlayCheck_Params;
struct GammaRampRGBEntry;
class DrmGpuPlatformSupport : public GpuPlatformSupport {
public:
DrmGpuPlatformSupport(DrmDeviceManager* drm_device_manager,
ScreenManager* screen_manager,
+ ScanoutBufferGenerator* buffer_generator,
scoped_ptr<DrmGpuDisplayManager> display_manager);
~DrmGpuPlatformSupport() override;
@@ -65,6 +68,9 @@ class DrmGpuPlatformSupport : public GpuPlatformSupport {
const gfx::Point& location,
int frame_delay_ms);
void OnCursorMove(gfx::AcceleratedWidget widget, const gfx::Point& location);
+ void OnCheckOverlayCapabilities(
+ gfx::AcceleratedWidget widget,
+ const std::vector<OverlayCheck_Params>& overlays);
// Display related IPC handlers.
void OnRefreshNativeDisplays();
@@ -87,6 +93,7 @@ class DrmGpuPlatformSupport : public GpuPlatformSupport {
IPC::Sender* sender_; // Not owned.
DrmDeviceManager* drm_device_manager_; // Not owned.
ScreenManager* screen_manager_; // Not owned.
+ ScanoutBufferGenerator* buffer_generator_; // Not owned.
scoped_ptr<DrmGpuDisplayManager> display_manager_;
ScopedVector<GpuPlatformSupport> handlers_;
« no previous file with comments | « ui/ozone/platform/drm/drm.gypi ('k') | ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698