Open Bug 444658 Opened 16 years ago Updated 2 years ago

border-image rendering creates too many temporary surfaces

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: robarnold, Unassigned)

References

Details

(Keywords: perf)

Each time a border-image is rendered, 9 temporary surfaces are created. We should find someplace to cache them. One possible strategy is to break up the image into its 9 parts and store them in nsStyleBorder.
More notes: the temporary surfaces are always constant based on the original border image; we're pulling them out so that we can use EXTEND_PAD for correct sampling when rendering scaled.  But we should be able to avoid chopping them up each time we render...
Product: Core → Core Graveyard
Component: GFX → Layout
Flags: blocking1.9.2?
Keywords: perf
Product: Core Graveyard → Core
QA Contact: general → layout
Flags: wanted1.9.2-
Flags: blocking1.9.2?
Flags: blocking1.9.2-
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.