Bug 286012
| Summary: | [WebGPU] VideoTextures sometimes fail to load because bytesPerRow(1920) is less than bytesInLastRow(5180) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mike Wyrzykowski <mwyrzykowski> |
| Component: | WebGPU | Assignee: | Mike Wyrzykowski <mwyrzykowski> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | mwyrzykowski, tzagallo, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mike Wyrzykowski
[WebGPU] VideoTextures sometimes fail to load because bytesPerRow(1920) is less than bytesInLastRow(5180)
Repros on:
https://playcanvas.vercel.app/#/graphics/video-texture
https://playcanvas.vercel.app/#/graphics/reflection-box
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/142987498>
Mike Wyrzykowski
It looks like GPUQueue.copyExternalImageToTexture video import path, see
> static void getImageBytesFromVideoFrame(const RefPtr<VideoFrame>& videoFrame, ImageDataCallback&& callback)
is not working as expected
Mike Wyrzykowski
Pull request: https://github.com/WebKit/WebKit/pull/39177
EWS
Committed 289122@main (f0e83b3447bf): <https://commits.webkit.org/289122@main>
Reviewed commits have been landed. Closing PR #39177 and removing active labels.