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

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

Issue 338593003: Revert 274879 "Revert 274326 "Lobotomize the GPU memory manager"" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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: trunk/src/content/common/gpu/gpu_memory_manager_client.h
===================================================================
--- trunk/src/content/common/gpu/gpu_memory_manager_client.h (revision 277055)
+++ trunk/src/content/common/gpu/gpu_memory_manager_client.h (working copy)
@@ -81,25 +81,6 @@
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 | « trunk/src/content/common/gpu/gpu_memory_manager.cc ('k') | trunk/src/content/common/gpu/gpu_memory_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698