Closed
Bug 777430
Opened 13 years ago
Closed 13 years ago
Talos tsvgr_opacity regression when SVG display lists enabled
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
(Keywords: perf)
Attachments
(1 file)
1.28 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
Testing locally, small-group-opacity-2500.svg seems to take 5x or so longer to render when SVG display lists are enabled. I thought at first this must be because the group opacity optimization wasn't working correctly with display lists, but in fact we can't even use that optimization for this test, so that's not it. Needs some investigation.
![]() |
Assignee | |
Comment 1•13 years ago
|
||
Attachment #647771 -
Flags: review?(roc)
![]() |
Assignee | |
Comment 2•13 years ago
|
||
For the record, the problem is that when SDL is enabled, we create an nsDisplayOpacity item to handle the group opacity on all the rects. When painting through that we end up under BasicLayerThebes::PaintThebes where we call BasicLayerManager::PushGroupForLayer, which calls gfxContext::PushGroupAndCopyBackground. The PushGroupAndCopyBackground call spends virtually all its time in _moz_cairo_paint is much more expensive than the PushGroup call (which doesn't call _moz_cairo_paint) we make in the SDL-disabled path. In fact it takes up 80% of the paint time. A PushGroup call in comparison is virtually free.
Attachment #647771 -
Flags: review?(roc) → review+
![]() |
Assignee | |
Comment 3•13 years ago
|
||
Target Milestone: --- → mozilla17
![]() |
Assignee | |
Comment 4•13 years ago
|
||
Thanks, roc!
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•