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: Corbin Dunn <email@hidden>
- Date: Wed, 29 Feb 2012 08:56:00 -0800
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
> When the window is small I can resize it as fast as I want and the resize animation is smooth, the window changes size gradually with continuity.
>
> On the other hand, when the window occupies a big portion of the screen and I resize it fast (I mean, not like a mad..just not slowly) it is sluggish during resize animation
> and the bottom right corner of the window doesn't follow the mouse pointer immediatly, there is always a little delay.
>
> This happens regardless of what I display in the NSOpenGLView, it happens even with only a uniform color background.
> Just for completeness, I use a CVDisplayLink to draw to the OpenGLContext and the context is set to flush buffers in sync with the refresh of the monitor.
>
>
> _______________________________________________
>
> 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
_______________________________________________
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