D23514: [platforms/x11] Never block on retrace, always present after paint

Vlad Zahorodnii noreply at phabricator.kde.org
Wed Oct 23 14:47:29 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191023/cb54e908/attachment-0001.html>


More information about the kwin mailing list