Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
730
bool Layer::needsProcessAnimations() const {
731
return _enqueuedFrame.has_value();
732
}
733
734
void Layer::scheduleProcessAnimationsIfNeeded() {
735
if (_enqueuedFrame || _animations.empty() || _root == nullptr) {
Callers
1
TEST_F
Function · 0.80
Calls
1
has_value
Method · 0.45
Tested by
1
TEST_F
Function · 0.64