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

Unified Diff: cc/surfaces/compositor_frame_sink_support.h

Issue 2715663007: Implement temporary reference assignment with DisplayCompositor. (Closed)
Patch Set: Rebase + fixes. Created 3 years, 10 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: cc/surfaces/compositor_frame_sink_support.h
diff --git a/cc/surfaces/compositor_frame_sink_support.h b/cc/surfaces/compositor_frame_sink_support.h
index ac60f6780ebb36dc1d9176e0456f9a44853c2f3a..980800b0e7aaf1fc0bf0e0c2b40a88440cd59473 100644
--- a/cc/surfaces/compositor_frame_sink_support.h
+++ b/cc/surfaces/compositor_frame_sink_support.h
@@ -7,6 +7,7 @@
#include <memory>
#include <unordered_set>
+#include <vector>
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
@@ -55,6 +56,7 @@ class CC_SURFACES_EXPORT CompositorFrameSinkSupport
void Satisfy(const SurfaceSequence& sequence);
void RequestCopyOfSurface(std::unique_ptr<CopyOutputRequest> request);
void ForceReclaimResources();
+ void ClaimTemporaryReference(const SurfaceId& surface_id);
private:
// Update surface references with SurfaceManager for current CompositorFrame

Powered by Google App Engine
This is Rietveld 408576698