diff options
author | Brian Osman <brianosman@google.com> | 2017-04-26 15:28:30 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-26 20:59:10 +0000 |
commit | b8a1392b021f480e292d66576e3da5198480845c (patch) | |
tree | 863a6a90ff65969b3c702215f0cd2712d355b746 /samplecode/SampleShaderText.cpp | |
parent | f6d7eb158e4148fb26349b12f4b7f7fd4d96e563 (diff) |
Fix uncached getROPixels from GPU images
We were allocating a local bitmap, but then attempting to read into an
uninitialized local pixmap. The only public API that funnels the caching
hint to this function is scalePixels, so I added a test (which previously
failed).
Bug: skia:
Change-Id: Ib4370350be664935b4c85e34c70b675e6d82ba64
Reviewed-on: https://skia-review.googlesource.com/14402
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'samplecode/SampleShaderText.cpp')
0 files changed, 0 insertions, 0 deletions