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

Unified Diff: blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h

Issue 2409923002: cc: Rename SwapBuffers on CompositorFrameSink to SubmitCompositorFrame (Closed)
Patch Set: swap-to-submit: rebase Created 4 years, 2 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: blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h
diff --git a/blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h b/blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h
index ccfe2ea0921e02dfe2123e8a7761dd1e51e3e530..d55f4da6d5bb432a7a9281a5675bec9a999e6f2b 100644
--- a/blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h
+++ b/blimp/client/core/compositor/blimp_compositor_frame_sink_proxy.h
@@ -25,9 +25,9 @@ class BlimpCompositorFrameSinkProxyClient {
virtual void ReclaimCompositorResources(
const cc::ReturnedResourceArray& resources) = 0;
- // Called when SwapCompositorFrame has been processed and another frame
+ // Called when SubmitCompositorFrame has been processed and another frame
// should be started.
- virtual void SwapCompositorFrameAck() = 0;
+ virtual void SubmitCompositorFrameAck() = 0;
};
// This class is meant to bounce CompositorFrames from the compositor thread's
@@ -46,7 +46,7 @@ class BlimpCompositorFrameSinkProxy {
// The implementation should take the contents of the compositor frame and
// return the referenced resources when the frame is no longer being drawn
// using BlimpCompositorFrameSinkProxyClient::ReclaimCompositorResources.
- virtual void SwapCompositorFrame(cc::CompositorFrame frame) = 0;
+ virtual void SubmitCompositorFrame(cc::CompositorFrame frame) = 0;
// Will be called when the use of the CompositorFrameSink is being terminated.
// No calls from this output surface will be made to the client after this

Powered by Google App Engine
This is Rietveld 408576698