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

Unified Diff: content/common/gpu/client/context_provider_command_buffer.h

Issue 2336043004: Android: Free GLHelper context ashmem when it makes sense (Closed)
Patch Set: address comments Created 4 years, 3 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
Index: content/common/gpu/client/context_provider_command_buffer.h
diff --git a/content/common/gpu/client/context_provider_command_buffer.h b/content/common/gpu/client/context_provider_command_buffer.h
index edc279bbdd027c375d49f31d6a793793cec5e56f..f74d2216249b3188291912821138833c5b7a3623 100644
--- a/content/common/gpu/client/context_provider_command_buffer.h
+++ b/content/common/gpu/client/context_provider_command_buffer.h
@@ -64,6 +64,7 @@ class CONTENT_EXPORT ContextProviderCommandBuffer
// Gives the GL internal format that should be used for calling CopyTexImage2D
// on the default framebuffer.
uint32_t GetCopyTextureInternalFormat();
+ void FreeUnusedSharedMemory();
danakj 2016/09/26 22:56:40 FWIW I think this should be part of ContextSupport
// cc::ContextProvider implementation.
bool BindToCurrentThread() override;

Powered by Google App Engine
This is Rietveld 408576698