Closed Bug 1525087 Opened 5 years ago Closed 5 years ago

z-order is (still) wrong on CSS 3D animation (plane-splitting)

Categories

(Core :: Graphics: WebRender, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox66 --- fixed
firefox67 --- fixed

People

(Reporter: kvark, Assigned: kvark)

References

()

Details

Attachments

(2 files)

This is a follow-up to https://bugzilla.mozilla.org/show_bug.cgi?id=1523347
The original issue was fixed, but the test case then showed a different issues with the code: problems occurring when the planes are intersected very close to polygon vertices.

It's a truly nice test case: https://bug1210882.bmoattachments.org/attachment.cgi?id=8669060

Have an upstream fix ready

Assignee: nobody → dmalyshau
Status: NEW → ASSIGNED
Priority: -- → P3
Pushed by dmalyshau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/553538a675ec
Plane split dependency update to 0.13.5 r=kats

I just realized that I got mixed up two local copies of firefox, and wasn't looking at the right reftest log of Wrench, d'oh... Fixing this now.

Flags: needinfo?(dmalyshau)
Pushed by dmalyshau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2cbf16256f4e
Plane split dependency update to 0.13.5 r=kats
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67

Do we have a reftest for this change somewhere? We should add one if it's not too hard.

Flags: needinfo?(dmalyshau)

The test was added upstream in https://github.com/servo/plane-split/pull/27/files#diff-1d48fd532a729d28ec7d631fe632f084R289
As long as we ensure that CI passes on upstream before updating the dependency, Gecko will be safe. Is this a common practice to also add a Gecko test in such cases? Technically, we have multiple layers of testing:

  1. plane splitting internal tests
  2. wrench tests
  3. gecko tests

My understanding is that the higher (read: earlier) we can move a test, the better, and there should be no need to duplicate the effort at all 3 levels.

Flags: needinfo?(dmalyshau)

Agreed. I didn't see the test added to plane-split for some reason. I guess my eyes gloss over changes to third_party/rust :/

Comment on attachment 9041259 [details]
Plane split dependency update to 0.13.5

Beta/Release Uplift Approval Request

Feature/Bug causing the regression

None

User impact if declined

3D transformed content will sometimes show up wrong with WebRender

Is this code covered by automated tests?

Yes

Has the fix been verified in Nightly?

Yes

Needs manual test from QE?

No

If yes, steps to reproduce

List of other uplifts needed

None

Risk to taking this patch

Low

Why is the change risky/not risky? (and alternatives if risky)

This is a very low risk change. It has an impact when WebRender is on and we'd like to have it for our release experiment on 66

String changes made/needed

Attachment #9041259 - Flags: approval-mozilla-beta?

We're about halfway through beta at this point, and I would worry if this wasn't behind a pref. Is none of this code used if WebRender is preffed off?

Flags: needinfo?(jmuizelaar)

(In reply to Liz Henry (:lizzard) (use needinfo) from comment #12)

We're about halfway through beta at this point, and I would worry if this wasn't behind a pref. Is none of this code used if WebRender is preffed off?

None of it is used if WebRender is preffed off

Flags: needinfo?(jmuizelaar)

Comment on attachment 9041259 [details]
Plane split dependency update to 0.13.5

Fix to support WebRender experiments in 66, OK to uplift for beta 8.

Attachment #9041259 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

There are conflicts while uplifting to beta:
warning: conflicts while merging Cargo.lock! (edit, then use 'hg resolve --mark')
warning: conflicts while merging gfx/wr/Cargo.lock! (edit, then use 'hg resolve --mark')
warning: conflicts while merging third_party/rust/plane-split/.cargo-checksum.json! (edit, then use 'hg resolve --mark')
warning: conflicts while merging third_party/rust/plane-split/Cargo.toml! (edit, then use 'hg resolve --mark')
warning: conflicts while merging third_party/rust/plane-split/src/bsp.rs! (edit, then use 'hg resolve --mark')

:kvark , can you please provide a patch for beta?

Flags: needinfo?(dmalyshau)

Here is the patch applied to beta.

Flags: needinfo?(dmalyshau)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: