diff options
author | 2015-11-24 11:44:47 -0800 | |
---|---|---|
committer | 2015-11-24 11:44:47 -0800 | |
commit | 6868c3fccf65d297a64919a7cb74f09780c845c3 (patch) | |
tree | c5b0a600040d811c6e7f149d883d03529c73304f /src/gpu/batches/GrNonAAStrokeRectBatch.cpp | |
parent | ca3e2400af91b94bcb3663c0b18c6a95db7c6829 (diff) |
optimize 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
Review URL: https://codereview.chromium.org/1473373002
Diffstat (limited to 'src/gpu/batches/GrNonAAStrokeRectBatch.cpp')
0 files changed, 0 insertions, 0 deletions