Re: Round corners of borderless NSWindow without set it transparent
Re: Round corners of borderless NSWindow without set it transparent
- Subject: Re: Round corners of borderless NSWindow without set it transparent
- From: Andrea3000 <email@hidden>
- Date: Wed, 29 Feb 2012 18:14:56 +0100
Il giorno 29/feb/2012, alle ore 17:56, Corbin Dunn ha scritto:
>
> On Feb 28, 2012, at 12:54 PM, Andrea3000 <email@hidden> wrote:
>
>> Il giorno 28/feb/2012, alle ore 20:20, Corbin Dunn ha scritto:
>>
>>>
>>> On Feb 27, 2012, at 11:51 PM, Andrea3000 <email@hidden> wrote:
>>>>
>>>> When the window is small it's as fast as if it were opaque but when it occupies quite all the screen (1920x1080) it becomes noticeably slow during resize.
>>>
>>> Did you sample it or use Instruments? What is slow?
>>
>> The resize is slow.
>
> Yes, I realize you said it is slow, but you haven't said *why*. You need to sample it or use Instruments to find out what is slow and why.
>
> -corbin
I've sent a message to the list prior to recieve yours but it has not been posted already. Anyway, in that message I've included a link to download a test app that
shows clearly the behavior that I'm seeing.
I've used Instruments and the only relevant thing that I've noticed is that when the window is opaque and I resize it like a mad, WindowServer process jumps to 30% of CPU usage at its max but when the window is transparent and I resize it the same way, WindowServer uses over than 65% of CPU.
Anyway, I paste here the link to download the test app if you are intersted: http://dl.dropbox.com/u/11879013/BorderlessDemo.zip
Thank you
Andrea
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden