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)
Core
CSS Parsing and Computation
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).
Comment 1•9 years ago
|
||
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.
Comment 2•8 years ago
|
||
According the discussion on a mail loop with dbaron and Matt, we are ready to move backface hidden and transform animation to the compositor.
Comment 3•8 years ago
|
||
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?
Comment 4•8 years ago
|
||
Does this not work already?
http://searchfox.org/mozilla-central/source/gfx/layers/composite/ContainerLayerComposite.cpp#202
Comment 5•8 years ago
|
||
Oh! And the patch in bug 779598 already removes the backface-visibility check.
Comment 6•8 years ago
|
||
The problem that this bug tried to fix had been fixed by other bugs.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 7•6 years ago
|
||
Reopening since I am going to fix only preserve-3d case in bug 779598.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•5 years ago
|
Blocks: compositor-animations
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•