Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 80839e1c8493881857f659749349ebb6b9cee7b2
      
https://github.com/WebKit/WebKit/commit/80839e1c8493881857f659749349ebb6b9cee7b2
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    A LayoutTests/fast/webgpu/regression/repro_275345-expected.png
    A LayoutTests/fast/webgpu/regression/repro_275345-expected.txt
    A LayoutTests/fast/webgpu/regression/repro_275345.html
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebGPU/WebGPU/BindGroup.mm
    M Source/WebGPU/WebGPU/MetalSPI.h

  Log Message:
  -----------
  [WebGPU] Some CVPixelBuffer formats are incorrectly mapped with 
CVMetalTextureCache
https://bugs.webkit.org/show_bug.cgi?id=275345
<radar://129219004>

Reviewed by Tadeu Zagallo.

AVAsset chooses Apple Silicon specific formats for some base64 encoded videos,
add support for these so they are displayed correctly.

AVAsset uses different formats, e.g., 'x422', on Intel macs, so expect pixel 
differences
on those devices.

* LayoutTests/TestExpectations:
* LayoutTests/fast/webgpu/regression/repro_275345-expected.png: Added.
* LayoutTests/fast/webgpu/regression/repro_275345-expected.txt: Added.
* LayoutTests/fast/webgpu/regression/repro_275345.html: Added.
Add regression test.

* Source/WebGPU/WebGPU/BindGroup.mm:
(WebGPU::metalPixelFormat):
(WebGPU::Device::createExternalTextureFromPixelBuffer const):
* Source/WebGPU/WebGPU/MetalSPI.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to