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

Unified Diff: cc/surfaces/compositor_frame_sink_support.h

Issue 2688043002: Retain references to surfaces from both active AND pending CompositorFrames (Closed)
Patch Set: 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 cfdd0a2539f4827ed51b505cdab76feaf74b06b8..d0c8b169a334da9dbb1c7ccb83100a9328fdaa20 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& reference_tracker_for_testing() const {
vmpstr 2017/02/10 00:24:40 just as a style thing (sorry I missed it in the pr
Fady Samuel 2017/02/10 00:55:30 Done.
+ 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') | cc/surfaces/compositor_frame_sink_support.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698