This function allows you to specify whether a display list item is really necessary or not. If we could overload this within nsDisplayBoxShadow, this could really speed things up for box-shadow on stuff like <video> and windowless plugins by preventing unnecessary repainting of box-shadow underneath the actual frame.
Just to leave myself a note here for future debugging hair-ripping, if we ever implement the 'inset' feature in the box-shadow editor's draft, this code will need to change so it only happens for outset shadows.
Whiteboard: [needs landing]
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Whiteboard: [needs landing] → [needs 191 landing]
Comment on attachment 359456 [details] [diff] [review] Patch Simple patch that will help perf with this new feature
Attachment #359456 - Flags: approval1.9.1+
Keywords: checkin-needed → fixed1.9.1
Whiteboard: [needs 191 landing]
You need to log in before you can comment on or make changes to this bug.