DescriptionAdd onMemoryDump to GrContext
Adds an entry point to GrContext to allow enumeration and tracing of GPU resources
via the newly added SkTraceMemoryDump.
Plan is for Chrome to call this on each of its GrContexts.
Dumps both the total size of GPU resources, as well as the total purgeable size.
BUG=526261
Committed: https://skia.googlesource.com/skia/+/0a5fa484fd58d27088f8696bdc11c8cc8f2b4866
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 5
Patch Set 5 : Review feedback #
Total comments: 4
Patch Set 6 : Dump GrG #Patch Set 7 : GrGlRenderTarget dump #Patch Set 8 : Add missing GrGLTextureRenderTarget.cpp #Patch Set 9 : rebase #Patch Set 10 : int > string fix #
Total comments: 2
Patch Set 11 : Re-add missing file #
Total comments: 2
Patch Set 12 : rebase #Patch Set 13 : Tweaks to GrGLRenderTarget #
Total comments: 5
Patch Set 14 : this-> for member fns #Patch Set 15 : Small build fix #
Messages
Total messages: 30 (9 generated)
|