Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
void DisplayLink::start() {
13
if (playing == false) {
14
OH_NativeVSync_RequestFrame(vSync, &DisplayLink::VSyncCallback, this);
15
playing = true;
16
}
17
}
18
19
void DisplayLink::stop() {
20
playing = false;
Callers
1
StartDrawLoop
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected