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

Share identical WebGL programs #213

Open
tuner opened this issue Dec 21, 2023 · 0 comments
Open

Share identical WebGL programs #213

tuner opened this issue Dec 21, 2023 · 0 comments
Labels
core Related to the Core package performance WebGL Somehow related to WebGL or GPU

Comments

@tuner
Copy link
Member

tuner commented Dec 21, 2023

Although identical vertex and fragment shaders are compiled only once, each instance of the Mark class creates their own programs:

this.programStatus = createProgram(

Thus, only one program should be created for each unique vertex+fragment shader pair.

@tuner tuner added core Related to the Core package performance labels Dec 21, 2023
@tuner tuner added the WebGL Somehow related to WebGL or GPU label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Related to the Core package performance WebGL Somehow related to WebGL or GPU
Projects
None yet
Development

No branches or pull requests

1 participant