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

MaskView: Masks with multiple draw calls break nested masks #127

Open
benjaminbojko opened this issue Aug 30, 2018 · 0 comments
Open

MaskView: Masks with multiple draw calls break nested masks #127

benjaminbojko opened this issue Aug 30, 2018 · 0 comments
Assignees

Comments

@benjaminbojko
Copy link
Collaborator

benjaminbojko commented Aug 30, 2018

If a view that produces multiple gl draw calls is used as a MaskView mask, it will increment the stencil buffer multiple times and the stencil test will break.

This can be triggered by a nested mask, where the child MaskView has an ImageView (because it calls both BaseView::draw() and gl::draw(mTexture, ...)) or a BaseView with multiple children as a mask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant