D24206: KWin::GLTexture support external textures

David Edmundson noreply at phabricator.kde.org
Tue Sep 24 22:47:36 BST 2019


davidedmundson created this revision.
davidedmundson added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
davidedmundson requested review of this revision.

REVISION SUMMARY
  Currently KWin::GLTexture is a nice wrapper for creating a GL texture
  and performing various operations including rendering.
  
  In a pending patch I want to render the FBO from a QQuickScene directly,
  where we have an underlying texture already, but it makes sense to
  re-use this class for the rendering. A similar need is in haagch's kwin
  VR patchset.
  
  This patch adds a constructor to GLTexture that takes an externally
  managed texture and provides the relevant useful KWin features.

TEST PLAN
  Used in patch series

REPOSITORY
  R108 KWin

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

AFFECTED FILES
  libkwineffects/kwingltexture.cpp
  libkwineffects/kwingltexture.h
  libkwineffects/kwingltexture_p.h

To: davidedmundson, #kwin
Cc: 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, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190924/caee8a2a/attachment.html>


More information about the kwin mailing list