Open Bug 1186204 Opened 9 years ago Updated 1 year ago

make animations of transform with backface-visibility:hidden work on the compositor thread

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

REOPENED
Tracking Status
firefox42 --- affected

People

(Reporter: dbaron, Unassigned)

References

(Blocks 4 open bugs)

Details

In bug 1186061 I'm going to disable compositor-thread (off-main-thread, OMT) animation of transform animations that have backface-visibility:hidden. This bugs covers reenabling them, which I believe means detecting that the transform animation has crossed from showing the front face to showing the back face, and thus that we need to rerender. This gets complicated in combination with preserve-3d (which we also don't support doing on the compositor).
I don't think we need to rerender when we transition, since any 'backface' that is expected to become visible should be a separate element (with a separate layer). I think we can get away with just having a flag specifying that the backface is hidden, and have the compositor cull the layer if necessary.
According the discussion on a mail loop with dbaron and Matt, we are ready to move backface hidden and transform animation to the compositor.
Cool! So what's necessary here? Just a layer flag for backface-visibility, and the LayerManagerComposite code to not render those layers if they face away from the camera?
Oh! And the patch in bug 779598 already removes the backface-visibility check.
The problem that this bug tried to fix had been fixed by other bugs.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Reopening since I am going to fix only preserve-3d case in bug 779598.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Blocks: 1506758
Blocks: 1506932
Blocks: 1487412
Severity: normal → S3
Blocks: 1826704
You need to log in before you can comment on or make changes to this bug.