Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4a147761f109eb547258ad4614319a6face1138a
https://github.com/WebKit/WebKit/commit/4a147761f109eb547258ad4614319a6face1138a
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/ModelTypes.h
M Source/WebGPU/WebGPU/USDModel.swift
Log Message:
-----------
[Model element] Support `loop` attribute in GPU process model element
https://bugs.webkit.org/show_bug.cgi?id=299479
rdar://161268576
Reviewed by Etienne Segonzac.
If looping is disabled, stop the animation when it completes.
* Source/WebCore/Modules/model-element/WebModelPlayer.h:
* Source/WebCore/Modules/model-element/WebModelPlayer.mm:
(WebCore::WebModelPlayer::isLoopingAnimation):
(WebCore::WebModelPlayer::setIsLoopingAnimation):
(WebCore::WebModelPlayer::update):
* Source/WebGPU/WebGPU/ModelTypes.h:
* Source/WebGPU/WebGPU/USDModel.swift:
(USDModelLoader.currentTime):
(WebBridgeModelLoader.currentTime):
Canonical link: https://commits.webkit.org/306797@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications