<div dir="auto">After discussing with some members of the VDG, I understand the performance concerns. I agree we should choose performance over rounded corners. Thank you Vlad for the clear reply!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il lun 28 giu 2021, 20:25 Vlad Zahorodnii <<a href="mailto:vlad.zahorodnii@kde.org" target="_blank" rel="noreferrer">vlad.zahorodnii@kde.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6/28/21 12:25 PM, Martin Flöser wrote:<br>
> Am Samstag, 26. Juni 2021, 00:25:29 CEST schrieb Aleix Pol:<br>
>> Are you sure this is something that needs tackling at KWin level? if KWin<br>
>> cuts down there's the possibility that an app might get cut off. An<br>
>> application (e<br>
>> g. at kirigami level) could decide though to have round corners by offering<br>
>> a transparent mask. Would that be more in line with what you are after?<br>
> <br>
> I absolutely agree with Aleix here. This is nothing a window manager should<br>
> do. This can break applications in horrible and unexpected ways. Please do not<br>
> go down this route. We do not know what the application draws and how it<br>
> interacts with the window - where there are controls, etc.<br>
<br>
Right, besides the technical issues with client-side decorated <br>
applications, rounding corners on the compositor side will effectively <br>
kill optimizations such as directly scanning out sub-surfaces on <br>
hardware planes. The compositor will be forced to perform compositing.<br>
<br>
It's totally understandable why VDG wants the bottom window corners be <br>
rounded by the compositor, but it's simply not possible due to various <br>
technical reasons.<br>
<br>
Cheers,<br>
Vlad<br>
<br>
> Just imagine a video application without borders and you cut off pixels or a<br>
> virtual machine where the virtualized operating system is not square.<br>
> <br>
> If you want to do design, please do it in parts of your design. Don't force it<br>
> on apps which are not controlled by us. And if we do it only for our<br>
> controlled apps the better place to implement it, is in the apps or Breeze<br>
> style.<br>
> <br>
> Cheers<br>
> Martin<br>
> <br>
> <br>
<br>
</blockquote></div>