• 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: Extremely low fps during transparent NSWindow resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extremely low fps during transparent NSWindow resize


  • Subject: Re: Extremely low fps during transparent NSWindow resize
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 05 Nov 2012 15:39:30 -0800

On Mon, Nov 5, 2012, at 02:20 PM, Andrea3000 wrote:
> Since I still have a Snow Leopard partition I have access to QuartDebug
> 4.1 and the hidden setting you suggested works as expected.
> The strange thing is that while regular windows like Safari, Mail, ecc,
> are all opaque except for the corners (as pointed out in the previous
> mail), Quick Time Player X window is fully transparent!
>
> So the question is still open. How can Quick Time Player X be so fast
> during resize if it is an all transparent window?

What if you take a hint from what Quartz Debug is telling you about
standard system windows, and instead of using an NSBezierPath (which you
are currently redrawing in its entirety on every frame of a drag), you
fill your window using three large rectangles and four half-arcs?

--Kyle Sluder
_______________________________________________

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: Extremely low fps during transparent NSWindow resize
      • From: Ken Thomases <email@hidden>
References: 
 >Re: Extremely low fps during transparent NSWindow resize (From: Lee Ann Rucker <email@hidden>)
 >Re: Extremely low fps during transparent NSWindow resize (From: Andrea3000 <email@hidden>)

  • Prev by Date: Re: Harnessing Perl Scripts within a Project
  • Next by Date: Re: Harnessing Perl Scripts within a Project
  • Previous by thread: Re: Extremely low fps during transparent NSWindow resize
  • Next by thread: Re: Extremely low fps during transparent NSWindow resize
  • Index(es):
    • Date
    • Thread