Re: Extremely low fps during transparent NSWindow resize
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