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

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

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_tracking.h ('k') | gpu/command_buffer/common/gles2_cmd_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_memory_tracking.cc
diff --git a/content/common/gpu/gpu_memory_tracking.cc b/content/common/gpu/gpu_memory_tracking.cc
index a40f9735246fdc062ec85162ae384c13b3744296..de0e7f0c3f9b76bf8af20e263b1a42bb4e974cb9 100644
--- a/content/common/gpu/gpu_memory_tracking.cc
+++ b/content/common/gpu/gpu_memory_tracking.cc
@@ -31,4 +31,9 @@ void GpuMemoryTrackingGroup::TrackMemoryAllocatedChange(
this, old_size, new_size, tracking_pool);
}
+bool GpuMemoryTrackingGroup::EnsureGPUMemoryAvailable(size_t size_needed) {
+ return memory_manager_->EnsureGPUMemoryAvailable(size_needed);
+}
+
+
} // namespace content
« no previous file with comments | « content/common/gpu/gpu_memory_tracking.h ('k') | gpu/command_buffer/common/gles2_cmd_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698