Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/tgfx
/ getGLSync
Method
getGLSync
src/gpu/Backend.cpp:118–124 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
116
}
117
118
bool BackendSemaphore::getGLSync(GLSyncInfo* syncInfo) const {
119
if (_backend != Backend::OPENGL || glSyncInfo.sync == nullptr) {
120
return false;
121
}
122
*syncInfo = glSyncInfo;
123
return true;
124
}
125
} // namespace tgfx
Callers
1
importExternalFence
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected