Closed
Bug 935688
Opened 11 years ago
Closed 11 years ago
drawImage() is about 500x slower on firefox for android
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 884226
People
(Reporter: yury, Unassigned)
Details
(Whiteboard: [shumway])
Attachments
(2 files, 1 obsolete file)
The following test is executed 521x slower on Galaxy Tab III (46.91 msec/frame) than on Windows (0.09 msec/frame)
(Most of the flash games cache bitmaps and perform non-scaled pixel-snapped drawImage)
Reporter | ||
Comment 1•11 years ago
|
||
Attachment #828209 -
Attachment is obsolete: true
Updated•11 years ago
|
Component: Graphics, Panning and Zooming → Graphics
Product: Firefox for Android → Core
Comment 2•11 years ago
|
||
This test case is specific to drawing other canvases, not just images. The reason your test case is slow is because we have to read back the pixels via OpenGL and re-upload them as textures to the on-screen canvas. We might be able to cache this, but we aren't doing that right now.
I attached a modified version of your test case with the typical usage which is dramatically faster.
Comment 3•11 years ago
|
||
Looks like this is a dup of 884226. I agree that we should make this case faster by falling back to software and/or adding a flag.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•