xvrh / lottie-flutter

Render After Effects animations natively on Flutter. This package is a pure Dart implementation of a Lottie player.
https://pub.dev/packages/lottie
MIT License
1.13k stars 197 forks source link

Using this library will use a lot of GPUs, even if `enableRenderCache` has been used #322

Closed shuax closed 6 months ago

shuax commented 7 months ago

Loading a very simple animation will use 30% of the GPU, and the edges of the window will constantly refresh and flicker.

image GPU:Intel(R) UHD Graphics 770

https://github.com/xvrh/lottie-flutter/assets/6940583/1dd8a309-1694-4d43-baac-887b8f45c07a

xvrh commented 7 months ago

Can you provide a reproducible example?

shuax commented 7 months ago

Even if I use LinearProgressIndicator, it will occupy a lot of GPU, which should not be lottie's problem.