MCPcopy Create free account
hub / github.com/Snapchat/Valdi / needsProcessAnimations

Method needsProcessAnimations

snap_drawing/src/snap_drawing/cpp/Layers/Layer.cpp:730–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728}
729
730bool Layer::needsProcessAnimations() const {
731 return _enqueuedFrame.has_value();
732}
733
734void Layer::scheduleProcessAnimationsIfNeeded() {
735 if (_enqueuedFrame || _animations.empty() || _root == nullptr) {

Callers 1

TEST_FFunction · 0.80

Calls 1

has_valueMethod · 0.45

Tested by 1

TEST_FFunction · 0.64