D1230: GBM remote access support for KWin

Roman Gilg noreply at phabricator.kde.org
Mon Oct 23 12:58:01 UTC 2017


subdiff added a comment.


  In https://phabricator.kde.org/D1230#158816, @Kanedias wrote:
  
  > Well, it has `active` property in KWayland that is true only if at least one client is connected (if I remember my code from 6 months back correctly), so I can expose it and use here. Will this suffice?
  
  
  I think you do already what I meant with the `isBound()` call. Sorry for the confusion. :)
  
  >> Then in general did you look at GNOME's way forward of screen recording/sharing on Wayland?
  > 
  > No, sorry. This patchset was ready long before the GNOME news. I use different idea here that was proposed by Martin Graesslin, with GBM and Wayland protocol we actually can pass file descriptors to video buffer objects from one app to another 
  >  so KWin is passing BOs to KRfb which then can do all heavy-lifting without hurting KWin performance or stability.
  
  The thing is I would like to see your solution also be applicable to other apps that need access to the buffer contents, like screen recording tools (SimpleScreenRecorder for example) and so on. If you say KRfb does the heavy-lifting, I assume such a screen recording tool would need to do this as well in a nontrivial additional backend.

REPOSITORY
  R108 KWin

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

To: Kanedias, graesslin, davidedmundson, subdiff, #kwin
Cc: subdiff, ngraham, alexeymin, aacid, kwin, #kwin, davidedmundson, plasma-devel, bwowk, leezu, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171023/a226a8b8/attachment.html>


More information about the Plasma-devel mailing list