Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Submission + - How do we get smooth animation on Linux?

Chemisor writes: For animation to be smooth, you need to do three things. First, draw to an offscreen buffer to avoid flicker. Second, swap buffers during the vblank interval to avoid tearing. Third, synchronize animation frames to vblank interval to avoid stuttering. Thirty years ago, the X11 SYNC extension was designed with this exact purpose in mind, but except for one failed attempt in 2006, a vblank counter still has not been implemented. VBlank detection capability also exists via the DRI2 extension, but DRI2 is only available with open source drivers, can not be used remotely, and has no Xlib API. OpenGL can synchronize buffer swapping, but only in 3D application, and only synchronously via glFinish. As things currently stand, smooth animation is not possible to implement under X, so here's a question for you, Slashdot: what can we do about this? Whom can we beg or pay for this functionality, so important if we are ever to see any games on Linux?

Slashdot Top Deals

Quark! Quark! Beware the quantum duck!

Working...