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

createGraphics does not work in WebGPU mode #90

Open
awu7 opened this issue Dec 7, 2024 · 1 comment
Open

createGraphics does not work in WebGPU mode #90

awu7 opened this issue Dec 7, 2024 · 1 comment

Comments

@awu7
Copy link

awu7 commented Dec 7, 2024

Upon inspection of the code, the WebGPU mode image function checks for a textureIndex property, which is not present on the OffscreenCanvas returned by createGraphics.

@quinton-ashley
Copy link
Collaborator

quinton-ashley commented Dec 7, 2024

I'm thinking that webgpu mode will not be able to adequately support creating or drawing graphics that are dynamically drawn to, at least not in an efficient way, since copyExternalImageToTexture is too slow. I'll investigate this later.

@quinton-ashley quinton-ashley moved this to Todo in q5 Dec 9, 2024
@quinton-ashley quinton-ashley added this to q5 Dec 9, 2024
@quinton-ashley quinton-ashley moved this from Todo to In Progress in q5 Dec 9, 2024
@quinton-ashley quinton-ashley moved this from In Progress to Todo in q5 Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants