You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Impeller] OpenGLES backend tries to reuse buffers across different buffer targets, which fails on WebGL. #149603
Impeller's OpenGLES backend tries to reuse buffers across different buffer targets (i.e. GL_ARRAY_BUFFER vs GL_ELEMENT_ARRAY_BUFFER). WebGL doesn't like this and rejects the call to glBindBuffer. See this section of the WebGL spec on buffer binding restrictions: https://registry.khronos.org/webgl/specs/latest/2.0/#BUFFER_OBJECT_BINDING
changed the title [-]Impeller's OpenGLES backend tries to reuse buffers across different buffer targets, which fails on WebGL[/-][+][Impeller] OpenGLES backend tries to reuse buffers across different buffer targets, which fails on WebGL.[/+]on Jun 3, 2024
Hmm, come to think of it, is this possible in ES 2.0? Or are we just relying on some behavior from extensions? Either way, the workaround is not super difficult.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[-]Impeller's OpenGLES backend tries to reuse buffers across different buffer targets, which fails on WebGL[/-][+][Impeller] OpenGLES backend tries to reuse buffers across different buffer targets, which fails on WebGL.[/+]chinmaygarde commentedon Jun 3, 2024
Hmm, come to think of it, is this possible in ES 2.0? Or are we just relying on some behavior from extensions? Either way, the workaround is not super difficult.
eyebrowsoffire commentedon Jun 3, 2024
I think this restriction is specific to WebGL, but I'm not positive.
[impeller] Support partitioned host buffer (#174463)
eyebrowsoffire commentedon Sep 2, 2025
A backend option to fix this was added in #174463
github-actions commentedon Sep 16, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.