Closed Bug 592941 Opened 15 years ago Closed 15 years ago

Fix performance regression from bug 579323

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- beta7+

People

(Reporter: roc, Assigned: roc)

References

Details

Attachments

(1 file)

Attached patch fixSplinter Review
Turns out that bug 579323 tripped over an existing bug: we failed to create a ThebesLayerInvalidRegionProperty() when setting up a new container layer in StoreNewDisplayItemData. This means that the next time we paint, in the new code in bug 579323 we'll find no ThebesLayerInvalidRegionProperty and repaint all the ThebesLayer children. (But after that, UpdateDisplayItemDataForFrame will set up the ThebesLayerInvalidRegionProperty so this won't happen again.) This is obviously very bad. Also, there's an existing problem which is that invalidates passed to FrameLayerBuilder::InvalidateThebesLayerContents between the first and second paint are currently being dropped on the floor!
Attachment #471402 - Flags: review?(tnikkel)
Attachment #471402 - Flags: review?(tnikkel) → review+
Whiteboard: [needs landing]
blocking2.0: --- → beta6+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: