Bug 264796

Summary: [web-animations] interpolating keyframes should be shared in `KeyframeInterpolation`
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, graouts, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 264747, 264756    
Bug Blocks: 250970    

Description Antoine Quint 2023-11-13 22:50:32 PST
Currently the code to interpolate keyframes is contained within `KeyframeEffect::setAnimatedPropertiesInStyle()`. As part of the work on threaded animation resolution (see bug 250970), we will need to share this logic with `AcceleratedEffect` as well. Now that we have a shared concept of a keyframe (see bug 264747) and shared code to determine the interpolation interval (see bug 264756), we can add a method to `KeyframeInterpolation` for the purpose of interpolation and whatever virtual methods are required to support it.
Comment 1 Antoine Quint 2023-11-13 22:59:43 PST
Pull request: https://github.com/WebKit/WebKit/pull/20464
Comment 2 EWS 2023-11-14 00:52:20 PST
Committed 270700@main (5dfffd1d9c0c): <https://commits.webkit.org/270700@main>

Reviewed commits have been landed. Closing PR #20464 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-11-14 00:53:13 PST
<rdar://problem/118380665>