News for hackers. Stuff that matters.
Re:Apple's CVDisplayLink Doesn't Link to Your Display by revelation on Saturday December 09, 2017 @10:59PM (#15889805)
I like the Linux DRM atomic interface, they recently added native fences so you can pass in a synchronization object from the GPU for when it's done rendering and the flip can proceed and you get back a fence that is signalled once the flip is done. Basically all asynchronous now but it's still synced to the hardware flip, no timer bullshit.

IIRC it's somewhat inspired by Android SurfaceFlinger.

Re:Apple's CVDisplayLink Doesn't Link to Your Display by exikyut on Saturday December 09, 2017 @11:14PM (#15889864)
Hmm. I wouldn't mind finding out how that actually works.

One question though. Is this driver-dependent in such a way that it only works on newer hardware? For example on the 10+-year old machine I'm using right now, could I play with this?

Re:Apple's CVDisplayLink Doesn't Link to Your Display by simcop2387 on Sunday December 10, 2017 @04:08AM (#15890607)
Should work with anything that uses the open source drm drivers as I understand it.
Re:Apple's CVDisplayLink Doesn't Link to Your Display by exikyut on Sunday December 10, 2017 @06:02AM (#15890899)
Interesting. Thanks.