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

Reply via email to