I currently figured out that if you do 2 windows with metal, from one thread, you can't both have them 'vsync' repaint or they will halve your framerate to 30hz. Anyone know a solution except for a thread per window?
I don't know if this actually contains the solution to your problem but seems like it might be relevant anyway: http://thume.ca/2017/12/09/cvdisplaylink-doesnt-link-to-your-display/ …
-
-
Well the solution as far as i can see is to use a thread per window which contains the actual metal 'present' call and use the main application as commandbuffer builders for them. That way they can independently wait for their vsyncs. But ill put it on the todo.
-
If you do use multiple threads, make sure you draw synchronously during window resize callbacks or it won’t resize smoothly.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.