Descriptionoptimize the disable-caching case for SkImage::readPixels
If the client wants no caching, and we haven't already cached it, pass the
caller's dst-buffer directly down to the generator, avoiding the (previous)
extra memcpy.
BUG=skia:4594
Committed: https://skia.googlesource.com/skia/+/6868c3fccf65d297a64919a7cb74f09780c845c3
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Messages
Total messages: 11 (4 generated)
|