Fix frame pacing issues (#3032)

This commit is contained in:
Adrian Cojocaru
2024-11-26 18:53:41 +02:00
committed by GitHub
parent e394fcd4a4
commit 1a38075a1c
8 changed files with 32 additions and 12 deletions

View File

@@ -149,6 +149,12 @@ void RunLoop::stop() {
invoke([&] { uv_unref(impl->holderHandle()); });
}
void RunLoop::updateTime() {
MBGL_VERIFY_THREAD(tid);
uv_update_time(impl->loop);
}
void RunLoop::waitForEmpty([[maybe_unused]] const mbgl::util::SimpleIdentity tag) {
while (true) {
std::size_t remaining;