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

Method doScheduleDraw

snap_drawing/src/snap_drawing/cpp/Drawing/DrawLooper.cpp:409–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409void DrawLooper::doScheduleDraw() {
410 _drawScheduled = true;
411 _frameScheduler->onNextVSync(Valdi::makeShared<DrawFramesCallback>(this));
412}
413
414// NOLINTNEXTLINE(readability-convert-member-functions-to-static)
415Ref<DrawLooperEntry> DrawLooper::getEntryForLayer(LayerRoot& layerRoot) const {

Callers

nothing calls this directly

Calls 1

onNextVSyncMethod · 0.45

Tested by

no test coverage detected