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

Conversation

@bdero
Copy link
Member

@bdero bdero commented Jun 23, 2022

Also factors the root pass coverage into the per-entity computation.

Consider a situation where the framework asks to render a path using an advanced blend, but the origin of the coverage of the path is -10000 pixels in the y direction for whatever reason. Absent of this change, the offscreen advanced blend texture ends up with a height of >11000 pixels. With this change, such an element will get excluded during the EntityPass coverage routine, which will cause the pass itself to have no coverage, which will cause the pass to get skipped.

@bdero bdero marked this pull request as draft June 23, 2022 08:05
@chinmaygarde chinmaygarde self-requested a review June 23, 2022 17:36
@bdero bdero marked this pull request as ready for review June 23, 2022 23:49
@bdero bdero requested review from dnfield and flar June 24, 2022 00:42
@bdero
Copy link
Member Author

bdero commented Jun 24, 2022

Note: For some blend modes (Clear, Source, SourceIn, DestinationIn, SourceOut, DestinationATop, and Modulate), the pass coverage should always expand to cover the root pass. I'll be adding this in a follow-up (there are other scenarios where we don't behave quite correctly because of this).

@bdero bdero added waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. autosubmit Merge PR when tree becomes green via auto submit App labels Jun 24, 2022
@auto-submit auto-submit bot merged commit 315c25e into flutter:main Jun 24, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

affects: engine autosubmit Merge PR when tree becomes green via auto submit App e: impeller waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants