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

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

Issue 10702200: PyAuto test for GPU memory consumption (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/browser/gpu/gpu_process_host.cc ('k') | content/common/gpu/gpu_memory_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_memory_manager.h
diff --git a/content/common/gpu/gpu_memory_manager.h b/content/common/gpu/gpu_memory_manager.h
index e51559dd472b8696fbcd200ae81625d9471e9e57..ea9437c53a40be52c71c56ac64863018fa14b7bb 100644
--- a/content/common/gpu/gpu_memory_manager.h
+++ b/content/common/gpu/gpu_memory_manager.h
@@ -14,6 +14,7 @@
#include "base/cancelable_callback.h"
#include "base/memory/weak_ptr.h"
#include "content/common/content_export.h"
+#include "content/public/common/gpu_mem_stats.h"
class GpuCommandBufferStubBase;
@@ -58,6 +59,9 @@ class CONTENT_EXPORT GpuMemoryManager :
// queued delayed manage.
void ScheduleManage(bool immediate);
+ // Populate stats with statistics on memory usage
+ void GetMemStats(content::GpuMemStats& stats);
mmocny 2012/07/17 19:26:04 In the CL I posted, I proposed GpuMemoryManager pr
ccameron 2012/07/17 20:00:47 Yeah, I thought this would be the case -- I'll upd
+
private:
friend class GpuMemoryManagerTest;
void Manage();
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/gpu/gpu_memory_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698