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

Unified Diff: cc/surfaces/surface_manager.h

Issue 2854163003: [cc] Plumb BeginFrameAcks through SurfaceManager to DisplayScheduler. (Closed)
Patch Set: Track state per surface. 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/surfaces/surface_manager.h
diff --git a/cc/surfaces/surface_manager.h b/cc/surfaces/surface_manager.h
index 293f4c8af80a037f6c3660f08cd02cb4b640e161..a9202d8a2065ffab62efbd92fc63ae5941650f56 100644
--- a/cc/surfaces/surface_manager.h
+++ b/cc/surfaces/surface_manager.h
@@ -101,6 +101,10 @@ class CC_SURFACES_EXPORT SurfaceManager {
// Called when |surface| is being destroyed.
void SurfaceDiscarded(Surface* surface);
+ // Called when the state of a Surface's CompositorFrame producer has changed.
+ void SurfaceProducerStateChanged(Surface* surface,
+ Surface::ProducerState state);
+
// Require that the given sequence number must be satisfied (using
// SatisfySequence) before the given surface can be destroyed.
void RequireSequence(const SurfaceId& surface_id,

Powered by Google App Engine
This is Rietveld 408576698