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

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

Issue 10913240: NOT FOR REVIEW - gpu memmgr context lost prototype (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | ui/gl/gl_context.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.cc
diff --git a/content/common/gpu/gpu_memory_manager.cc b/content/common/gpu/gpu_memory_manager.cc
index 14848119d1ba9bc53239d62189c200f070edc103..fcf47e28a2347da86fe0777adc82b59bb7a195ad 100644
--- a/content/common/gpu/gpu_memory_manager.cc
+++ b/content/common/gpu/gpu_memory_manager.cc
@@ -315,8 +315,10 @@ void GpuMemoryManager::Manage() {
AssignMemoryAllocations(
&stub_memory_stats_for_last_manage_,
stubs_with_surface_background,
- GpuMemoryAllocation(0, GpuMemoryAllocation::kHasFrontbuffer),
- false);
+ GpuMemoryAllocation(0,
+ GpuMemoryAllocation::kHasFrontbuffer |
+ GpuMemoryAllocation::kHasBackbuffer),
+ true);
AssignMemoryAllocations(
&stub_memory_stats_for_last_manage_,
« no previous file with comments | « no previous file | ui/gl/gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698