Status: Accepted
Owner:
bsalo...@google.com
Labels: FromSkiaPerf Type-Defect Priority-Medium
New issue 3998 by
wang...@google.com: Repeated SkCanvas::ReadPixels(const
SkIRect&, SkBitmap*) fails for Ganesh in Fiddle
https://code.google.com/p/skia/issues/detail?id=3998
The attached Fiddle code repeatedly draws a rotated bitmap to the canvas,
and then copies the pixels of the canvas into that same bitmap. Basically,
whatever image is in the bitmap gets repeatedly rotated. The canvas and
the bitmap have the same size and type.
The code works as expected in the rasterer but not in Ganesh; if
NUM_ROTATES is set high enough and the canvas/bitmap is large enough, we'll
get the error:
"Skia Error: Unknown error: ---- failed to create texture for cache [1024
1024]"
This can be reproduced in Fiddle with canvas size 1024x1024 and NUM_ROTATES
= 17 or above. Also, enable the "use an input bitmap" option.
----------
This bug was reported via
fiddle.skia.org.
Visit this URL to see the details of the reported bug:
https://fiddle.skia.org/c/ea8dfbf781269c6334b7c1ab51a8e8e4.
Don't remove the above URL; it's used to match bugs to fiddles.
Attachments:
readpixels_texture_alloc_bug.txt 2.3 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings