[webkit-changes] [WebKit/WebKit] da1878: [WebGPU] WebGPU spec updated to support SharedWork...

mwyrzykowski noreply at github.com
Thu Jun 13 12:16:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: da1878500441aeae9a3c5683e883f4531b7ec132
      https://github.com/WebKit/WebKit/commit/da1878500441aeae9a3c5683e883f4531b7ec132
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M Source/WebCore/Modules/WebGPU/GPU.idl
    M Source/WebCore/Modules/WebGPU/GPUAdapter.idl
    M Source/WebCore/Modules/WebGPU/GPUAdapterInfo.idl
    M Source/WebCore/Modules/WebGPU/GPUBindGroup.idl
    M Source/WebCore/Modules/WebGPU/GPUBindGroupLayout.idl
    M Source/WebCore/Modules/WebGPU/GPUBuffer.idl
    M Source/WebCore/Modules/WebGPU/GPUBufferUsage.idl
    M Source/WebCore/Modules/WebGPU/GPUColorWrite.idl
    M Source/WebCore/Modules/WebGPU/GPUCommandBuffer.idl
    M Source/WebCore/Modules/WebGPU/GPUCommandEncoder.idl
    M Source/WebCore/Modules/WebGPU/GPUCompilationInfo.idl
    M Source/WebCore/Modules/WebGPU/GPUCompilationMessage.idl
    M Source/WebCore/Modules/WebGPU/GPUComputePassEncoder.idl
    M Source/WebCore/Modules/WebGPU/GPUComputePipeline.idl
    M Source/WebCore/Modules/WebGPU/GPUDeviceLostInfo.idl
    M Source/WebCore/Modules/WebGPU/GPUExternalTexture.idl
    M Source/WebCore/Modules/WebGPU/GPUInternalError.idl
    M Source/WebCore/Modules/WebGPU/GPUMapMode.idl
    M Source/WebCore/Modules/WebGPU/GPUOutOfMemoryError.idl
    M Source/WebCore/Modules/WebGPU/GPUPipelineLayout.idl
    M Source/WebCore/Modules/WebGPU/GPUQuerySet.idl
    M Source/WebCore/Modules/WebGPU/GPUQueue.idl
    M Source/WebCore/Modules/WebGPU/GPURenderBundle.idl
    M Source/WebCore/Modules/WebGPU/GPURenderBundleEncoder.idl
    M Source/WebCore/Modules/WebGPU/GPURenderPassEncoder.idl
    M Source/WebCore/Modules/WebGPU/GPURenderPipeline.idl
    M Source/WebCore/Modules/WebGPU/GPUSampler.idl
    M Source/WebCore/Modules/WebGPU/GPUShaderModule.idl
    M Source/WebCore/Modules/WebGPU/GPUShaderStage.idl
    M Source/WebCore/Modules/WebGPU/GPUSupportedFeatures.idl
    M Source/WebCore/Modules/WebGPU/GPUSupportedLimits.idl
    M Source/WebCore/Modules/WebGPU/GPUTexture.idl
    M Source/WebCore/Modules/WebGPU/GPUTextureUsage.idl
    M Source/WebCore/Modules/WebGPU/GPUTextureView.idl
    M Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.idl
    M Source/WebCore/Modules/WebGPU/GPUValidationError.idl
    M Source/WebCore/Modules/WebGPU/WGSLLanguageFeatures.idl
    M Source/WebCore/html/canvas/GPUCanvasContext.idl
    M Source/WebCore/workers/service/ServiceWorkerGlobalScope.cpp
    M Source/WebCore/workers/service/ServiceWorkerGlobalScope.h
    M Source/WebCore/workers/service/context/ServiceWorkerThread.cpp
    M Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp
    M Source/WebKit/WebProcess/Storage/WebSharedWorkerContextManagerConnection.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebWorkerClient.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebWorkerClient.h

  Log Message:
  -----------
  [WebGPU] WebGPU spec updated to support SharedWorkers and ServiceWorkers from only DedicatedWorkers
https://bugs.webkit.org/show_bug.cgi?id=273195
<radar://126990546>

Reviewed by Tadeu Zagallo.

Add support for SharedWorkers and ServiceWorkers as the spec
requires it now.

* Source/WebCore/Modules/WebGPU/GPU.idl:
* Source/WebCore/Modules/WebGPU/GPUAdapter.idl:
* Source/WebCore/Modules/WebGPU/GPUAdapterInfo.idl:
* Source/WebCore/Modules/WebGPU/GPUBindGroup.idl:
* Source/WebCore/Modules/WebGPU/GPUBindGroupLayout.idl:
* Source/WebCore/Modules/WebGPU/GPUBuffer.idl:
* Source/WebCore/Modules/WebGPU/GPUBufferUsage.idl:
* Source/WebCore/Modules/WebGPU/GPUColorWrite.idl:
* Source/WebCore/Modules/WebGPU/GPUCommandBuffer.idl:
* Source/WebCore/Modules/WebGPU/GPUCommandEncoder.idl:
* Source/WebCore/Modules/WebGPU/GPUCompilationInfo.idl:
* Source/WebCore/Modules/WebGPU/GPUCompilationMessage.idl:
* Source/WebCore/Modules/WebGPU/GPUComputePassEncoder.idl:
* Source/WebCore/Modules/WebGPU/GPUComputePipeline.idl:
* Source/WebCore/Modules/WebGPU/GPUDeviceLostInfo.idl:
* Source/WebCore/Modules/WebGPU/GPUExternalTexture.idl:
* Source/WebCore/Modules/WebGPU/GPUInternalError.idl:
* Source/WebCore/Modules/WebGPU/GPUMapMode.idl:
* Source/WebCore/Modules/WebGPU/GPUOutOfMemoryError.idl:
* Source/WebCore/Modules/WebGPU/GPUPipelineLayout.idl:
* Source/WebCore/Modules/WebGPU/GPUQuerySet.idl:
* Source/WebCore/Modules/WebGPU/GPUQueue.idl:
* Source/WebCore/Modules/WebGPU/GPURenderBundle.idl:
* Source/WebCore/Modules/WebGPU/GPURenderBundleEncoder.idl:
* Source/WebCore/Modules/WebGPU/GPURenderPassEncoder.idl:
* Source/WebCore/Modules/WebGPU/GPURenderPipeline.idl:
* Source/WebCore/Modules/WebGPU/GPUSampler.idl:
* Source/WebCore/Modules/WebGPU/GPUShaderModule.idl:
* Source/WebCore/Modules/WebGPU/GPUShaderStage.idl:
* Source/WebCore/Modules/WebGPU/GPUSupportedFeatures.idl:
* Source/WebCore/Modules/WebGPU/GPUSupportedLimits.idl:
* Source/WebCore/Modules/WebGPU/GPUTexture.idl:
* Source/WebCore/Modules/WebGPU/GPUTextureUsage.idl:
* Source/WebCore/Modules/WebGPU/GPUTextureView.idl:
* Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.idl:
* Source/WebCore/Modules/WebGPU/GPUValidationError.idl:
* Source/WebCore/Modules/WebGPU/WGSLLanguageFeatures.idl:
* Source/WebCore/html/canvas/GPUCanvasContext.idl:
Update idl files

* Source/WebCore/workers/WorkerGlobalScope.h:
* Source/WebCore/workers/WorkerLoaderProxy.h:
* Source/WebCore/workers/WorkerMessagingProxy.h:
* Source/WebCore/workers/WorkerThread.h:
* Source/WebCore/workers/service/ServiceWorkerGlobalScope.cpp:
(WebCore::ServiceWorkerGlobalScope::create):
(WebCore::ServiceWorkerGlobalScope::ServiceWorkerGlobalScope):
* Source/WebCore/workers/service/ServiceWorkerGlobalScope.h:
* Source/WebCore/workers/service/context/ServiceWorkerThread.cpp:
(WebCore::ServiceWorkerThread::createWorkerGlobalScope):
* Source/WebCore/workers/service/context/ServiceWorkerThreadProxy.h:
* Source/WebCore/workers/shared/context/SharedWorkerThreadProxy.h:
* Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp:
(WebKit::WebSWContextManagerConnection::installServiceWorker):
* Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.h:
* Source/WebKit/WebProcess/Storage/WebSharedWorkerContextManagerConnection.cpp:
(WebKit::WebSharedWorkerContextManagerConnection::launchSharedWorker):
* Source/WebKit/WebProcess/Storage/WebSharedWorkerContextManagerConnection.h:
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::createWorkerClient):
* Source/WebKit/WebProcess/WebCoreSupport/WebWorkerClient.cpp:
(WebKit::WebWorkerClient::create):
* Source/WebKit/WebProcess/WebCoreSupport/WebWorkerClient.h:

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