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

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

Issue 308743005: Lobotomize the GPU memory manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update OWNER Created 6 years, 7 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 3a941e2589806b67b0c4b362252d1fb28066c628..ab20f4169f5af8f4d146e10a222691fa4f62db76 100644
--- a/content/common/gpu/gpu_memory_manager_client.h
+++ b/content/common/gpu/gpu_memory_manager_client.h
@@ -81,25 +81,6 @@ class CONTENT_EXPORT GpuMemoryManagerClientState {
std::list<GpuMemoryManagerClientState*>::iterator list_iterator_;
bool list_iterator_valid_;
- // Statistics about memory usage.
- gpu::ManagedMemoryStats managed_memory_stats_;
- bool managed_memory_stats_received_;
-
- // When managed_memory_stats_.bytes_nicetohave leaves the range
- // [low_, high_], then re-adjust memory limits.
- uint64 bytes_nicetohave_limit_low_;
- uint64 bytes_nicetohave_limit_high_;
-
- // The allocation for this client, used transiently during memory policy
- // calculation.
- uint64 bytes_allocation_when_visible_;
-
- // The ideal allocation for this client for three performance levels, used
- // transiently during memory policy calculation.
- uint64 bytes_allocation_ideal_nicetohave_;
- uint64 bytes_allocation_ideal_required_;
- uint64 bytes_allocation_ideal_minimum_;
-
// Set to disable allocating a frontbuffer or to disable allocations
// for clients that don't have surfaces.
bool hibernated_;
« 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