Closed
Bug 578511
Opened 14 years ago
Closed 14 years ago
Aero Peek needs an API from Canvas to disable sync decoding of images
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: bholley, Assigned: bholley)
References
Details
(Whiteboard: [decodeondraw])
Attachments
(2 files)
4.94 KB,
patch
|
roc
:
review+
vlad
:
superreview+
|
Details | Diff | Splinter Review |
908 bytes,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
Canvas drawImage calls RenderDocument: http://mxr.mozilla.org/mozilla-central/source/content/canvas/src/nsCanvasRenderingContext2D.cpp#3675 RenderDocument forces sync decoding on all drawn images, which will take effect when image discarding is switched back on (bug 563088): http://mxr.mozilla.org/mozilla-central/source/layout/base/nsPresShell.cpp#5290 Unfortunately, this will slow down Aero Peek, because it has to sync decode the images for 20 pages. We want to let those images show up and render asynchronously.
Assignee | ||
Comment 1•14 years ago
|
||
Added a patch to make the flag available. Pushed to try as aa413bf0b2e0, and flagging roc for review. Rob - Can you whip up a quick aero-peek patch to add this flag in the right place?
Assignee | ||
Comment 2•14 years ago
|
||
this looks green on try.
Attachment #458108 -
Flags: review?(roc) → review+
Assignee | ||
Comment 3•14 years ago
|
||
Comment on attachment 458108 [details] [diff] [review] flag patch v1 oh hm I guess this needs sr too. Flagging vlad.
Attachment #458108 -
Flags: superreview?(vladimir)
Updated•14 years ago
|
Component: General → Canvas: 2D
Product: Firefox → Core
QA Contact: general → canvas.2d
Attachment #458108 -
Flags: superreview?(vladimir) → superreview+
Assignee | ||
Comment 4•14 years ago
|
||
This blocks turning discarding back on (bug 563088), which is a blocker. Nominating.
Updated•14 years ago
|
OS: Mac OS X → Windows 7
Hardware: x86 → All
Version: unspecified → Trunk
Updated•14 years ago
|
blocking2.0: --- → ?
Comment 5•14 years ago
|
||
Here's the frontend bits. Pop is clearly seen when loading the thumbnails. Not going to be seen for the live previews since we cache the thumbnail at full size and use it for the live preview.
Attachment #460333 -
Flags: review?(gavin.sharp)
Updated•14 years ago
|
Attachment #460333 -
Flags: review?(gavin.sharp) → review+
blocking2.0: ? → betaN+
Assignee | ||
Comment 6•14 years ago
|
||
Pushed to mozilla-central: http://hg.mozilla.org/mozilla-central/rev/ac9dca1f6260 http://hg.mozilla.org/mozilla-central/rev/2e3fbf618f08 Resolving fixed.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•