Closed
Bug 939607
Opened 12 years ago
Closed 12 years ago
Try to avoid creating inactive layers for nsDisplayOpacity if we can
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
Details
(Whiteboard: [qa-])
Attachments
(4 files, 1 obsolete file)
3.22 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
3.22 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
2.45 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
3.64 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #8333589 -
Flags: review?(roc)
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #8333590 -
Flags: review?(roc)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #8333591 -
Flags: review?(roc)
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #8333593 -
Flags: review?(roc)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → matt.woodrow
Attachment #8333589 -
Flags: review?(roc) → review+
Attachment #8333590 -
Flags: review?(roc) → review+
Comment on attachment 8333591 [details] [diff] [review]
Try fold nsDisplayOpacity items opacity value into their children
Review of attachment 8333591 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/base/nsDisplayList.cpp
@@ +1089,5 @@
> +
> + if (item->GetType() == nsDisplayItem::TYPE_OPACITY) {
> + MOZ_ASSERT(list);
> + nsDisplayOpacity* opacity = static_cast<nsDisplayOpacity*>(item);
> + if (opacity->FoldOpacityOntoChildren()) {
Why don't you just make nsDisplayOpacity override ShouldFlattenAway?
Attachment #8333591 -
Flags: review?(roc) → review-
Attachment #8333593 -
Flags: review?(roc) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Good point. I'm sure I had a reason for not doing this initially, but I can't remember what it was, and I can't come up with a new one.
Attachment #8333591 -
Attachment is obsolete: true
Attachment #8333716 -
Flags: review?(roc)
Attachment #8333716 -
Flags: review?(roc) → review+
Assignee | ||
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/513f5fe03a0b
https://hg.mozilla.org/mozilla-central/rev/a64e4c44d2ef
https://hg.mozilla.org/mozilla-central/rev/b246e0435b0f
https://hg.mozilla.org/mozilla-central/rev/77836c897f3f
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•12 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•