Index: content/common/gpu/client/context_provider_command_buffer.cc |
diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc |
index 2c5b4da55fc9cfb091e068ed760b147c013ffc2a..dc609f428232af4c880478dafb64824ca61bada4 100644 |
--- a/content/common/gpu/client/context_provider_command_buffer.cc |
+++ b/content/common/gpu/client/context_provider_command_buffer.cc |
@@ -264,6 +264,8 @@ void ContextProviderCommandBuffer::InitializeCapabilities() { |
caps.texture_usage = extension_set.count("GL_ANGLE_texture_usage") > 0; |
caps.texture_storage = extension_set.count("GL_EXT_texture_storage") > 0; |
+ caps.max_transfer_buffer_usage_bytes = context3d_->GetMappedMemoryLimit(); |
+ |
capabilities_ = caps; |
} |