Bug 82293

Summary: Refactor AnimationBase to increase code reuse
Product: WebKit Reporter: Robin Cao <robin.webkit>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ahmad.saleem792, dongseong.hwang, graouts
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Robin Cao
Reported 2012-03-26 21:23:01 PDT
Currently, some utility functions in AnimationBase/KeyframeAnimation are copied to several places. For example, the following functions are copied to: WebCore/platform/graphics/texmap/TextureMapperAnimation.cpp Source/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp static inline double solveEpsilon(double duration) static inline double solveCubicBezierFunction(double p1x, double p1y, double p2x, double p2y, double t, double duration) static inline double solveStepsFunction(int numSteps, bool stepAtStart, double t)
Attachments
Ahmad Saleem
Comment 1 2024-05-17 11:30:34 PDT
AnimationBase code is gone - https://github.com/WebKit/WebKit/commit/15433766d180265ef8953942e2ec0d23eb7d8f52 @Antoine - anything or we can close this? As for these clean-ups: GraphicsLayerQt.cpp - Qt port is gone. TextureMapperAnimation.cpp - changed to NicosiaAnimation.cpp here: https://github.com/WebKit/WebKit/commit/dc4ce40f38f322ae0c829f50da2e36a766a511b0 solveEpsilon & solveStepsFunction -> in SVGAnimation (not in any other place). solveCubicBezierFunction - Got deleted - https://github.com/WebKit/WebKit/commit/45b5180629e747e0e5f997ba3e24a779c07a292b I think nothing much to do here.
Antoine Quint
Comment 2 2024-05-21 02:40:37 PDT
This is no longer relevant.
Note You need to log in before you can comment on or make changes to this bug.