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

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

Issue 11944002: Make names consistent in GpuMemoryManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test build Created 7 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
« no previous file with comments | « content/common/gpu/gpu_memory_manager.cc ('k') | content/common/gpu/gpu_memory_manager_client.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_client.h
diff --git a/content/common/gpu/gpu_memory_manager_client.h b/content/common/gpu/gpu_memory_manager_client.h
index 287c0fe65e64155116b0c6bda93fdc9821a4d5a1..87fba6ee0d2b6af0832b301842e15f141fd39213 100644
--- a/content/common/gpu/gpu_memory_manager_client.h
+++ b/content/common/gpu/gpu_memory_manager_client.h
@@ -84,14 +84,15 @@ class CONTENT_EXPORT GpuMemoryManagerClientState {
// Statistics about memory usage.
GpuManagedMemoryStats managed_memory_stats_;
- // When managed_memory_stats_.bytes_nice_to_have leaves the range
+ // When managed_memory_stats_.bytes_nicetohave leaves the range
// [low_, high_], then re-adjust memory limits.
- size_t bytes_nice_to_have_limit_low_;
- size_t bytes_nice_to_have_limit_high_;
+ size_t bytes_nicetohave_limit_low_;
+ size_t bytes_nicetohave_limit_high_;
- // The budget for this client.
- size_t bytes_budget_when_visible_;
- size_t bytes_budget_when_backgrounded_;
+ // The allocation for this client, used transiently during memory policy
+ // calculation.
+ size_t bytes_allocation_when_visible_;
+ size_t bytes_allocation_when_nonvisible_;
// Set to disable allocating a frontbuffer or to disable allocations
// for clients that don't have surfaces.
« no previous file with comments | « content/common/gpu/gpu_memory_manager.cc ('k') | content/common/gpu/gpu_memory_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698