[webkit-changes] [WebKit/WebKit] 47fff3: [WebGPU] Replace asynchronous .requestAdapterInfo(...

mwyrzykowski noreply at github.com
Wed May 29 13:36:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 47fff30b64bae1af23c31003286f81691f9f115b
      https://github.com/WebKit/WebKit/commit/47fff30b64bae1af23c31003286f81691f9f115b
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M LayoutTests/fast/webgpu/write-to-destroyed-buffer.html
    M Source/WebCore/Modules/WebGPU/GPUAdapter.cpp
    M Source/WebCore/Modules/WebGPU/GPUAdapter.h
    M Source/WebCore/Modules/WebGPU/GPUAdapter.idl

  Log Message:
  -----------
  [WebGPU] Replace asynchronous .requestAdapterInfo() with synchronous .info
https://bugs.webkit.org/show_bug.cgi?id=274797
<radar://128896785>

Reviewed by Dan Glastonbury.

Per recent spec change, requestAdapterInfo has become a synchronous info
call.

Our implementation already resolved the promise synchronously, so the impact
is minimal.

* Source/WebCore/Modules/WebGPU/GPUAdapter.cpp:
(WebCore::GPUAdapter::info):
(WebCore::GPUAdapter::requestAdapterInfo): Deleted.
* Source/WebCore/Modules/WebGPU/GPUAdapter.h:
* Source/WebCore/Modules/WebGPU/GPUAdapter.idl:

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



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


More information about the webkit-changes mailing list