D24206: KWin::GLTexture support external textures

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.