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

Disable antialiasing and depth buffer for WebGL2 contexts #4

Merged
merged 1 commit into from
Jan 15, 2019

Conversation

juancampa
Copy link

This was causing getContext and canvas size changes to be very expensive (taking 7-10X longer and blocking the main thread)

Copy link
Owner

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @juancampa 😃

@Tyriar Tyriar merged commit a92c0c1 into Tyriar:webgl2 Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants