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

Simplify ImageWorkerManager initialization #460

Merged
merged 2 commits into from
Nov 28, 2024

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.

2 participants