<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Restricted Application added a project: KWin.<br />Restricted Application added subscribers: KWin, kwin, plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8039" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>For software QtQuick rendering we want to create a pixmap buffer and<br />
render our contents in there.</p>
<p>m_rendercontrol->grab does this, but also covers the GL side in pretty<br />
much the same way that we were currently doing.</p>
<p>Some calls are redundant in software mode, but they don't do any harm,<br />
and I didn't want to pollute the code.</p>
<p>In doing so I found a bug in Qt, that's submitted upstream, and also worked round.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested with forced software mode, could see an Aurorae decorations<br />
Tested without (so normal code), could see an Aurorae</p>
<p>Whether we then end up using GL, painter or xrender rendering is irrelevant<br />
(but I tested two of them anyway)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8039" rel="noreferrer">https://phabricator.kde.org/D8039</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/kdecorations/aurorae/src/aurorae.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, kwin, KWin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart<br /></div>