Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b3d7d6cdd798bcc0900041524247ee71706e6d05
https://github.com/WebKit/WebKit/commit/b3d7d6cdd798bcc0900041524247ee71706e6d05
Author: Mike Wyrzykowski <[email protected]>
Date: 2026-09-03 (Thu, 03 Sep 2026)
Changed paths:
A
LayoutTests/fast/webgpu/external-texture-from-webm-video-element-expected.txt
A LayoutTests/fast/webgpu/external-texture-from-webm-video-element.html
M
LayoutTests/http/tests/webgpu/webgpu/api/validation/gpu_external_texture_expiration-expected.txt
M Source/WebCore/Modules/WebGPU/GPUDevice.cpp
M Source/WebCore/Modules/WebGPU/GPUExternalTextureDescriptor.h
M Source/WebCore/platform/graphics/MediaPlayer.cpp
M Source/WebCore/platform/graphics/MediaPlayer.h
Log Message:
-----------
webgpu.github.io/webgpu-samples/?sample=videoUploading does not play Lake
with videoSource = videoElement
https://bugs.webkit.org/show_bug.cgi?id=323225
rdar://186470526
Reviewed by Dan Glastonbury.
In order to import video using the accelerated CVMetalTextureCache path,
we must ensure the video is already in the GPU process.
Test: fast/webgpu/external-texture-from-webm-video-element.html
* Source/WebCore/Modules/WebGPU/GPUDevice.cpp:
(WebCore::GPUDevice::importExternalTexture):
* Source/WebCore/Modules/WebGPU/GPUExternalTextureDescriptor.h:
(WebCore::GPUExternalTextureDescriptor::mediaIdentifierForSource):
(WebCore::GPUExternalTextureDescriptor::mediaIdentifier const):
* Source/WebCore/platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::isHostedInGPUProcess const):
* Source/WebCore/platform/graphics/MediaPlayer.h:
*
LayoutTests/fast/webgpu/external-texture-from-webm-video-element-expected.txt:
Added.
* LayoutTests/fast/webgpu/external-texture-from-webm-video-element.html: Added.
Canonical link: https://commits.webkit.org/320427@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications