Skip to content

Conversation

@wouterlucas
Copy link
Contributor

@wouterlucas wouterlucas commented Nov 27, 2024

Instead of using an additional postMessage init flow, directly set the variables in the JS Blob before instantiating the worker.

Note:
CI will fail because of a race condition with 2 tests where the createImageBitmap detection is still happening and an image request is already being made, this will need to be addressed with texture throttling instead of trying to jump through hoops with the current texture source download + ctxCoreContext construction.

@wouterlucas wouterlucas marked this pull request as ready for review November 27, 2024 21:47
@wouterlucas wouterlucas merged commit 857c8e9 into main Nov 28, 2024
1 of 2 checks passed
@wouterlucas wouterlucas deleted the fix/imageworker-initialisation branch November 28, 2024 10:41
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

Successfully merging this pull request may close these issues.

3 participants