Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1ab851a8c493c217867738830227c8ea7e6cc613
      
https://github.com/WebKit/WebKit/commit/1ab851a8c493c217867738830227c8ea7e6cc613
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm

  Log Message:
  -----------
  [WebGPU] Transparent canvases are not supported in WebGPU
https://bugs.webkit.org/show_bug.cgi?id=279373
rdar://135563124

Reviewed by Tadeu Zagallo.

The canvas alphaMode defaults to 'opaque', use 'premultiplied' for transparency.

This resolves the lack of transparency with 
https://webgpu.github.io/webgpu-samples/?sample=transparentCanvas

* Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm:
(WebCore::GPUCanvasContextCocoa::configure):

Canonical link: https://commits.webkit.org/286121@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