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 45c890854e095360e825875d8d6e93fb2f3c3847..b10ad976b45449d6b503ebf96beb4fdefa956428 100644 |
--- a/content/common/gpu/client/context_provider_command_buffer.cc |
+++ b/content/common/gpu/client/context_provider_command_buffer.cc |
@@ -119,6 +119,11 @@ uint32_t ContextProviderCommandBuffer::GetCopyTextureInternalFormat() { |
return GL_RGB; |
} |
+void ContextProviderCommandBuffer::FreeUnusedSharedMemory() { |
danakj
2016/09/13 22:44:58
Hm, idk about adding another way to free memory. W
|
+ if (bind_succeeded_) |
+ gles2_impl_->FreeUnusedSharedMemory(); |
+} |
+ |
bool ContextProviderCommandBuffer::BindToCurrentThread() { |
// This is called on the thread the context will be used. |
DCHECK(context_thread_checker_.CalledOnValidThread()); |