<table><tr><td style="">PureTryOut added a comment.
</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/D22418">View Revision</a></tr></table><br /><div><div><p><a href="https://phabricator.kde.org/p/graesslin/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@graesslin</a> I'm not sure about compiling twice with different settings, but there is most definitely a use-case for this patch: mobile distros.</p>

<p>For example postmarketOS (where Alexey and I are from) we tend to run KWin on either the fbdev or DRM backend. However, since last month we also have our first libhybris devices, which use the hwcomposer plugin. The problem with libhybris is that it's unstable, can change a lot, and there are multiple versions to be used depending on the device and Android it comes from.</p>

<p>We don't know all of this at compile time, and we'll never do. How it currently works means we <em>do</em> have to compile it multiple times with different settings for all the variations of libhybris we have, and package them properly so they can't be installed along-side each other as they'll all provide the same files, etc. I think you get my point.</p>

<p>This patch would mean we can just build a single KWin package, build all the different libhybris variants there are, install the correct one with the device, and the proper hwcomposer backend would be used.</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/D22418">https://phabricator.kde.org/D22418</a></div></div><br /><div><strong>To: </strong>alexeymin, romangg, KWin<br /><strong>Cc: </strong>PureTryOut, graesslin, kwin, plasma-devel, LeGast00n, fmonteiro, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart<br /></div>