[webkit-changes] [WebKit/WebKit] db45da: [WebGPU] GPUErrorFilter is missing "internal" value

mwyrzykowski noreply at github.com
Sat Mar 11 19:14:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: db45da964d545f2c9b1f0abad275cb539e5bd169
      https://github.com/WebKit/WebKit/commit/db45da964d545f2c9b1f0abad275cb539e5bd169
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-03-11 (Sat, 11 Mar 2023)

  Changed paths:
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/DerivedSources-input.xcfilelist
    M Source/WebCore/DerivedSources-output.xcfilelist
    M Source/WebCore/DerivedSources.make
    M Source/WebCore/Modules/WebGPU/GPUDevice.cpp
    M Source/WebCore/Modules/WebGPU/GPUDevice.h
    M Source/WebCore/Modules/WebGPU/GPUDeviceError.idl
    M Source/WebCore/Modules/WebGPU/GPUError.h
    M Source/WebCore/Modules/WebGPU/GPUErrorFilter.h
    M Source/WebCore/Modules/WebGPU/GPUErrorFilter.idl
    A Source/WebCore/Modules/WebGPU/GPUInternalError.cpp
    A Source/WebCore/Modules/WebGPU/GPUInternalError.h
    A Source/WebCore/Modules/WebGPU/GPUInternalError.idl
    M Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.cpp
    M Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.idl
    M Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEventInit.idl
    M Source/WebCore/PAL/PAL.xcodeproj/project.pbxproj
    M Source/WebCore/PAL/pal/CMakeLists.txt
    M Source/WebCore/PAL/pal/graphics/WebGPU/Impl/WebGPUConvertToBackingContext.cpp
    M Source/WebCore/PAL/pal/graphics/WebGPU/WebGPUErrorFilter.h
    A Source/WebCore/PAL/pal/graphics/WebGPU/WebGPUInternalError.h
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/bindings/js/WebCoreBuiltinNames.h
    M Source/WebKit/Scripts/webkit/messages.py
    M Source/WebKit/Shared/WebGPU/WebGPUConvertFromBackingContext.h
    M Source/WebKit/Shared/WebGPU/WebGPUConvertToBackingContext.h
    A Source/WebKit/Shared/WebGPU/WebGPUInternalError.cpp
    A Source/WebKit/Shared/WebGPU/WebGPUInternalError.h
    M Source/WebKit/Sources.txt
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  [WebGPU] GPUErrorFilter is missing "internal" value
https://bugs..webkit.org/show_bug.cgi?id=253478
<radar://106337546>

Reviewed by Myles C. Maxfield.

Add GPUInternalError and corresponding files.

* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Modules/WebGPU/GPUDevice.cpp:
(WebCore::GPUDevice::popErrorScope):
* Source/WebCore/Modules/WebGPU/GPUDevice.h:
* Source/WebCore/Modules/WebGPU/GPUDeviceError.idl:
* Source/WebCore/Modules/WebGPU/GPUError.h:
* Source/WebCore/Modules/WebGPU/GPUErrorFilter.h:
(WebCore::convertToBacking):
* Source/WebCore/Modules/WebGPU/GPUErrorFilter.idl:
* Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.cpp:
(WebCore::GPUUncapturedErrorEvent::error const):
* Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.idl:
* Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEventInit.idl:
* Source/WebCore/PAL/PAL.xcodeproj/project.pbxproj:
* Source/WebCore/PAL/pal/graphics/WebGPU/Impl/WebGPUConvertToBackingContext.cpp:
(PAL::WebGPU::ConvertToBackingContext::convertToBacking):
* Source/WebCore/PAL/pal/graphics/WebGPU/WebGPUErrorFilter.h:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
* Source/WebKit/Shared/WebGPU/WebGPUConvertFromBackingContext.h:
* Source/WebKit/Shared/WebGPU/WebGPUConvertToBackingContext.h:
* Source/WebKit/Sources.txt:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebCore/Modules/WebGPU/GPUInternalError.cpp: Added.
(WebCore::GPUInternalError::message const):
* Source/WebCore/Modules/WebGPU/GPUInternalError.h: Added.
(WebCore::GPUInternalError::create):
(WebCore::GPUInternalError::backing):
(WebCore::GPUInternalError::backing const):
(WebCore::GPUInternalError::GPUInternalError):
* Source/WebCore/Modules/WebGPU/GPUInternalError.idl: Added.
* Source/WebCore/PAL/pal/graphics/WebGPU/WebGPUInternalError.h: Added.
* Source/WebKit/Shared/WebGPU/WebGPUInternalError.cpp: Added.
(WebKit::WebGPU::ConvertToBackingContext::convertToBacking):
(WebKit::WebGPU::ConvertFromBackingContext::convertFromBacking):
* Source/WebKit/Shared/WebGPU/WebGPUInternalError.h: Added.
Add new files

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




More information about the webkit-changes mailing list