3 ms·
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 a
by revelation 9y ago
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.
- exikyut 9y agoHmm. 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?
- simcop2387 9y agoShould work with anything that uses the open source drm drivers as I understand it.
- exikyut 9y agoInteresting. Thanks.