Closed Bug 342874 Opened 19 years ago Closed 19 years ago

Use covered region to minimize svg painting

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tor, Assigned: tor)

Details

Attachments

(2 files, 2 obsolete files)

Attached patch use the dirty rect (obsolete) — Splinter Review
Attachment #227256 - Attachment is obsolete: true
Attachment #227458 - Flags: review?(roc)
Attachment #227458 - Attachment is obsolete: true
Attachment #227469 - Flags: review?(roc)
Attachment #227458 - Flags: review?(roc)
Comment on attachment 227469 [details] [diff] [review] update to tip again + NS_IMETHOD PaintSVG(nsISVGRendererCanvas* canvas, nsRect *aDirtyRect)=0; Comment what coordinates aDirtyRect is in? Looks good. Have you been able to verify that it actually is helpful in some cases?
Attachment #227469 - Flags: superreview+
Attachment #227469 - Flags: review?(roc)
Attachment #227469 - Flags: review+
Don't have a benchmark for it, but it does seem to speed up scrolling complex svg files such as gearflowers.
Checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: