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

Unified Diff: components/exo/display.h

Issue 2404513002: exo: Implement zcr_linux_explicit_synchronization_v1
Patch Set: rebase, address review comments Created 4 years, 2 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: components/exo/display.h
diff --git a/components/exo/display.h b/components/exo/display.h
index d4f3b3d08065b522f902612fe7fabe6c23a806de..0b6c8200fd6ff7aaebc64b722e1e6a797a1ae884 100644
--- a/components/exo/display.h
+++ b/components/exo/display.h
@@ -21,6 +21,7 @@
#endif
namespace gfx {
+class GpuFence;
class Point;
}
@@ -61,6 +62,10 @@ class Display {
gfx::BufferFormat format,
const std::vector<gfx::NativePixmapPlane>& planes,
std::vector<base::ScopedFD>&& fds);
+
+ std::unique_ptr<gfx::GpuFence> CreateLinuxFence(
reveman 2016/10/12 19:20:19 nit: "// Creates a GpuFence for a Linux fence file
+ base::ScopedFD& fd
reveman 2016/10/12 19:20:19 nit: remove "&" as base::ScopedFD is preferably pa
+ );
#endif
// Creates a shell surface for an existing surface.

Powered by Google App Engine
This is Rietveld 408576698