• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Round corners of borderless NSWindow without set it transparent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Tue, 28 Feb 2012 21:54:00 +0100

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.
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


  • Follow-Ups:
    • Re: Round corners of borderless NSWindow without set it transparent
      • From: Andrea3000 <email@hidden>
    • Re: Round corners of borderless NSWindow without set it transparent
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: Question about KVC-compliance and bindings
  • Next by Date: Re: Question about KVC-compliance and bindings
  • Previous by thread: Re: Round corners of borderless NSWindow without set it transparent
  • Next by thread: Re: Round corners of borderless NSWindow without set it transparent
  • Index(es):
    • Date
    • Thread