Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5a57ba9e0e515b6524097b8dd51c1d532226e271
      
https://github.com/WebKit/WebKit/commit/5a57ba9e0e515b6524097b8dd51c1d532226e271
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M Source/WebCore/Modules/model-element/WebModelPlayer.h
    M Source/WebCore/Modules/model-element/WebModelPlayer.mm
    M Source/WebGPU/WebGPU/Mesh.mm
    M Source/WebGPU/WebGPU/ModelRenderer.swift
    M Source/WebGPU/WebGPU/ModelTypes.h
    M Source/WebGPU/WebGPU/USDModel.swift

  Log Message:
  -----------
  Adopt in-memory USD loading APIs
https://bugs.webkit.org/show_bug.cgi?id=305865
rdar://168527219

Reviewed by Etienne Segonzac.

Instead of loading from a URL, load from an NSData. We
need to retain the data for the lifetime of rendering the
USD file.

* Source/WebCore/Modules/model-element/WebModelPlayer.h:
* Source/WebCore/Modules/model-element/WebModelPlayer.mm:
(WebCore::WebModelPlayer::load):
* Source/WebGPU/WebGPU/Mesh.mm:
(WebModel::Mesh::Mesh):
* Source/WebGPU/WebGPU/ModelRenderer.swift:
* Source/WebGPU/WebGPU/ModelTypes.h:
* Source/WebGPU/WebGPU/USDModel.swift:
(WebUSDConfiguration.createMaterialCompiler):
(USDModelLoader.stage):
(USDModelLoader.loadModel(_:)):
(WebBridgeModelLoader.loadModel(_:)):

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



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

Reply via email to