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

Unified Diff: cc/output/compositor_frame_sink.h

Issue 2609253003: Remove ForceReclaimResources (Closed)
Patch Set: cleanup Created 3 years, 11 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: cc/output/compositor_frame_sink.h
diff --git a/cc/output/compositor_frame_sink.h b/cc/output/compositor_frame_sink.h
index 333363fdc761f2eeea9b5c9dfde05344ae7d91f9..d4147182f836b71e8364fba55cc107f126af44fe 100644
--- a/cc/output/compositor_frame_sink.h
+++ b/cc/output/compositor_frame_sink.h
@@ -40,9 +40,6 @@ class CC_EXPORT CompositorFrameSink {
struct Capabilities {
Capabilities() = default;
- // Whether ForceReclaimResources can be called to reclaim all resources
- // from the CompositorFrameSink.
- bool can_force_reclaim_resources = false;
// True if sync points for resources are needed when swapping delegated
// frames.
bool delegated_sync_points_required = true;
@@ -101,10 +98,6 @@ class CC_EXPORT CompositorFrameSink {
return shared_bitmap_manager_;
}
- // If supported, this causes a ReclaimResources for all resources that are
- // currently in use.
- virtual void ForceReclaimResources() {}
-
// Support for a pull-model where draws are requested by the output surface.
//
// CompositorFrameSink::Invalidate is called by the compositor to notify that

Powered by Google App Engine
This is Rietveld 408576698