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

Unified Diff: cc/output/compositor_frame_sink.h

Issue 2888043004: [cc] Add and plumb CFS::DidNotProduceFrame. (Closed)
Patch Set: 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
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..f45851180b211da8aa49fa5eee7f798c17ea5d0b 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 BeginFrameDidNotProduceFrame(const BeginFrameAck& ack) = 0;
+
protected:
// Bound to the ContextProvider to hear about when it is lost and inform the
// |client_|.

Powered by Google App Engine
This is Rietveld 408576698