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

Method render

example/lottieperf.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 _surface = rlottie::Surface(_buffer.get(), 100, 100, 100 * 4);
46 }
47 void render()
48 {
49 if (_cur >= _frames) _cur = 0;
50 _animation->renderSync(_cur++, _surface);
51 }
52 void renderAsync()
53 {
54 if (_cur >= _frames) _cur = 0;

Callers 2

renderAsyncMethod · 0.45
benchmarkMethod · 0.45

Calls 1

renderSyncMethod · 0.80

Tested by

no test coverage detected