[Webkit-unassigned] [Bug 245658] New: Provide dedicated functions for computation of from and to values for composite animations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 26 00:42:13 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245658

            Bug ID: 245658
           Summary: Provide dedicated functions for computation of from
                    and to values for composite animations
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: graouts at webkit.org
                CC: dino at apple.com, graouts at apple.com

Sam Weinig made a good point in https://github.com/WebKit/WebKit/pull/4674#issuecomment-1257318558:

> As a side note, so not needed for this PR, unless there is some great reason I don't quite understand to
> keep it the way it is, I think we should consider modeling these different compositing operations in a way
> that is easier to understand.
> I think the obvious way to do this would be to stop using the blend() functions for computing the used
> from/to for additive/accumulative animations, and instead add a new entry point. Obviously this would
> add a bit of extra boilerplate, but I think the clarity would be good in the end.

I also agree with this, especially since we call blend() with progress = 1 at all times.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220926/f81e1a1b/attachment.htm>


More information about the webkit-unassigned mailing list