Closed
Bug 864832
Opened 12 years ago
Closed 12 years ago
Get rid of nsSVGUtils::InvalidateBounds and just use nsSVGEffects::InvalidateRenderingObservers where DLBI is working
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
(Keywords: perf)
Attachments
(1 file)
19.08 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
We can get rid of nsSVGUtils::InvalidateBounds and just use nsSVGEffects::InvalidateRenderingObservers where DLBI is working due to nsSVGUtils::ScheduleReflowSVG calls.
![]() |
Assignee | |
Comment 1•12 years ago
|
||
In the patched locations, the nsSVGUtils::ScheduleReflowSVG calls make sure that DLBI will be scheduled to run.
I've restructured some of the code into separate if-else blocks so as to only make the switch for non-transform cases. That partly takes some of that splitting from bug 839865, where the transform cases still need to be worked on.
Attachment #740866 -
Flags: review?(matt.woodrow)
Updated•12 years ago
|
Attachment #740866 -
Flags: review?(matt.woodrow) → review+
Comment 2•12 years ago
|
||
When we change the rotate attribute on a text element isn't that more like a translation modification (that needs a bounds update) than a location change? We're not going to get artifacts if we rotate say a capital I?
![]() |
Assignee | |
Comment 3•12 years ago
|
||
The nsSVGUtils::ScheduleReflowSVG calls should take care of that.
![]() |
Assignee | |
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•