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

Unified Diff: cc/surfaces/surface_factory_client.h

Issue 2785103003: [cc] CompositorFrameSinkSupport: Defer BeginFrameAck of pending frames. (Closed)
Patch Set: Created 3 years, 9 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_factory_client.h
diff --git a/cc/surfaces/surface_factory_client.h b/cc/surfaces/surface_factory_client.h
index ea32344afcd0922ead3f79f948553c264b8b636e..e02655f7b8eb29d2a0f3de8df15c0a2b604f5fdc 100644
--- a/cc/surfaces/surface_factory_client.h
+++ b/cc/surfaces/surface_factory_client.h
@@ -29,6 +29,8 @@ class CC_SURFACES_EXPORT SurfaceFactoryClient {
virtual void WillDrawSurface(const LocalSurfaceId& local_surface_id,
const gfx::Rect& damage_rect) {}
+ virtual void PendingFrameActivated(const LocalSurfaceId& local_surface_id) {}
+
// This allows the SurfaceFactory to pass a BeginFrameSource to use.
virtual void SetBeginFrameSource(BeginFrameSource* begin_frame_source) = 0;
};
« cc/surfaces/compositor_frame_sink_support.cc ('K') | « cc/surfaces/surface_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698