News for hackers. Stuff that matters.
Re:Minimal Cross-Platform Graphics by suby on Tuesday January 24, 2023 @05:44AM (#34501998)
Why not just use VSync?
Re:Minimal Cross-Platform Graphics by sylware on Tuesday January 24, 2023 @06:08AM (#34502156)
If I am not too much mistaken, because on some hardware (mobile), there is no vsync feedback.

vsync feedback support has to be queried (look at vulkan API/wayland API). Usually it is called "presentation" something.

Re:Minimal Cross-Platform Graphics by abainbridge on Tuesday January 24, 2023 @08:34AM (#34503329)
How would I do that? I think there is any such function in the Win32 API.
Re:Minimal Cross-Platform Graphics by pavlov on Tuesday January 24, 2023 @12:16PM (#34506641)
Yes, I think you basically have to use a DirectX swap chain to get vsync presentation.
Re:Minimal Cross-Platform Graphics by dblohm7 on Wednesday January 25, 2023 @01:49PM (#34522464)