WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
281680
[WebGPU] WebCam texture doesn't work with WebGPU
https://bugs.webkit.org/show_bug.cgi?id=281680
Summary
[WebGPU] WebCam texture doesn't work with WebGPU
Brendan Duncan
Reported
2024-10-17 11:30:21 PDT
Created
attachment 472970
[details]
test webcam textures with webgpu Video textures work but webcam textures are black and cause the command buffer submission to be slow. There are no console errors.
Attachments
test webcam textures with webgpu
(4.26 KB, text/html)
2024-10-17 11:30 PDT
,
Brendan Duncan
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-10-17 11:55:21 PDT
<
rdar://problem/138133250
>
Mike Wyrzykowski
Comment 2
2024-10-25 11:43:23 PDT
Until this is fixed, you can workaround with: - const texture = device.importExternalTexture({source: video}); + const texture = device.importExternalTexture({source: new VideoFrame(video)});
Mike Wyrzykowski
Comment 3
2024-10-26 19:55:35 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/35765
EWS
Comment 4
2024-10-29 06:57:47 PDT
Committed
285825@main
(ecc0b3cc6370): <
https://commits.webkit.org/285825@main
> Reviewed commits have been landed. Closing PR #35765 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug