Fix skottie2movie after asyncRescaleAndReadPixels changes
TBR=reed Change-Id: I0cf49886b5cfee78a19ef4f521572db63fc477ba Reviewed-on: https://skia-review.googlesource.com/c/skia/+/350021 Reviewed-by: Florin Malita <fmalita@google.com> Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Florin Malita <fmalita@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
This commit is contained in:
parent
61b2e81c4f
commit
6356cb1904
@ -145,7 +145,7 @@ int main(int argc, char** argv) {
|
|||||||
};
|
};
|
||||||
surf->asyncRescaleAndReadPixels(info, {0, 0, info.width(), info.height()},
|
surf->asyncRescaleAndReadPixels(info, {0, 0, info.width(), info.height()},
|
||||||
SkSurface::RescaleGamma::kSrc,
|
SkSurface::RescaleGamma::kSrc,
|
||||||
kNone_SkFilterQuality,
|
SkImage::RescaleMode::kNearest,
|
||||||
read_pixels_cb, &asyncRec);
|
read_pixels_cb, &asyncRec);
|
||||||
context->submit();
|
context->submit();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user