3.5.0 swappy (#10327)

* gles2/3 swappy
* vk swappy
* manually fallback in GL

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
This commit is contained in:
Zeqiang Li
2022-03-24 15:37:38 +08:00
committed by GitHub
parent bc59c43cd1
commit e64301ad34
19 changed files with 546 additions and 8 deletions
@@ -74,4 +74,12 @@ void AndroidPlatform::pollEvent() {
_jniNativeGlue->flushTasksOnGameThread();
}
}; // namespace cc
void *AndroidPlatform::getActivity() {
return _jniNativeGlue->getActivity();
}
void *AndroidPlatform::getEnv() {
return _jniNativeGlue->getEnv();
}
}; // namespace cc