vvvv / VL.StandardLibs

A collection of standard libraries for vvvv including VL.Stride, VL.Skia, VL.ImGui, msgpack.org[VL]
https://visualprogramming.net
GNU Lesser General Public License v3.0
35 stars 14 forks source link

Document vsync/presentation-interval #76

Open joreg opened 1 year ago

joreg commented 1 year ago

https://learn.microsoft.com/en-us/windows/win32/direct3d9/d3dpresent

gregsn commented 1 year ago

new suggestion:

tgd-git commented 1 year ago

maybe just show the warning next to perfmeter. thats where you look for stutters

gregsn commented 1 year ago

yet another suggestion:

Cooperative means:

joreg commented 1 year ago

or could it be just a global setting VSYNC on/off on the MainLoop node and the system makes sure max one renderer (even between skia and stride) has vsync set. and we could even get rid of the vsync inputs on renderers?

bj-rn commented 1 year ago

or could it be just a global setting VSYNC on/off on the MainLoop node and the system makes sure max one renderer (even between skia and stride) has vsync set. and we could even get rid of the vsync inputs on renderers?

There might be situations where you want to sync to a specific screen. How would that work?

joreg commented 1 year ago

@bj-rn please detail that situation

bj-rn commented 1 year ago

For example the main output is some LED-screen and another output is a connected to a preview monitor. The timings of those two most likely differ and in that case one certainly wants to sync to the main output.