Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dbc483b29505781771b9c8335cdea707bf301b6d
      
https://github.com/WebKit/WebKit/commit/dbc483b29505781771b9c8335cdea707bf301b6d
  Author: Richard Robinson <[email protected]>
  Date:   2025-11-19 (Wed, 19 Nov 2025)

  Changed paths:
    M Source/WebGPU/WebGPU/DDMesh.mm
    M Source/WebGPU/WebGPU/DDModelTypes.h
    M Source/WebGPU/WebGPU/Internal/module.modulemap

  Log Message:
  -----------
  [Swift in WebKit] Work towards proper WebGPU modularization (part 2)
https://bugs.webkit.org/show_bug.cgi?id=302613
rdar://164853644

Reviewed by Mike Wyrzykowski.

- All modules should have the `[system]` attribute. In this mode, `NSUInteger` 
is translated to Swift as `Int`.
Consequently, update some properties in `DDModelTypes` to stop using 
NSUInteger; for properties that just need
"some reasonably large limited" number, they should just use `NSInteger`, and 
properties that require a specific
width integer type should just use that type directly.

- All declarations in `DDModelTypes.h` are Objective-C, except for the enum 
declarations which are nonsensically
C++ enums instead of Objective C enums. Convert them to Objective C enums to be 
more consistent and substantially
easier to use in Swift.

* Source/WebGPU/WebGPU/DDMesh.mm:
(WebGPU::convert):
* Source/WebGPU/WebGPU/DDModelTypes.h:
* Source/WebGPU/WebGPU/Internal/module.modulemap:

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



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

Reply via email to