MCPcopy Create free account
hub / github.com/Samsung/rlottie / renderAsync

Method renderAsync

example/lottieperf.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 _animation->renderSync(_cur++, _surface);
51 }
52 void renderAsync()
53 {
54 if (_cur >= _frames) _cur = 0;
55 _future = _animation->render(_cur++, _surface);
56 }
57 void get()
58 {
59 if (_future.valid()) _future.get();

Callers 1

benchmarkMethod · 0.45

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected