mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-27 20:36:50 -08:00
Add log for dropped encoder frames
This commit is contained in:
1 parent
47872011b5
commit
38cbf2ccbd
1 file changed
+3
@@ -523,6 +523,9 @@ static void * comp_wivrn_present_thread(void * void_param)
|
||||
}
|
||||
|
||||
VkResult res = vk->vkWaitForFences(vk->device, nb_fences, fences.data(), VK_TRUE, UINT64_MAX);
|
||||
if (nb_fences > 1) {
|
||||
U_LOG_I("Encoder group %d dropped %d frames", param->thread->index, nb_fences - 1);
|
||||
}
|
||||
vk_check_error("vkWaitForFences", res, NULL);
|
||||
|
||||
const auto & psc_image = cn->psc.images[presenting_index];
|
||||
|
||||
Reference in new issue
Block a user