Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Support animated images in the CanvasKit backend#15678

Merged
harryterkelsen merged 4 commits into
flutter-team-archive:masterfrom
harryterkelsen:canvaskit-animated-images
Jan 16, 2020
Merged

Support animated images in the CanvasKit backend#15678
harryterkelsen merged 4 commits into
flutter-team-archive:masterfrom
harryterkelsen:canvaskit-animated-images

Conversation

@harryterkelsen

Copy link
Copy Markdown
Contributor

Screencast:
animated_images

blocked for now because we can't get the SkImage for the frame
int get frameCount => _skAnimatedImage.callMethod('getFrameCount');

/// Decodes the next frame and returns the frame duration.
int decodeNextFrame() => _skAnimatedImage.callMethod('decodeNextFrame');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why not convert to Duration here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

@harryterkelsen harryterkelsen merged commit 6693dd7 into flutter-team-archive:master Jan 16, 2020
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Jan 16, 2020
…m-archive/engine#15678) (#48993)

flutter-team-archive/engine@c7d0fb7...6693dd7

git log c7d0fb7..6693dd7 --first-parent --oneline
2020-01-16 hterkelsen@users.noreply.github.com Support animated images in the CanvasKit backend (flutter-team-archive/engine#15678)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
NoamDev pushed a commit to NoamDev/engine that referenced this pull request Feb 27, 2020
NoamDev added a commit to NoamDev/engine that referenced this pull request Feb 27, 2020
filmil pushed a commit to filmil/engine that referenced this pull request Mar 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

3 participants