Index: content/common/gpu/gpu_memory_manager.cc |
diff --git a/content/common/gpu/gpu_memory_manager.cc b/content/common/gpu/gpu_memory_manager.cc |
index 879e747be73c3e0606d5304d949acc8da1e0e407..6a8ea604c996652f6f3f7e6932023926cb99fe53 100644 |
--- a/content/common/gpu/gpu_memory_manager.cc |
+++ b/content/common/gpu/gpu_memory_manager.cc |
@@ -474,6 +474,13 @@ void GpuMemoryManager::Manage() { |
allocation.renderer_allocation.priority_cutoff_when_visible = |
GpuMemoryAllocationForRenderer::kPriorityCutoffAllowEverything; |
+ // Expermient to determine if aggressively discarding tiles on OS X |
vangelis
2012/12/08 01:07:02
typo: experiment
nit: Ideally you'll want to merg
|
+ // results in greater stability. |
+#if defined(OS_MACOSX) |
+ allocation.renderer_allocation.priority_cutoff_when_visible = |
+ GpuMemoryAllocationForRenderer::kPriorityCutoffAllowNiceToHave; |
+#endif |
+ |
// Set the state when backgrounded. |
bool allow_allocation_when_backgrounded = false; |
if (client_state->visible) { |