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

Unified Diff: content/common/gpu/gpu_memory_manager.h

Issue 12212143: Distribute extra memory evenly among visible clients (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more missed test Created 7 years, 10 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 | « no previous file | content/common/gpu/gpu_memory_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_memory_manager.h
diff --git a/content/common/gpu/gpu_memory_manager.h b/content/common/gpu/gpu_memory_manager.h
index 895f7b9b3c8f6a595131421ad455bc034d3c003e..73f15fd98aab87776ef560fae19d201404bdd313 100644
--- a/content/common/gpu/gpu_memory_manager.h
+++ b/content/common/gpu/gpu_memory_manager.h
@@ -124,6 +124,7 @@ class CONTENT_EXPORT GpuMemoryManager :
// Compute the allocation for clients when visible and not visible.
void ComputeVisibleSurfacesAllocationsNonuniform();
void ComputeNonvisibleSurfacesAllocationsNonuniform();
+ void DistributeRemainingMemoryToVisibleSurfaces();
// Compute the budget for a client. Allow at most bytes_above_required_cap
// bytes above client_state's required level. Allow at most
« no previous file with comments | « no previous file | content/common/gpu/gpu_memory_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698