Closed
Bug 705497
Opened 13 years ago
Closed 13 years ago
Firefox is unresponsive while incrementally decoding large down scaled image
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 698298
People
(Reporter: BenWa, Assigned: jrmuizel)
Details
(Whiteboard: [Snappy:P1])
I noticed that Firefox is very unresponsive when incrementally decoding the image from this page on 10.6 Mac nightly 11.0a1 (2011-11-26):
http://imgur.com/RX5UI
Image info gives: 3387px × 2408px (scaled to 610px × 434px)
STR:
1) Go to http://imgur.com/RX5UI
2) Use shift+reload
Assignee | ||
Comment 1•13 years ago
|
||
If you profile this I expect you will see that this is because of the redrawing and not the decoding. I had think I had a patch on some bug to improve this, I don't remember if I landed it though.
Comment 2•13 years ago
|
||
This is my most common source of jank. I should note that it's worst on Mac due to the high-quality scaling Quartz does.
Comment 3•13 years ago
|
||
A question. Do we end up redrawing the whole image, or just the newly-decoded area?
Comment 4•13 years ago
|
||
At least for JPEG, it's supposed to be only the newly-decoded area:
http://mxr.mozilla.org/mozilla-central/source/image/decoders/nsJPEGDecoder.cpp#666
Comment 5•13 years ago
|
||
Yes; the question is what our drawing code (and perhaps layout invalidation code) actually ends up doing....
Comment 6•13 years ago
|
||
Assigning P1 in light of comment 2, but if this is Mac-only maybe this is only a P2?
Whiteboard: [Snappy] → [Snappy:P1]
Comment 7•13 years ago
|
||
Assigning to Jeff to push this forward and/or reassign within GFX.
Assignee: nobody → jmuizelaar
Reporter | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•