D23514: [platforms/x11] Never block on retrace, always present after paint
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag added inline comments. INLINE COMMENTS > composite.cpp:786-809 > - // TODO: make vBlankTime dynamic?! > - // It's required because glXWaitVideoSync will *likely* block a full frame if one enters > - // a retrace pass which can last a variable amount of time, depending on the actual screen > - // Now, my ooold 19" CRT can do such retrace so that 2ms are entirely sufficient, > - // while another ooold 15" TFT requires about 6ms > - > - qint64 padding = m_timeSinceLastVBlank; I think we still need some of this code. Syncing to vblank will be a problem though. REVISION DETAIL https://phabricator.kde.org/D23514 To: romangg, #kwin Cc: zzag, alexeymin, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart