D16802: effects: attempt to screenshot on OpenGL ES 2.0 instead of failing

Bhushan Shah <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
bshah added a comment.


  This is super weird tbh, if I add workaround for Adreno, in blitSupported to make it return true. It crashes when doing screenshot, with following
  
    "No provider of glBlitFramebuffer found.  Requires one of:\n"
    "    Desktop OpenGL 3.0\n"                                   
    "    GL extension \"GL_ARB_framebuffer_object\"\n"           
    "    OpenGL ES 3.0\n"                                        
    "    GL extension \"GL_EXT_framebuffer_blit\"\n"             
    "    GL extension \"GL_NV_framebuffer_blit\"\n"              
  
  But if I just ignore blitSupported in the screenshot effect it doesn't crash.. it is one "WAT" moment.

REPOSITORY
  R108 KWin

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

To: bshah, #kwin, davidedmundson, graesslin
Cc: graesslin, kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, 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.