Closed Bug 1209278 Opened 9 years ago Closed 8 years ago

Require full mix-blend-mode support in compositors

Categories

(Core :: Graphics: Layers, defect)

40 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox46 --- fixed
firefox47 --- fixed

People

(Reporter: dvander, Assigned: dvander)

References

Details

Attachments

(3 files, 1 obsolete file)

See bug 1207489. Partial support in compositors means we can unexpectedly change the layer manager a stacking context will use while evaluating its descendants. It also adds complexity to APZ.

bug 1207489 is the layout "fix" for this problem, but it's rather hacky and complicated, so we'd like to try this instead.
This removes SupportsMixBlendMode from layer managers and mSupportedBlendModes from TextureFactoryIdentifier. Anywhere these were used were removed or flattened to assume the condition is always true.
Assignee: nobody → dvander
Status: NEW → ASSIGNED
Attachment #8715099 - Flags: review?(mstange)
This is a complete backout of the first part of bug 1193557. In theory none of this is needed anymore since mix-blend mode can't cause inactive layers.
Attachment #8715105 - Flags: review?(mstange)
fix ipc
Attachment #8715099 - Attachment is obsolete: true
Attachment #8715099 - Flags: review?(mstange)
Attachment #8715425 - Flags: review?(mstange)
Attachment #8715425 - Flags: review?(mstange) → review+
Attachment #8715105 - Flags: review?(mstange) → review+
Looks like you can also remove nsDisplayBlendContainer::mContainedBlendModes and merge the two nsDisplayBlendContainer constructors.
Remove extra nsDisplayBlendContainer constructor and nsDisplayBlendContainer::mContainedBlendModes.
Flags: needinfo?(dvander)
Attachment #8722631 - Flags: review?(mstange)
Attachment #8722631 - Flags: review?(mstange) → review+
https://hg.mozilla.org/mozilla-central/rev/cf30de346f10
https://hg.mozilla.org/mozilla-central/rev/5a877b1e3551
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Comment on attachment 8715425 [details] [diff] [review]
part 1, strip out SupportsMixBlendMode

I'd like to uplift these patches to Beta because they're very low risk and make uplifting bug 1238564 (which in turn is required for bug 1247854) much easier.

Approval Request Comment
[Feature/regressing bug #]: none
[User impact if declined]: none - they're only removing unused code. Code that is now unused because all our compositors support all blend modes now; all those patches (see the bugs this bug depends on) are already on Beta.
[Describe test coverage new/current, TreeHerder]: good
[Risks and why]: very low
[String/UUID change made/needed]: none
Attachment #8715425 - Flags: approval-mozilla-beta?
Do we have everything on m-c that we need here?
Once we do, I would like to make sure we uplift to aurora and beta.
Flags: needinfo?(wkocher)
Comment on attachment 8715425 [details] [diff] [review]
part 1, strip out SupportsMixBlendMode

Please uplift for aurora and for beta 4, once all 3 patches are landed on m-c,  as we need this to enable APZ by default for the e10s/apz beta rollout.
Attachment #8715425 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Sorry, I think this is already on aurora 47 since it landed may 1.   We would like to get it onto beta though.
Wes can you check to make sure you got all 3 patches  mentioned in comment 11?
Flags: needinfo?(wkocher)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: