Closed
Bug 645987
Opened 15 years ago
Closed 15 years ago
Canvas invalidation broken
Categories
(Core :: Graphics, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: cpearce, Assigned: roc)
References
Details
(Keywords: testcase)
Attachments
(1 file)
|
747 bytes,
text/html
|
Details |
See attached testcase. I'm updating a frame counter once per frame at 30 fps in a canvas, and it isn't updating 30 once for every draw operation; sometimes my counter stops incrementing. I'm guessing we're not invalidating on every draw operation?
This is a regression since Firefox 4 shipped.
Bug exists in:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.2a1pre) Gecko/20110328 Firefox/4.2a1pre
Bug doesn't exist in Firefox 4:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Comment 1•15 years ago
|
||
I'd guess this was caused by bug 622072.
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → roc
| Assignee | ||
Comment 2•15 years ago
|
||
It's the "canvas.width = canvas.width;" reset in there that causes the problem...
| Assignee | ||
Comment 3•15 years ago
|
||
Fixed by backout.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 4•15 years ago
|
||
Verified with Mozilla/5.0 (Windows NT 6.1; rv:2.2a1pre) Gecko/20110404 Firefox/4.2a1pre
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•