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

Max WebGL context number #28

Open
MathisTLD opened this issue Jun 6, 2020 · 0 comments
Open

Max WebGL context number #28

MathisTLD opened this issue Jun 6, 2020 · 0 comments

Comments

@MathisTLD
Copy link

Hello guys
I recently found out that I couldn't use more than 8 YUV canvas with WebGL enabled in chrome (but no problems in firefox) and I got this error when trying to draw frames

WebGLFrameSink.js?b461:54 Uncaught TypeError: Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLShader'.
    at compileShader (WebGLFrameSink.js?b461:54)
    at initProgram (WebGLFrameSink.js?b461:276)
    at init (WebGLFrameSink.js?b461:314)
    at WebGLFrameSink.self.drawFrame (WebGLFrameSink.js?b461:343)

It would apparently be caused by a "max WebGL active contexts limit" but i can't find many informations about it

that's why i suggest if you have a clue about how to deal with this that we add the support for webGL: auto that detects if webGL can be used (for this specific canvas ie if limit has not been reached) and falls back to cpu if not

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

No branches or pull requests

1 participant