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

Unified Diff: cc/output/output_surface_client.h

Issue 2151433004: cc: Make LayerTreeHostImpl::SwapBuffers not virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@removedidswap
Patch Set: novirtualswapbuffers: num_draws_ Created 4 years, 5 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/output/delegating_renderer_unittest.cc ('k') | cc/test/fake_output_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface_client.h
diff --git a/cc/output/output_surface_client.h b/cc/output/output_surface_client.h
index ff4ca346c74405ec49bd14323a08154357c7e61c..6fb4276dd9429ee7a5ab63dd7c2ac18aeff2b722 100644
--- a/cc/output/output_surface_client.h
+++ b/cc/output/output_surface_client.h
@@ -34,6 +34,11 @@ class CC_EXPORT OutputSurfaceClient {
virtual void SetBeginFrameSource(BeginFrameSource* source) = 0;
virtual void SetNeedsRedrawRect(const gfx::Rect& damage_rect) = 0;
+ // For LayerTreeHostImpl, this is more of a OnSwapBuffersAck from the display
+ // compositor that it received and will use the frame, unblocking it from
+ // producing more frames.
+ // For the display compositor this is literally a notification that the swap
+ // to the hardware is complete.
virtual void DidSwapBuffersComplete() = 0;
virtual void DidReceiveTextureInUseResponses(
const gpu::TextureInUseResponses& responses) = 0;
« no previous file with comments | « cc/output/delegating_renderer_unittest.cc ('k') | cc/test/fake_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698