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

Unified Diff: cc/output/managed_memory_policy.h

Issue 53633003: Do not give GPU memory to backgrounded compositors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove test Created 7 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
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/output/managed_memory_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/managed_memory_policy.h
diff --git a/cc/output/managed_memory_policy.h b/cc/output/managed_memory_policy.h
index 1a234f7da596b7144f652deb0aff54310f0952fa..ad0224b6c42ca4f55dba72e9b2ea166fb767162b 100644
--- a/cc/output/managed_memory_policy.h
+++ b/cc/output/managed_memory_policy.h
@@ -21,16 +21,12 @@ struct CC_EXPORT ManagedMemoryPolicy {
ManagedMemoryPolicy(
size_t bytes_limit_when_visible,
gpu::MemoryAllocation::PriorityCutoff priority_cutoff_when_visible,
- size_t bytes_limit_when_not_visible,
- gpu::MemoryAllocation::PriorityCutoff priority_cutoff_when_not_visible,
size_t num_resources_limit);
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 bytes_limit_when_not_visible;
- gpu::MemoryAllocation::PriorityCutoff priority_cutoff_when_not_visible;
size_t num_resources_limit;
static int PriorityCutoffToValue(
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/output/managed_memory_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698