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

[Impeller][CP] dont segfault when tessellating empty polygons.#53212

Merged
auto-submit[bot] merged 4 commits intoflutter:flutter-3.22-candidate.0from
jonahwilliams:fix_empty_polygons
Jul 1, 2024
Merged

[Impeller][CP] dont segfault when tessellating empty polygons.#53212
auto-submit[bot] merged 4 commits intoflutter:flutter-3.22-candidate.0from
jonahwilliams:fix_empty_polygons

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Jun 5, 2024

While this is fixed on ToT, the stable channel is far behind so cherry picking all the tessellation changes is infeasible. Instead, we can land a small fix to avoid the segfault. Atttached unit test crashes without patch.

Fixes flutter/flutter#149646
Fixes flutter/flutter#149309

@jonahwilliams
Copy link
Contributor Author

Gonna let this run on CI to confirm the crash first.

@itsjustkevin itsjustkevin added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 1, 2024
@auto-submit auto-submit bot merged commit 6934bb5 into flutter:flutter-3.22-candidate.0 Jul 1, 2024
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