<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: KWin.<br />Herald added a project: KWin.<br />Herald added a subscriber: kwin.<br />davidedmundson requested review of this revision.
</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/D25912">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently we create Qt GL contexts that share with the core kwin<br />
context.</p>
<p>If we do it the other way round, then with a special flag /any/<br />
QQuickWindow will share context. Making life easier there.</p>
<p>On wayland our contexts are shared by default anyway as we control the<br />
creation.</p>
<p>EffecttQuickView then only needs a boolean to decide whether to use the<br />
shared texture path or the blitting path.</p>
<p>This is IMHO cleaner, but the other advantage is that it will allow <br />
<a href="https://phabricator.kde.org/D23881" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D23881</a> to use the kwin context creation path and get a shared context.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25912">https://phabricator.kde.org/D25912</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>libkwineffects/kwineffectquickview.cpp<br />
libkwineffects/kwineffectquickview.h<br />
main_wayland.cpp<br />
main_x11.cpp<br />
plugins/platforms/x11/standalone/glxbackend.cpp<br />
scene.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson, KWin<br /><strong>Cc: </strong>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, ahiemstra, mart<br /></div>