Dzmitry Malyshau 6bed8e6181 Bug 1655732 - Fix backface-visibility checks with regards to intermediate flattening. r=gw
When we are looking at a transform of an element relative to the surface
it's rendered into, we used to only consider the final transformation
when determining back-face visibility.
However, in case there are any Flat reference frames on the way,
the transformation is flattened. We should be checking for back-face
visibility on each such step.

This doc was helpful, although it doesn't have all the answers:
https://docs.google.com/document/d/1yb4a_uhTG3KmcbGPta4B9p67v1HO_qY8ZMk-otGOwTc/

Differential Revision: https://phabricator.services.mozilla.com/D92135
2020-10-02 14:02:08 +00:00
..