Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 99492e3c authored by Jan Sebechlebsky's avatar Jan Sebechlebsky
Browse files

Apply transformation matrix to texture coordinates.

SurfaceTexture provides transformation matrix which should
be used to transform texture coordinates before sampling
to account for possible coordinate differences in the
underlying native buffer.

This was causing the texture to be flipped when rendered.
Also fix the square coordinates which caused stretching.

Bug: 301023410
Test: atest virtual_camera_tests
Test: atest CtsVirtualCameraTestCases
Test: manual with sample app & canvas + video

Change-Id: Ib7fd2bb03e6686ada193ea67541f051d981f2bad
parent 44a866a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment