LWN.net Logo

Not all gain

Not all gain

Posted Apr 12, 2012 7:41 UTC (Thu) by renox (subscriber, #23785)
In reply to: Not all gain by dgm
Parent article: LFCS 2012: X and Wayland

> There's no need to "stutter". Weston can use OpenGL to stretch current window contents if the application cannot provide a new buffer on time.

It depends: with client-side decoration only the client know that the mouse action is supposed to trigger a window resizing not the server.

But the client could tell the server: using two requests 'my future window size is X,Y' and 'the content is here' instead of one 'draw this buffer of size X,Y', so if the second request is slow to come then the server can do some corrective action as you say.
I don't know what is the current API (one or two request), I find it difficult to understand..


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds