[webkit-changes] [WebKit/WebKit] 1598a1: [WebGPU] WebGPU is not working correctly in an off...

mwyrzykowski noreply at github.com
Wed Dec 27 16:00:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1598a12d851ca104fd908835c71096b5afa7a309
      https://github.com/WebKit/WebKit/commit/1598a12d851ca104fd908835c71096b5afa7a309
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-12-27 (Wed, 27 Dec 2023)

  Changed paths:
    M Source/WebCore/html/OffscreenCanvas.cpp

  Log Message:
  -----------
  [WebGPU] WebGPU is not working correctly in an offscreen canvas
https://bugs.webkit.org/show_bug.cgi?id=266448
<radar://119698186>

Reviewed by Tadeu Zagallo.

When OffscreenCanvas's scriptExecutionContext is a Document,
get the Navigator instance from its local DOMWindow to create
the gpu context.

* Source/WebCore/html/OffscreenCanvas.cpp:
(WebCore::OffscreenCanvas::getContext):

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




More information about the webkit-changes mailing list