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

Unified Diff: cc/output/output_surface.h

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.cc ('k') | cc/output/output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index 5d10435dc075657ea1d240665ff83f2f998f23d4..a3f5d0ceb85348de2935a2014587df0d68721cdf 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -17,6 +17,7 @@
#include "cc/output/overlay_candidate_validator.h"
#include "cc/output/software_output_device.h"
#include "cc/output/vulkan_context_provider.h"
+#include "cc/resources/returned_resource.h"
#include "gpu/command_buffer/common/texture_in_use_response.h"
namespace base { class SingleThreadTaskRunner; }
@@ -35,7 +36,6 @@ class Transform;
namespace cc {
class CompositorFrame;
-class CompositorFrameAck;
struct ManagedMemoryPolicy;
class OutputSurfaceClient;
@@ -200,7 +200,7 @@ class CC_EXPORT OutputSurface : public base::trace_event::MemoryDumpProvider {
base::ThreadChecker client_thread_checker_;
void SetNeedsRedrawRect(const gfx::Rect& damage_rect);
- void ReclaimResources(const CompositorFrameAck* ack);
+ void ReclaimResources(const ReturnedResourceArray& resources);
void SetExternalStencilTest(bool enabled);
void DetachFromClientInternal();
« no previous file with comments | « cc/output/delegating_renderer.cc ('k') | cc/output/output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698