D23881: Possible solution for scheduling repaints on NVIDIA

David Edmundson noreply at phabricator.kde.org
Thu Oct 24 10:54:55 BST 2019


davidedmundson added a comment.


  Concept wise, I really like it. It seems simple and well-encapsulated.

INLINE COMMENTS

> glxbackend.cpp:119
> +
> +    m_context = glXCreateContextAttribsARB(m_dpy, config, shareContext, True /*direct*/, attribs);
> +}

One thing I found with nvidia drivers is that if we create an original context with robustness attributes enabled, and then use that as a share context for a new context without robustness, it fails to create anything.

It looks like this code would do that.
We probably want to re-use the kwin code for creating contexts so we can ensure matching attributes

REPOSITORY
  R108 KWin

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

To: fredrik, #kwin, romangg
Cc: davidedmundson, ekurzinger, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, 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/20191024/11fd3da2/attachment.html>


More information about the kwin mailing list