D22150: [plugins/qpa] Implement native offscreen surface

Vlad Zagorodniy noreply at phabricator.kde.org
Mon Jul 1 19:58:41 BST 2019


zzag added inline comments.

INLINE COMMENTS

> romangg wrote in sharingplatformcontext.cpp:101
> Ok, then better not. Push when you're ready.

FWIW we can do

  if (surface->surface()->surfaceClass() == QSurface::Window) {
      Window *window = static_cast<Window *>(surface);
  }

if `dynamic_cast` should go away.

REPOSITORY
  R108 KWin

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

To: zzag, #kwin, romangg
Cc: romangg, alexeymin, kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190701/cac40135/attachment.html>


More information about the kwin mailing list