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

Unified Diff: cc/debug/test_web_graphics_context_3d.h

Issue 22900018: cc: Set the mapped memory reclaim limit for the renderer compositor on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the unittest Created 7 years, 3 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 | cc/debug/test_web_graphics_context_3d.cc » ('j') | cc/debug/test_web_graphics_context_3d.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/test_web_graphics_context_3d.h
diff --git a/cc/debug/test_web_graphics_context_3d.h b/cc/debug/test_web_graphics_context_3d.h
index 3dfc7ed272fc22c8c7490fea1ff101cbfe2e84cc..45a7c59e2bb30bd23ab68f22e9049e57c32a574d 100644
--- a/cc/debug/test_web_graphics_context_3d.h
+++ b/cc/debug/test_web_graphics_context_3d.h
@@ -205,6 +205,10 @@ class CC_EXPORT TestWebGraphicsContext3D : public FakeWebGraphicsContext3D {
virtual WebKit::WebGLId NextImageId();
+ size_t transfer_buffer_memory_used_bytes() const {
+ return transfer_buffer_memory_used_bytes_;
+ }
+
protected:
struct Buffer {
Buffer();
@@ -278,6 +282,7 @@ class CC_EXPORT TestWebGraphicsContext3D : public FakeWebGraphicsContext3D {
static Namespace* shared_namespace_;
base::WeakPtrFactory<TestWebGraphicsContext3D> weak_ptr_factory_;
+ size_t transfer_buffer_memory_used_bytes_;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/debug/test_web_graphics_context_3d.cc » ('j') | cc/debug/test_web_graphics_context_3d.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698