mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Overdraw prevention prevents overlapping triangles in the stroke tessellator from being visible with partially opaque draws. For fully opaque draws (or usage of src blend mode) I do not believe this will be an issue - so we can disable this to speed things up a tiny bit. This code runs after we covert opaque draws to src blend mode, so checking for src blend mode should be sufficient.