DescriptionUpdate GrTRecorder to preserve memory allocations
Rather than freeing almost all of its memory on calls to reset(), this
change updates GrTRecorder so it keeps around enough to satisfy the
storage requirements from last time, plus up to ~50% growth. This is
based on the assumption that subsequent draw calls require roughly the
same amount of memory.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/c4650ee786f1420f548bcc33b207b83244474351
Patch Set 1 #Patch Set 2 : #
Total comments: 4
Messages
Total messages: 7 (2 generated)
|