Alexey Tselousov
Alexey Tselousov
### Version/Branch of Dear ImGui: Version 1.XX, Branch: XXX (master/docking/etc.) ### Back-ends: imgui_impl_XXX.cpp + imgui_impl_XXX.cpp ### Compiler, OS: macOS + Clang++12 ### Full config/build information: Git clone of latest main...
any project that uses bgfx including the sample projects have very bad frame lag that you can do absolutely nothing about (apart from turning off vsync), making it practically unusable...
You have to use 'CVDisplayLink' on macos, record your command buffer there and call [commandBuffer presentDrawable:view.currentDrawable atTime: outputTime]; using the 'const CVTimeStamp* outputTime' from the CVDisplayLink argument. Otherwise you get...
SDL_GPUFence is implemented as just a busy loop on an atomic int, a SDL_GPUCondition gives the cpu some rest
## Description Added SDL_WaitCondition in METAL_WaitForSwapchain and AcquireSwapchainTexture to wait for a callback from CVDisplayLink and to wait for presentation of previous frames. A conventional game while loop like while(!quit)...