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

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

Issue 10910180: Give Chrome OS more GPU memory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-submitting after a sync (previous try failed) 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
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 66f16c09a9cb32e259581036e44a2e76e686309c..14848119d1ba9bc53239d62189c200f070edc103 100644
--- a/content/common/gpu/gpu_memory_manager.cc
+++ b/content/common/gpu/gpu_memory_manager.cc
@@ -88,8 +88,12 @@ GpuMemoryManager::GpuMemoryManager(GpuMemoryManagerClient* client,
#if defined(OS_ANDROID)
bytes_available_gpu_memory_ = 64 * 1024 * 1024;
#else
+#if defined(OS_CHROMEOS)
+ bytes_available_gpu_memory_ = 1024 * 1024 * 1024;
+#else
bytes_available_gpu_memory_ = 256 * 1024 * 1024;
#endif
+#endif
}
}
« content/common/gpu/gpu_memory_manager.h ('K') | « content/common/gpu/gpu_memory_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698