Open
Bug 763120
Opened 13 years ago
Updated 2 years ago
Canvas text shadow performance is much worse than Safari on OS X
Categories
(Core :: Graphics, defect)
Tracking
()
REOPENED
mozilla16
People
(Reporter: jrmuizel, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
4.07 KB,
patch
|
BenWa
:
review+
|
Details | Diff | Splinter Review |
The following test:
http://jsperf.com/canvas-2d-filltext-performance
Shows us with 1,411, Safari with 17,142 and Chrome with 98,565
One of the big differences with us vs Safari is that Safari uses CoreGraphics ability to shadow any draw operation. Azure currently only does Shadows with a Surface, so we create a temporary surface and shadow that. Technically, this shouldn't be much different in performance but perhaps something is biting us.
Reporter | ||
Comment 1•13 years ago
|
||
We're getting by the usual CoreGraphics copy-on-write trouble. Safari avoids this and thus gets more performance.
Reporter | ||
Comment 2•13 years ago
|
||
This patch nearly doubles our performance.
Reporter | ||
Comment 3•13 years ago
|
||
Attachment #632001 -
Attachment is obsolete: true
Attachment #632556 -
Flags: review?(matt.woodrow)
Reporter | ||
Updated•13 years ago
|
Attachment #632556 -
Flags: review?(bgirard)
Updated•13 years ago
|
Attachment #632556 -
Flags: review?(bgirard) → review+
Reporter | ||
Updated•13 years ago
|
Attachment #632556 -
Flags: review?(matt.woodrow)
Reporter | ||
Comment 4•13 years ago
|
||
Target Milestone: --- → mozilla16
Comment 6•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•13 years ago
|
||
I'm reopening to leave as a metabug because we're still substantially worse.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•