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
Which then leads to second problem, canvas and it's webgl context are initialized upon class creation and only resized upon subsequent access - but OffscreenCanvas cannot be resized, it has to be initialized with fixed size. Which means that initialization code should be modified so canvas is dynamically created (and it's context updated).
The text was updated successfully, but these errors were encountered:
WebGLImageFilter uses DOM methods to create canvas (e.g.
document.createElement()
) - and DOM is not available inside a web worker.Should use OffscreenCanvas instead.
Which then leads to second problem,
canvas
and it'swebgl
context are initialized upon class creation and only resized upon subsequent access - but OffscreenCanvas cannot be resized, it has to be initialized with fixed size. Which means that initialization code should be modified so canvas is dynamically created (and it's context updated).The text was updated successfully, but these errors were encountered: