Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c30e8e04a9c5fa5dbb152987a5c1ec3ab5235120
https://github.com/WebKit/WebKit/commit/c30e8e04a9c5fa5dbb152987a5c1ec3ab5235120
Author: Mike Wyrzykowski <[email protected]>
Date: 2025-12-05 (Fri, 05 Dec 2025)
Changed paths:
M Source/WebCore/Modules/Model/Implementation/DDMeshImpl.mm
M Source/WebCore/Modules/Model/ModelDDInlineConverters.h
M Source/WebGPU/Configurations/WebGPU.xcconfig
M Source/WebGPU/WebGPU/DDMesh.mm
M Source/WebGPU/WebGPU/DDModelTypes.h
M Source/WebGPU/WebGPU/USDModel.swift
Log Message:
-----------
Stage USDModel.swift so it can be removed from EXCLUDED_SOURCE_FILE_NAMES
https://bugs.webkit.org/show_bug.cgi?id=303353
rdar://165663150
Reviewed by Etienne Segonzac.
Adjust defines so <model> code compiles whether or not
GPU_PROCESS_MODEL and the dependent frameworks exist or not.
Locally this builds in the following configurations:
* GPU_PROCESS_MODEL is 0 and framework is missing
* GPU_PROCESS_MODEL is 0 and framework is present
* GPU_PROCESS_MODEL is 1 and framework is present
* GPU_PROCESS_MODEL is 1 and framework is missing
which should cover all scenarios.
* Source/WebGPU/Configurations/WebGPU.xcconfig:
* Source/WebGPU/WebGPU/DDModelTypes.h:
* Source/WebGPU/WebGPU/USDModel.swift:
(DDBridgeReceiver.initRenderer(_:)):
(DDBridgeReceiver.render(with:)):
(DDBridgeReceiver.updateTexture(_:)):
(DDBridgeReceiver.updateMaterial(_:)):
(DDBridgeReceiver.updateMesh(_:)):
(DDBridgeReceiver.setTransform(_:)):
(DDBridgeReceiver.setCameraDistance(_:)):
(DDBridgeReceiver.setPlaying(_:)):
(DDBridgeModelLoader.loadModel(from:)):
(DDBridgeModelLoader.update(_:)):
(DDBridgeModelLoader.requestCompleted(_:)):
Canonical link: https://commits.webkit.org/304014@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications