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

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

Issue 12017032: Add calls to EnsureGPUMemoryAvailable into GLES2DecoderImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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_unittest.cc ('k') | content/common/gpu/gpu_memory_tracking.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_memory_tracking.h
diff --git a/content/common/gpu/gpu_memory_tracking.h b/content/common/gpu/gpu_memory_tracking.h
index 6c4c1086d49f06997c342576e60011f93dc18a25..c111d31ff39d23a8d951b531da2881509f1b5c39 100644
--- a/content/common/gpu/gpu_memory_tracking.h
+++ b/content/common/gpu/gpu_memory_tracking.h
@@ -23,6 +23,7 @@ class CONTENT_EXPORT GpuMemoryTrackingGroup {
size_t old_size,
size_t new_size,
gpu::gles2::MemoryTracker::Pool tracking_pool);
+ bool EnsureGPUMemoryAvailable(size_t size_needed);
base::ProcessId GetPid() const {
return pid_;
}
« no previous file with comments | « content/common/gpu/gpu_memory_manager_unittest.cc ('k') | content/common/gpu/gpu_memory_tracking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698