Using SkiaSharp for a real time graph

Hello,
I am currently building an application/library using Skiasharp which needs graphs. These graphs are updated each 4 ms with a new sample of data which is printed on the screen. I managed to make everything work but it is really slow.
1 second on my graph is actually 2 seconds in real life, it takes way longer than it should and I don't get why. I tried it with less frames and sample and I does everything fine up to 1 sample each 25 ms.

Does anyone know if this comes from Skiasharp because it can't refresh faster than 25ms ?
Does anyone know if there is a way to control the time Skiasharp takes to draw on the canvas ? To draw and update my graph I am using InvalidateSurface.

Thank you a lot for your help
Kind regards

Tagged:
Sign In or Register to comment.