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

Unified Diff: cc/output/delegating_renderer.cc

Issue 2147873003: cc: Dedup IPCs to return resources to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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.h ('k') | cc/output/output_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/delegating_renderer.cc
diff --git a/cc/output/delegating_renderer.cc b/cc/output/delegating_renderer.cc
index 06aee773eac8d6de56741ae07ca339f51efb0ab2..bf47020753f26ae855e1d2350366c9f321fed240 100644
--- a/cc/output/delegating_renderer.cc
+++ b/cc/output/delegating_renderer.cc
@@ -10,7 +10,6 @@
#include "base/memory/ptr_util.h"
#include "base/trace_event/trace_event.h"
-#include "cc/output/compositor_frame_ack.h"
#include "cc/output/context_provider.h"
#include "cc/quads/draw_quad.h"
#include "cc/quads/render_pass.h"
@@ -106,9 +105,9 @@ void DelegatingRenderer::SwapBuffers(CompositorFrameMetadata metadata) {
output_surface_->SwapBuffers(std::move(compositor_frame));
}
-void DelegatingRenderer::ReceiveSwapBuffersAck(
- const CompositorFrameAck& ack) {
- resource_provider_->ReceiveReturnsFromParent(ack.resources);
+void DelegatingRenderer::ReclaimResources(
+ const ReturnedResourceArray& resources) {
+ resource_provider_->ReceiveReturnsFromParent(resources);
}
void DelegatingRenderer::DidChangeVisibility() {
« no previous file with comments | « cc/output/delegating_renderer.h ('k') | cc/output/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698