Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 534644cb68a0396b7c4c77eca53e2ef8ca520bae
https://github.com/WebKit/WebKit/commit/534644cb68a0396b7c4c77eca53e2ef8ca520bae
Author: Mike Wyrzykowski <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M Source/WebKit/GPUProcess/graphics/Model/ModelBridge.swift
M Source/WebKit/GPUProcess/graphics/Model/ModelIBLTextures.swift
M Source/WebKit/GPUProcess/graphics/Model/ModelParameters.swift
M Source/WebKit/GPUProcess/graphics/Model/ModelRenderer.swift
M Source/WebKit/GPUProcess/graphics/Model/ModelTypes.h
M Source/WebKit/GPUProcess/graphics/Model/ModelUtils.swift
M Source/WebKit/GPUProcess/graphics/Model/RemoteMesh.cpp
M Source/WebKit/GPUProcess/graphics/Model/RemoteMesh.h
M Source/WebKit/GPUProcess/graphics/Model/RemoteMesh.messages.in
M Source/WebKit/GPUProcess/graphics/Model/USDModel.swift
M Source/WebKit/WebProcess/GPU/graphics/Model/RemoteMeshProxy.cpp
M Source/WebKit/WebProcess/GPU/graphics/Model/RemoteMeshProxy.h
M Source/WebKit/WebProcess/Model/ModelInlineConverters.h
Log Message:
-----------
Adopt new RealityCoreRenderer changes
https://bugs.webkit.org/show_bug.cgi?id=308646
rdar://171090357
Reviewed by Etienne Segonzac.
Adopt RealityCoreRenderer changes in RealityCoreRenderer-11
* Source/WebKit/GPUProcess/graphics/Model/ModelBridge.swift:
(WKBridgeBlendShapeData.weights):
(WKBridgeBlendShapeData.positionOffsets):
(WKBridgeBlendShapeData.normalOffsets):
(WKBridgeRenormalizationData.vertexIndicesPerTriangle):
(WKBridgeRenormalizationData.vertexAdjacencies):
(WKBridgeRenormalizationData.vertexAdjacencyEndIndices):
* Source/WebKit/GPUProcess/graphics/Model/ModelIBLTextures.swift:
* Source/WebKit/GPUProcess/graphics/Model/ModelParameters.swift:
* Source/WebKit/GPUProcess/graphics/Model/ModelRenderer.swift:
(Renderer.renderer):
(Renderer.renderTargetDescriptor):
(Renderer.pose):
(Renderer.createMaterialCompiler(_:rasterSampleCount:colorSpace:)):
(Renderer.setCameraDistance(_:)):
(Renderer.setCameraTransform(_:)):
(RealityCoreRenderer.encode(to:byteOffset:)): Deleted.
(Renderer.globalConstants): Deleted.
(Renderer.globalConstantsEncoder): Deleted.
(Renderer.renderWorkload): Deleted.
(Renderer.cameraPose): Deleted.
(Renderer.createMaterialCompiler(_:)): Deleted.
(Renderer.updateGlobalConstants(_:)): Deleted.
* Source/WebKit/GPUProcess/graphics/Model/ModelTypes.h:
* Source/WebKit/GPUProcess/graphics/Model/ModelUtils.swift:
(mapSemantic(_:)):
(_Proto_LowLevelMeshResource_v1.fromLlmDescriptor(_:)):
* Source/WebKit/GPUProcess/graphics/Model/RemoteMesh.cpp:
(WebKit::RemoteMesh::update):
(WebKit::RemoteMesh::updateTexture):
(WebKit::RemoteMesh::updateMaterial):
* Source/WebKit/GPUProcess/graphics/Model/RemoteMesh.h:
* Source/WebKit/GPUProcess/graphics/Model/RemoteMesh.messages.in:
* Source/WebKit/GPUProcess/graphics/Model/USDModel+Deformation.swift: Added.
(WKBridgeReceiver.deformers):
(WKBridgeReceiver.inputMeshDescription):
(WKBridgeSkinningData.makeDeformerDescription(_:)):
(WKBridgeBlendShapeData.makeDeformerDescription(_:)):
(WKBridgeRenormalizationData.makeDeformerDescription(_:)):
* Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:
(logError(_:)):
(logInfo(_:)):
(WKBridgeUSDConfiguration.renderer):
(WKBridgeUSDConfiguration.renderTarget):
(WKBridgeUSDConfiguration.createMaterialCompiler):
(WKBridgeReceiver.lightingArgumentBuffer):
(WKBridgeReceiver.renderTarget):
(WKBridgeReceiver.meshInstancePlainArray):
(WKBridgeReceiver.meshInstances):
(WKBridgeReceiver.meshResources):
(WKBridgeReceiver.meshResourceToMaterials):
(WKBridgeReceiver.meshToMeshInstances):
(WKBridgeReceiver.meshTransforms):
(WKBridgeReceiver.rotationAngle):
(meshResourceToDeformationContext):
(Material.updateMaterial(_:)):
(toSGType(_:)): Deleted.
(toSGModuleReference(_:)): Deleted.
(toSGTypeDefinition(_:)): Deleted.
(toSGTypeReference(_:)): Deleted.
(toSGStructMember(_:)): Deleted.
(toSGEnumCase(_:)): Deleted.
(toSGFunction(_:)): Deleted.
(toSGFunctionArgument(_:)): Deleted.
(toSGModuleGraph(_:)): Deleted.
(toSGNode(_:)): Deleted.
(toSGNodeID(_:)): Deleted.
(toSGNodeInstruction(_:)): Deleted.
(toSGNodeInstructionFromFunctionCall(_:)): Deleted.
(toSGNodeInstructionFromFunctionConstant(_:literal:)): Deleted.
(toSGNodeInstructionFromLiteral(_:)): Deleted.
(toSGNodeInstructionFromArgument(_:)): Deleted.
(toSGNodeInstructionFromElement(_:name:)): Deleted.
(toSGLiteral(_:)): Deleted.
(toSGGraphEdge(_:ShaderGraph:String:)): Deleted.
(fromSGType(_:)): Deleted.
(fromSGModuleReferenceArray(_:)): Deleted.
(fromSGModuleReference(_:)): Deleted.
(fromSGTypeDefinitionArray(_:)): Deleted.
(fromSGTypeDefinition(_:)): Deleted.
(fromSGTypeReference(_:)): Deleted.
(fromSGStructMember(_:)): Deleted.
(fromSGEnumCase(_:)): Deleted.
(fromSGFunctionArray(_:)): Deleted.
(fromSGFunction(_:)): Deleted.
(fromSGFunctionArgument(_:)): Deleted.
(fromSGModuleGraphArray(_:)): Deleted.
(fromSGModuleGraph(_:)): Deleted.
(fromSGNode(_:)): Deleted.
(fromSGNodeID(_:)): Deleted.
(fromSGNodeInstruction(_:)): Deleted.
(fromSGLiteral(_:)): Deleted.
(fromSGGraphEdge(_:ShaderGraph:String:)): Deleted.
(MTLCaptureDescriptor.mapSemantic(_:)): Deleted.
(_Proto_LowLevelMeshResource_v1.fromLlmDescriptor(_:)): Deleted.
(isNonZero(_:)): Deleted.
(RenderTargetWrapper.descriptor): Deleted.
(WKBridgeUSDConfiguration.renderWorkload): Deleted.
(WKBridgeReceiver.deformers): Deleted.
(WKBridgeReceiver.inputMeshDescription): Deleted.
(WKBridgeSkinningData.makeDeformerDescription(_:)): Deleted.
* Source/WebKit/GPUProcess/graphics/Model/WebKitMesh.mm:
(WebKit::WebMesh::setCameraDistance):
* Source/WebKit/GPUProcess/graphics/Model/WebKit_Internal.modulemap: Added.
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKit/WebProcess/Model/ModelInlineConverters.h:
(WebKit::toCpp):
Canonical link: https://commits.webkit.org/308315@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications