Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[CP][Impeller] fix incorrect padding/translation in drawVertices with texture coordinates. (#53746) #54399

Conversation

jonahwilliams
Copy link
Member

Fixes flutter/flutter#151355

The coverage pad introduced by renderToSnapshot is being picked up by drawVertices with texture coordinates. The pad is showing up in the final results, which can appear to be a gap between elements.

Additionally: if the coverage computed from the texture coordinates does not include the origin, then make sure the coverage used for the snapshot is translated onscreen.

…ture coordinates. (flutter#53746)

Fixes flutter/flutter#151355

The coverage pad introduced by renderToSnapshot is being picked up by drawVertices with texture coordinates. The pad is showing up in the final results, which can appear to be a gap between elements.

Additionally: if the coverage computed from the texture coordinates does not include the origin, then make sure the coverage used for the snapshot is translated onscreen.
@jonahwilliams jonahwilliams changed the title [Impeller] fix incorrect padding/translation in drawVertices with texture coordinates. (#53746) [CP][Impeller] fix incorrect padding/translation in drawVertices with texture coordinates. (#53746) Aug 7, 2024
@itsjustkevin itsjustkevin added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 12, 2024
@auto-submit auto-submit bot merged commit 6224efc into flutter:flutter-3.24-candidate.0 Aug 12, 2024
26 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App e: impeller
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants