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

Unified Diff: ui/ozone/platform/drm/gpu/drm_window.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: rebase 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/gpu/drm_window.h
diff --git a/ui/ozone/platform/drm/gpu/drm_window.h b/ui/ozone/platform/drm/gpu/drm_window.h
index 1164f177d6093aef5b82b747d44678c31b6c8a4a..36d3b5b7598333a3f29a75a0e92ba1b6dc66c7bc 100644
--- a/ui/ozone/platform/drm/gpu/drm_window.h
+++ b/ui/ozone/platform/drm/gpu/drm_window.h
@@ -29,6 +29,8 @@ namespace ui {
class DrmBuffer;
class DrmDeviceManager;
class HardwareDisplayController;
+struct OverlayCheck_Params;
+class ScanoutBufferGenerator;
class ScreenManager;
// A delegate of the platform window (DrmWindow) on the GPU process. This is
@@ -84,6 +86,8 @@ class OZONE_EXPORT DrmWindow {
void QueueOverlayPlane(const OverlayPlane& plane);
bool SchedulePageFlip(bool is_sync, const SwapCompletionCallback& callback);
+ bool TestPageFlip(const std::vector<OverlayCheck_Params>& planes,
+ ScanoutBufferGenerator* buffer_generator);
// Returns the last buffer associated with this window.
const OverlayPlane* GetLastModesetBuffer();

Powered by Google App Engine
This is Rietveld 408576698