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

Unified Diff: blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h

Issue 2402173002: cc: Get rid of PostSwapBuffersComplete. (Closed)
Patch Set: postswap: fix-blimp-unittest-post-swap-acks 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: blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h
diff --git a/blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h b/blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h
index ab995c2913d72d55a7a481de9030acdbc41db75c..ccfe2ea0921e02dfe2123e8a7761dd1e51e3e530 100644
--- a/blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h
+++ b/blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h
@@ -24,6 +24,10 @@ class BlimpCompositorFrameSinkProxyClient {
// compositor frame.
virtual void ReclaimCompositorResources(
const cc::ReturnedResourceArray& resources) = 0;
+
+ // Called when SwapCompositorFrame has been processed and another frame
+ // should be started.
+ virtual void SwapCompositorFrameAck() = 0;
};
// This class is meant to bounce CompositorFrames from the compositor thread's

Powered by Google App Engine
This is Rietveld 408576698