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

[Impeller] Incorporate difference clips in stencil coverage#38017

Closed
bdero wants to merge 1 commit into
flutter-team-archive:mainfrom
bdero:bdero/difference-clip-coverage
Closed

[Impeller] Incorporate difference clips in stencil coverage#38017
bdero wants to merge 1 commit into
flutter-team-archive:mainfrom
bdero:bdero/difference-clip-coverage

Conversation

@bdero

@bdero bdero commented Dec 1, 2022

Copy link
Copy Markdown
Contributor

Culls more aggressively for cases where a difference clip intersects with the current clip coverage rect such that the coverage boundaries become smaller.

This may help reduce redundant rendering work in cases where there's a full screen platform view in the scene.

@bdero bdero self-assigned this Dec 1, 2022
@bdero

bdero commented Dec 1, 2022

Copy link
Copy Markdown
Contributor Author

This isn't quite right, actually. This solution would only work if the difference clip geometry is a rectangle and the the CTM is scale-only. Both of which are true in the case we're hoping to optimize for. Some more elbow grease is needed to form a proper solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

1 participant