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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.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 | « no previous file | content/common/gpu/gpu_memory_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_command_buffer_stub.cc
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index 707d50796adcf1929baef57e62d2fc465060959e..a0a79bc9f6ed05797650daa42ac75291ba1b6f83 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -56,6 +56,10 @@ class GpuCommandBufferMemoryTracker : public gpu::gles2::MemoryTracker {
old_size, new_size, pool);
}
+ virtual bool EnsureGPUMemoryAvailable(size_t size_needed) {
+ return tracking_group_->EnsureGPUMemoryAvailable(size_needed);
+ };
+
private:
~GpuCommandBufferMemoryTracker() {
}
« no previous file with comments | « no previous file | content/common/gpu/gpu_memory_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698