You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
animator definition describes the definition of an animator on the worklet but given that implementations may have multiple worklets we need a document animator definition concept (analogous to document paint definition) and document animator definition map which describes the main context's concept of valid animators. This should be referred to when creating AnimationWorklets, and definitions verified or rejected when registering animators (Similar to step 22 of Registering a custom paint).
The text was updated successfully, but these errors were encountered:
Add document animator definition and corressponding map.
This ensures when registering an animator inside multiple global
scope, it is not valid to register different types of classes.
At the moment the only difference can be between statefullness.
This document animator map is also consulted when constructing
a worklet animation to reject use of an invalid (unregistered)
name.
Also updated the prose to use map from infra spec which is more
concrete and in line with paint worklet spec.
The PR adds document animator definition and corresponding map. The map is consulted and updated during registration process.At the moment, the only possible difference between two registration is the "statefullness". In future if we add inputProperties those could also create potential for difference.
Also updated the prose to use map from infra spec which is moreconcrete and in line with paint worklet spec.
Uh oh!
There was an error while loading. Please reload this page.
animator definition describes the definition of an animator on the worklet but given that implementations may have multiple worklets we need a document animator definition concept (analogous to document paint definition) and document animator definition map which describes the main context's concept of valid animators. This should be referred to when creating AnimationWorklets, and definitions verified or rejected when registering animators (Similar to step 22 of Registering a custom paint).
The text was updated successfully, but these errors were encountered: