D23504: [platforms/x11] Remove triple buffering detection

Fredrik Höglund noreply at phabricator.kde.org
Wed Aug 28 16:42:47 BST 2019


fredrik added a comment.


  This code doesn't actually have anything to do with triple-buffering. Its sole function is to detect whether glXSwapBuffers() blocks; the (incorrect) assumption being that if it doesn't, then the driver uses triple-buffering.
  But this information is only used to decide whether to call glXSwapBuffers() in prepareRenderingFrame() or endRenderingFrame(). KWin doesn't try to render more than one frame per swap interval regardless.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D23504

To: romangg, #kwin
Cc: fredrik, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190828/a09be34c/attachment-0001.html>


More information about the kwin mailing list