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

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

Issue 11516014: Track managed memory usage in the command buffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve against HEAD Created 8 years 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') | content/common/gpu/gpu_memory_manager.cc » ('J')
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 0fb6c6e69baaa14e1cadb87cf16f57218b16cce8..e6e1e78bc4597ceb4fd3b4aab203cdd2ede624d1 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -53,9 +53,11 @@ class GpuCommandBufferMemoryTracker : public gpu::gles2::MemoryTracker {
channel->gpu_channel_manager()->gpu_memory_manager());
}
- void TrackMemoryAllocatedChange(size_t old_size, size_t new_size) {
+ void TrackMemoryAllocatedChange(size_t old_size,
+ size_t new_size,
+ gpu::gles2::MemoryTracker::Pool pool) {
gpu_memory_manager_tracking_group_->TrackMemoryAllocatedChange(
- old_size, new_size);
+ old_size, new_size, pool);
}
private:
« no previous file with comments | « no previous file | content/common/gpu/gpu_memory_manager.h » ('j') | content/common/gpu/gpu_memory_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698