D23881: Possible solution for scheduling repaints on NVIDIA
David Edmundson <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
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