Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Impeller] Incorporate difference clips in stencil coverage #38017

Closed
wants to merge 1 commit into from

Conversation

bdero
Copy link
Member

@bdero bdero commented Dec 1, 2022

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
Copy link
Member Author

bdero commented Dec 1, 2022

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant