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

Unified Diff: content/renderer/gpu/render_widget_compositor_delegate.h

Issue 2444563002: cc: Remove "SwapBuffers" naming from LayerTreeHostSingleThreadClient (Closed)
Patch Set: 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: content/renderer/gpu/render_widget_compositor_delegate.h
diff --git a/content/renderer/gpu/render_widget_compositor_delegate.h b/content/renderer/gpu/render_widget_compositor_delegate.h
index 93fc8fb33d1b5c00447c2fac0d93434481e86d34..345b34b31ae1c45ed5d784797a82c9242c1f668e 100644
--- a/content/renderer/gpu/render_widget_compositor_delegate.h
+++ b/content/renderer/gpu/render_widget_compositor_delegate.h
@@ -56,9 +56,9 @@ class CONTENT_EXPORT RenderWidgetCompositorDelegate {
// Called by the compositor when page scale animation completed.
virtual void DidCompletePageScaleAnimation() = 0;
- // Notifies that the compositor has posted a swapbuffers operation to the GPU
- // process.
- virtual void DidCompleteSwapBuffers() = 0;
+ // Notifies that the last submitted CompositorFrame has been processed and
+ // will be displayed.
+ virtual void DidReceiveCompositorFrameAck() = 0;
// Called by the compositor to forward a proto that represents serialized
// compositor state.
@@ -67,15 +67,6 @@ class CONTENT_EXPORT RenderWidgetCompositorDelegate {
// Indicates whether the RenderWidgetCompositor is about to close.
virtual bool IsClosing() const = 0;
- // Called by the compositor in single-threaded mode when a swap is aborted.
- virtual void OnSwapBuffersAborted() = 0;
-
- // Called by the compositor in single-threaded mode when a swap completes.
- virtual void OnSwapBuffersComplete() = 0;
-
- // Called by the compositor in single-threaded mode when a swap is posted.
- virtual void OnSwapBuffersPosted() = 0;
-
// Requests that the client schedule a composite now, and calculate
// appropriate delay for potential future frame.
virtual void RequestScheduleAnimation() = 0;

Powered by Google App Engine
This is Rietveld 408576698