Chromium Code Reviews| 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..bd6d6d701de1c53f9518b87e809bab0b855865ea 100644 |
| --- a/cc/debug/test_web_graphics_context_3d.h |
| +++ b/cc/debug/test_web_graphics_context_3d.h |
| @@ -205,6 +205,9 @@ class CC_EXPORT TestWebGraphicsContext3D : public FakeWebGraphicsContext3D { |
| virtual WebKit::WebGLId NextImageId(); |
| + size_t transfer_buffer_memory_used_bytes() const; |
|
reveman
2013/09/09 16:40:47
nit: GetMaxTransferBufferUsageBytes as this is no
kaanb
2013/09/09 18:20:43
Done.
|
| + void SetMaxTransferBufferUsageBytes(size_t max_transfer_buffer_usage_bytes); |
| + |
| protected: |
| struct Buffer { |
| Buffer(); |
| @@ -212,6 +215,7 @@ class CC_EXPORT TestWebGraphicsContext3D : public FakeWebGraphicsContext3D { |
| WebKit::WGC3Denum target; |
| scoped_ptr<uint8[]> pixels; |
| + size_t size; |
| private: |
| DISALLOW_COPY_AND_ASSIGN(Buffer); |