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

Unified Diff: cc/surfaces/compositor_frame_sink_support.h

Issue 2688043002: Retain references to surfaces from both active AND pending CompositorFrames (Closed)
Patch Set: Added TODOs and addressed comments 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
« no previous file with comments | « no previous file | cc/surfaces/compositor_frame_sink_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cfdd0a2539f4827ed51b505cdab76feaf74b06b8..6bf64d145665756fd53c95ed92402d2f88adbb0e 100644
--- a/cc/surfaces/compositor_frame_sink_support.h
+++ b/cc/surfaces/compositor_frame_sink_support.h
@@ -46,6 +46,10 @@ class CC_SURFACES_EXPORT CompositorFrameSinkSupport
return surface_factory_.current_surface_for_testing();
}
+ const ReferencedSurfaceTracker& ReferenceTrackerForTesting() const {
+ return reference_tracker_;
+ }
+
void EvictFrame();
void SetNeedsBeginFrame(bool needs_begin_frame);
void SubmitCompositorFrame(const LocalSurfaceId& local_surface_id,
« no previous file with comments | « no previous file | cc/surfaces/compositor_frame_sink_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698