Home
last modified time | relevance | path

Searched refs:fCurrentFrame (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/tools/viewer/
DSkottieSlide.cpp216 const auto frame_index = static_cast<size_t>(fCurrentFrame); in draw()
261 fCurrentFrame = std::fmod(t_sec * fAnimation->fps(), frame_count); in animate()
264 fTimeBase = nanos - fCurrentFrame / fAnimation->fps() * 1e9; in animate()
268 fCurrentFrame = SkTPin<float>(fCurrentFrame, 0.0f, frame_count - 1); in animate()
271 fCurrentFrame = std::trunc(fCurrentFrame * fps_scale) / fps_scale; in animate()
274 fAnimation->seekFrame(fCurrentFrame, fShowAnimationInval ? &fInvalController in animate()
345 ImGui::SliderFloat("", &fCurrentFrame, 0, fAnimation->duration() * fAnimation->fps() - 1); in renderUI()
DSkottieSlide.h52 float fCurrentFrame = 0; variable