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)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: roc, Assigned: roc)
References
Details
Attachments
(2 files)
29.53 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
4.57 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #618565 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 2•13 years ago
|
||
In my test this improves perf from around 25s to around 22s.
Attachment #618566 -
Flags: review?(matt.woodrow)
Comment 3•13 years ago
|
||
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+
Updated•13 years ago
|
Attachment #618566 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 4•13 years ago
|
||
(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.
Assignee | ||
Comment 5•13 years ago
|
||
Assignee | ||
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ec2bba7d11b4
https://hg.mozilla.org/mozilla-central/rev/82531cc259b3
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Depends on: 760002
You need to log in
before you can comment on or make changes to this bug.
Description
•