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

Unified Diff: ui/ozone/platform/dri/scanout_surface.h

Issue 371813004: ozone: gbm: Add overlay support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/dri/scanout_surface.h
diff --git a/ui/ozone/platform/dri/scanout_surface.h b/ui/ozone/platform/dri/scanout_surface.h
index d362ae18e812e306ee500e4f4f651bd83d322c19..cd4b2bbbc937b22765c1ed04ababd516f20739c9 100644
--- a/ui/ozone/platform/dri/scanout_surface.h
+++ b/ui/ozone/platform/dri/scanout_surface.h
@@ -59,6 +59,9 @@ class ScanoutSurface {
// Returns true if the initialization is successful, false otherwise.
virtual bool Initialize() = 0;
+ // Prepare the surface to be displayed.
+ virtual void PreSwapBuffers() = 0;
+
// Swaps the back buffer with the front buffer.
virtual void SwapBuffers() = 0;

Powered by Google App Engine
This is Rietveld 408576698