Closed
Bug 1054196
Opened 11 years ago
Closed 10 years ago
drawImage on canvas is extremely slow.
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
WORKSFORME
| Tracking | Status | |
|---|---|---|
| firefox31 | --- | affected |
| firefox32 | --- | unaffected |
People
(Reporter: vincent_booman, Unassigned)
Details
(Keywords: regression)
Attachments
(1 file)
|
4.72 KB,
application/x-rar
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140716183446
Steps to reproduce:
I performed a basic canvas.drawImage to render a small portion of a 2048x2048 spritesheet.
Actual results:
The framerate dropped instantly to around 10 frames per second.
Expected results:
The framedrop should not have happened. It runs just fine on Firefox 30 and other browsers.
| Reporter | ||
Updated•11 years ago
|
OS: Windows 8.1 → Android
Hardware: x86_64 → ARM
| Reporter | ||
Comment 1•11 years ago
|
||
I've tested this on a Samsung Galaxy Tab 4, a Samsung Galaxy Note and a Galaxy S 2.
Updated•11 years ago
|
Component: Graphics, Panning and Zooming → Canvas: 2D
Product: Firefox for Android → Core
Version: Firefox 31 → 31 Branch
Comment 2•11 years ago
|
||
Hi, are you able to attach a small testcase? And just to be clear, the performance was good in 30 but regressed in 31?
| Reporter | ||
Comment 4•11 years ago
|
||
This rar contains a simple html page with a canvas that displays a plain image and an FPS counter.
Flags: needinfo?(vincent_booman)
| Reporter | ||
Comment 5•11 years ago
|
||
You are correct, the performance was just fine in Firefox 30.
Comment 6•11 years ago
|
||
Thanks for the reply, Vincent.
I get about 20fps on this test in 31, but on 32 and higher I consistently get 60fps. I would like to find out what regressed in 31 and also what fixed it in 32. I imagine we got a busted Skia update, or something.
Keywords: regression,
regressionwindow-wanted
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
status-firefox31:
--- → affected
status-firefox32:
--- → unaffected
Ever confirmed: true
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: regressionwindow-wanted
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•