Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dcf961e05925b368d924b430647ea50d9ec63fe8
https://github.com/WebKit/WebKit/commit/dcf961e05925b368d924b430647ea50d9ec63fe8
Author: Etienne Segonzac <[email protected]>
Date: 2026-03-30 (Mon, 30 Mar 2026)
Changed paths:
M Source/WebKit/WebProcess/GPU/graphics/Model/RemoteMeshProxy.cpp
M Source/WebKit/WebProcess/GPU/graphics/Model/RemoteMeshProxy.h
M Source/WebKit/WebProcess/Model/WebModelPlayer.h
M Source/WebKit/WebProcess/Model/WebModelPlayer.mm
Log Message:
-----------
Finish wiring model.entityTransform for the WebModelPlayer
https://bugs.webkit.org/show_bug.cgi?id=310909
<rdar://172649117>
Reviewed by Mike Wyrzykowski.
The object-fit and stagemode transforms should also be relayed to the
Model#entityTransform property.
* Source/WebKit/WebProcess/GPU/graphics/Model/RemoteMeshProxy.cpp:
(WebKit::RemoteMeshProxy::entityTransform const):
(WebKit::RemoteMeshProxy::computeTransform):
* Source/WebKit/WebProcess/GPU/graphics/Model/RemoteMeshProxy.h:
Store the final computed transform and use it to communicate back to the
client.
* Source/WebKit/WebProcess/Model/WebModelPlayer.h:
* Source/WebKit/WebProcess/Model/WebModelPlayer.mm:
(WebKit::WebModelPlayer::notifyEntityTransformUpdated):
(WebKit::WebModelPlayer::sizeDidChange):
(WebKit::WebModelPlayer::handleMouseMove):
(WebKit::WebModelPlayer::simulate):
Remote the unused `m_currentScale`.
Notify of entity transform updates during stagemode.
Canonical link: https://commits.webkit.org/310224@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications