Closed Bug 749075 Opened 13 years ago Closed 13 years ago

Improve performance of display list construction, ComputeVisibility and layer construction

Categories

(Core :: Layout, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: roc, Assigned: roc)

References

Details

Attachments

(2 files)

We do this a lot and it shows up on mobile profiles. I'm using the test patch here: https://bugzilla.mozilla.org/show_bug.cgi?id=735898#c1 and profiling a saved version of cnn.com.
Comment on attachment 618565 [details] [diff] [review] Part 1: Refactor the nsDisplayItem API for testing whether the item needs to be rendered to a transparent surface Review of attachment 618565 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/base/nsDisplayList.h @@ +501,5 @@ > + // Web pages or extensions could trigger this by using > + // -moz-appearance:win-borderless-glass etc on their own elements. > + // Keep the first one, since that will be the background of the root > + // window > + NS_WARNING("Multiple glass backgrounds found?"); Does this need to be a warning if it can be hit by website code?
Attachment #618565 - Flags: review?(matt.woodrow) → review+
Attachment #618566 - Flags: review?(matt.woodrow) → review+
(In reply to Matt Woodrow (:mattwoodrow) from comment #3) > ::: layout/base/nsDisplayList.h > @@ +501,5 @@ > > + // Web pages or extensions could trigger this by using > > + // -moz-appearance:win-borderless-glass etc on their own elements. > > + // Keep the first one, since that will be the background of the root > > + // window > > + NS_WARNING("Multiple glass backgrounds found?"); > > Does this need to be a warning if it can be hit by website code? Yes. Warnings can be hit by website code.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Depends on: 763451
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: