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 created this revision. bshah added reviewers: KWin, davidedmundson. Herald added a project: KWin. Herald added a subscriber: kwin. bshah requested review of this revision. REVISION SUMMARY On ARM platform, the blobs might report as OpenGL ES 2.0 but they have blit supported anyway. In worst case we might yield empty screenshot which is case anyway if using OpenGL ES 2.0 This fixes taking screenshot on Plasma Mobile. TEST PLAN tested on Nexus 5X. REPOSITORY R108 KWin BRANCH bshah/screenshot REVISION DETAIL https://phabricator.kde.org/D16802 AFFECTED FILES effects/screenshot/screenshot.cpp To: bshah, #kwin, davidedmundson Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart