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

Unified Diff: cc/output/compositor_frame_sink.h

Issue 2888043004: [cc] Add and plumb CFS::DidNotProduceFrame. (Closed)
Patch Set: address nits, rename to DidNotProduceFrame. Created 3 years, 7 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 | « cc/ipc/mojo_compositor_frame_sink.mojom ('k') | cc/output/compositor_frame_sink_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/compositor_frame_sink.h
diff --git a/cc/output/compositor_frame_sink.h b/cc/output/compositor_frame_sink.h
index f8b7a47b4e6c97fc06934a4a4062377f270e1e45..28b72581b5e47d7a379ada55dd5ca468341da83c 100644
--- a/cc/output/compositor_frame_sink.h
+++ b/cc/output/compositor_frame_sink.h
@@ -25,6 +25,7 @@ class GpuMemoryBufferManager;
namespace cc {
+struct BeginFrameAck;
class CompositorFrame;
class CompositorFrameSinkClient;
class LocalSurfaceId;
@@ -121,6 +122,10 @@ class CC_EXPORT CompositorFrameSink {
// processed in order to unthrottle the next frame.
virtual void SubmitCompositorFrame(CompositorFrame frame) = 0;
+ // Signals that a BeginFrame issued by the BeginFrameSource provided to the
+ // client did not lead to a CompositorFrame submission.
+ virtual void DidNotProduceFrame(const BeginFrameAck& ack) = 0;
+
protected:
// Bound to the ContextProvider to hear about when it is lost and inform the
// |client_|.
« no previous file with comments | « cc/ipc/mojo_compositor_frame_sink.mojom ('k') | cc/output/compositor_frame_sink_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698