Closed
Bug 418201
Opened 16 years ago
Closed 16 years ago
Restrict filter processing to the dirty area
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
References
Details
Attachments
(1 file)
31.14 KB,
patch
|
longsonr
:
review+
MatsPalmgren_bugz
:
superreview+
|
Details | Diff | Splinter Review |
With the infrastructure that's just landed on trunk it should be pretty easy to restrict filter computation and intermediate surfaces to rerender just the dirty area (in most cases; some filter primitives would still do the whole area). This would be a huge speedup for use cases like scrolling a large static image with filters and large static backgrounds using filters with some dynamic effects going on on top. Might be worth doing for 1.9.
Flags: blocking1.9?
Updated•16 years ago
|
Flags: tracking1.9? → blocking1.9?
Comment 1•16 years ago
|
||
roc, do you want to block on this?
Assignee | ||
Comment 2•16 years ago
|
||
No, but we could make it wanted1.9.
Assignee | ||
Comment 4•16 years ago
|
||
Not for 1.9. I'm working on it for the next release.
Flags: wanted1.9-
Flags: wanted1.9+
Flags: wanted-next+
Assignee | ||
Comment 5•16 years ago
|
||
I have a fix for this in my tree, works great. I'll break it out for submission later.
Assignee | ||
Comment 6•16 years ago
|
||
-- Take the dirty rect into account when we compute needed-bounding-boxes -- Ensure that GenerateNormal doesn't apply boundary conditions at the computation rect boundary, but the surface boundary -- Ensure that Gaussian blur applies boundary conditions at the surface boundary, not the computation rect boundary, but still doesn't let stuff leak out of the filter primitive subregion -- Some extra Gaussian blur reftests to cover that
Attachment #329380 -
Flags: superreview?(mats.palmgren)
Attachment #329380 -
Flags: review?(longsonr)
Updated•16 years ago
|
Attachment #329380 -
Flags: review?(longsonr) → review+
Comment 7•16 years ago
|
||
Comment on attachment 329380 [details] [diff] [review] fix sr=mats There are couple of white-space problems from an earlier checkin: http://hg.mozilla.org/mozilla-central/index.cgi/annotate/tip/content/svg/content/src/nsSVGFilters.cpp#l573 on line 575 and 581, please fix those while you're here.
Attachment #329380 -
Flags: superreview?(mats.palmgren) → superreview+
Assignee | ||
Comment 8•16 years ago
|
||
Pushed 8ffe8a29e52b.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•