Index: webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
diff --git a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
index 54d7f17ab8b2d89a79141940e3573123b8ec9340..0248dff31f66fab2b82b3c997f357f8f8b25d833 100644 |
--- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
+++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
@@ -36,6 +36,10 @@ namespace gpu { |
class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl |
: public WebGraphicsContext3DImpl { |
public: |
+ enum MappedMemoryReclaimLimit { |
+ kNoLimit = 0, |
+ }; |
+ |
static scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> |
CreateViewContext( |
const blink::WebGraphicsContext3D::Attributes& attributes, |
@@ -54,6 +58,8 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl |
virtual ~WebGraphicsContext3DInProcessCommandBufferImpl(); |
+ size_t GetMappedMemoryLimit(); |
+ |
//---------------------------------------------------------------------- |
// WebGraphicsContext3D methods |
virtual bool makeContextCurrent(); |