Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle inactive timelines for main-thread worklet animations. #15767

Merged
merged 1 commit into from Mar 22, 2019

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Mar 11, 2019

Whenever start or current time is queried or calculated,
check if the timeline becomes newly active or inactive and cache the
last calculated current time.

  • When the timeline becomes newly inactive, make the start time
    unresolved and apply previous current time to the hold time.
  • When the timeline becomes newly active, calculate start time from
    the hold time if resolved and make the hold time unresolved.

Bug: 906050
Change-Id: I3cf8e45b9ab0edd13f3108d1a375e95409a0c1e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1512789
Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#643534}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already reviewed downstream.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-1512789 branch 4 times, most recently from e237df4 to 9015cf7 Compare March 18, 2019 23:01
@chromium-wpt-export-bot chromium-wpt-export-bot changed the title Implemented handling inactive timelines for not composited worklet animations. Handle inactive timelines for main-thread worklet animations. Mar 20, 2019
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-1512789 branch 3 times, most recently from 39b7c92 to 3d0329f Compare March 22, 2019 19:37
Whenever start or current time is queried or calculated,
check if the timeline becomes newly active or inactive and cache the
last calculated current time.
- When the timeline becomes newly inactive, make the start time
  unresolved and apply previous current time to the hold time.
- When the timeline becomes newly active, calculate start time from
  the hold time if resolved and make the hold time unresolved.

Bug: 906050
Change-Id: I3cf8e45b9ab0edd13f3108d1a375e95409a0c1e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1512789
Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#643534}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants