Created attachment 131652 [details]
Test page exposing what happens when clipping is done with no respect for 3D transforms.
When rendering surfaces with a transform z>0 and in perspective, making the surface larger on screen than the corresponding surface with only 2D transforms, the surface gets cropped to a maximum size/shape of the same surface with no perspective applied.
Test page exposing problem attached.
Created attachment 131662 [details]
Comment on attachment 131662 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=131662&action=review
LGTM - see nitpicks
> + The scissor clipping in TextureMapperGL didn't
> + take 3D transforms into account when calculating
> + the clipping region. Now, it will bail out early
> + if the transform is not affine.
Weird line wrapping :)
> + if (!modelViewMatrix.isAffine())
Add a comment
Created attachment 131665 [details]
Comment on attachment 131665 [details]
Clearing flags on attachment: 131665
Committed r110691: <http://trac.webkit.org/changeset/110691>
All reviewed patches have been landed. Closing bug.