Interpolate path android performance stutters #1354
Unanswered
tharyckgusmao
asked this question in
Q&A
Replies: 2 comments
-
In your demo, I am not seeing where the path is being converted from SVG notation to SkPath? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, I convert using the Skia.Path.MakeFromSVGString(path) method, from a generated array, into useMemo like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello friends, I was doing some tests of concepts with path interpolation, but I felt the need to share and maybe someone can give me a light...
I feel that the path interpolation on android has a slight stutter but with fps at 60, I can't understand why it seems to choke and doesn't have a good performance, on IOS no have problems.
This is my short code snippet:
I create some paths based on this method:
and I do the interpolation based on a button that changes the progress of the variable Skia:
Follow the attached video, I did the same test on a release app and not so different I recorded it on my cell phone to try to show the gagging.
shuttering.mp4
Do you have any idea what I can do for android in particular? I test in Readmi note 8
Hugs
Beta Was this translation helpful? Give feedback.
All reactions