MCPcopy Create free account
hub / github.com/Tencent/tgfx / start

Method start

ohos/hello2d/src/main/cpp/DisplayLink.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12void DisplayLink::start() {
13 if (playing == false) {
14 OH_NativeVSync_RequestFrame(vSync, &DisplayLink::VSyncCallback, this);
15 playing = true;
16 }
17}
18
19void DisplayLink::stop() {
20 playing = false;

Callers 1

StartDrawLoopFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected