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

WebGPURenderer: Remove HTMLImage to OffscreenCanvas conversion #27021

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

aardgoose
Copy link
Contributor

The WebGPU standard and Chrome 118 now accept HTMLImage and HTMLCanvas objects as image sources in GPUImageCopyExternalImage(). Remove the conversions and also correctly handle these image types in the WebGLBackend

@Mugen87 Mugen87 added this to the r158 milestone Oct 24, 2023
@Mugen87 Mugen87 merged commit 4fc9ce7 into mrdoob:dev Oct 24, 2023
18 checks passed
@aardgoose aardgoose deleted the image branch October 24, 2023 20:09
CITIZENDOT pushed a commit to CITIZENDOT/three.js that referenced this pull request Oct 25, 2023
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