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

Unified Diff: cc/debug/test_web_graphics_context_3d.h

Issue 49163004: cc: Reduce command buffer flushes related to creating texture ids. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add LayerTreeSettings::texture_id_allocation_chunk_size Created 7 years, 2 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/resources/resource_provider.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 b2dac2de81a7a760d7c70bd9e0e0d4844bf24f6d..565b58d07d1de47eb61431a436d203e69b03193f 100644
--- a/cc/debug/test_web_graphics_context_3d.h
+++ b/cc/debug/test_web_graphics_context_3d.h
@@ -221,10 +221,13 @@ class CC_EXPORT TestWebGraphicsContext3D : public FakeWebGraphicsContext3D {
static const WebKit::WebGLId kExternalTextureId;
virtual WebKit::WebGLId NextTextureId();
+ virtual void RetireTextureId(WebKit::WebGLId id);
virtual WebKit::WebGLId NextBufferId();
+ virtual void RetireBufferId(WebKit::WebGLId id);
virtual WebKit::WebGLId NextImageId();
+ virtual void RetireImageId(WebKit::WebGLId id);
size_t GetTransferBufferMemoryUsedBytes() const;
void SetMaxTransferBufferUsageBytes(size_t max_transfer_buffer_usage_bytes);
« no previous file with comments | « no previous file | cc/debug/test_web_graphics_context_3d.cc » ('j') | cc/resources/resource_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698