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
IconLayer generates WebGL: INVALID_OPERATION errors when a layer is repeatedly added & removed. The use case is adding a custom layer on hover.
Visually the icon texture data is corrupted across all layers (not just the one rendering the hover), suggesting that we are holding onto memory we shouldn't be.
Screen.Recording.2024-09-19.at.17.06.56.mov
The following errors are repeatedly logged:
WebGL: INVALID_OPERATION: bindTexture: attempt to use a deleted object
WebGL: INVALID_OPERATION: generateMipmap: no texture bound to target
A possible reason is that textures are now immutable so resizing (via any method such as framebuffer.resize() etc) creates new textures. This means that if we hold on to textures separately we may end up referencing deleted textures.
Description
IconLayer
generatesWebGL: INVALID_OPERATION
errors when a layer is repeatedly added & removed. The use case is adding a custom layer on hover.Visually the icon texture data is corrupted across all layers (not just the one rendering the hover), suggesting that we are holding onto memory we shouldn't be.
Screen.Recording.2024-09-19.at.17.06.56.mov
The following errors are repeatedly logged:
Flavors
Expected Behavior
No response
Steps to Reproduce
Modify the
examples/website/icon/app.tsx
:Environment
Logs
No response
The text was updated successfully, but these errors were encountered: