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

Unified Diff: cc/output/managed_memory_policy.h

Issue 643993005: Remove limit on number of resources in cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: using MemoryUsage = int64_t; Created 6 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: cc/output/managed_memory_policy.h
diff --git a/cc/output/managed_memory_policy.h b/cc/output/managed_memory_policy.h
index ad0224b6c42ca4f55dba72e9b2ea166fb767162b..bca4b067612ba203105efe91094def28f2d2081b 100644
--- a/cc/output/managed_memory_policy.h
+++ b/cc/output/managed_memory_policy.h
@@ -13,21 +13,17 @@
namespace cc {
struct CC_EXPORT ManagedMemoryPolicy {
- static const size_t kDefaultNumResourcesLimit;
-
explicit ManagedMemoryPolicy(size_t bytes_limit_when_visible);
explicit ManagedMemoryPolicy(
const gpu::MemoryAllocation& allocation);
ManagedMemoryPolicy(
size_t bytes_limit_when_visible,
- gpu::MemoryAllocation::PriorityCutoff priority_cutoff_when_visible,
- size_t num_resources_limit);
+ gpu::MemoryAllocation::PriorityCutoff priority_cutoff_when_visible);
bool operator==(const ManagedMemoryPolicy&) const;
bool operator!=(const ManagedMemoryPolicy&) const;
size_t bytes_limit_when_visible;
gpu::MemoryAllocation::PriorityCutoff priority_cutoff_when_visible;
- size_t num_resources_limit;
static int PriorityCutoffToValue(
gpu::MemoryAllocation::PriorityCutoff priority_cutoff);

Powered by Google App Engine
This is Rietveld 408576698