Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9f4a36c5c53a4fa67421fa25fdf5194572d29795
      
https://github.com/WebKit/WebKit/commit/9f4a36c5c53a4fa67421fa25fdf5194572d29795
  Author: Youenn Fablet <[email protected]>
  Date:   2026-10-13 (Tue, 13 Oct 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any.html
    A 
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any.js
    A 
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any.worker-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any.worker.html
    A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any-expected.txt
    A 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any.worker-expected.txt
    M Source/WebCore/platform/graphics/cv/VideoFrameCV.mm

  Log Message:
  -----------
  copyTo for a BGRX/RGBX VideoFrame should succeed
rdar://189797144
https://bugs.webkit.org/show_bug.cgi?id=327236

Reviewed by Jean-Yves Avenard.

We add support for copyTo by reusing the same code path for BGRX as BGRA and 
RGBX/RGBA.
The WPT test is not fully complete as it should check the copyT X component.
This will be added when the spec is clear about what should be done.

Tests: 
imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx-padding.any.html
       
imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx-padding.any.worker.html

* 
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any.js:
 Added.
(makeData):
(makeFrame):
(string_appeared_here.promise_test.async t):
* 
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any.worker-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any.worker.html:
 Added.
* 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any-expected.txt:
 Added.
* 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-copyTo-rgbx.any.worker-expected.txt:
 Added.
* Source/WebCore/platform/graphics/cv/VideoFrameCV.mm:
(WebCore::VideoFrame::copyTo):

Canonical link: https://commits.webkit.org/323569@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to