Re: Semi-transparent, blurred NSWindow background?
Re: Semi-transparent, blurred NSWindow background?
- Subject: Re: Semi-transparent, blurred NSWindow background?
- From: Jonathan Dann <email@hidden>
- Date: Mon, 25 Aug 2008 23:00:07 +0100
On 25 Aug 2008, at 21:51, Seth Willits wrote:
On Aug 25, 2008, at 1:33 PM, Ricky Sharp wrote:
There isn't a particularly fast way to do this, although I have
experimented with it a bit in the past. You can use the CGWindow
API to read the contents under your window and apply a blur to
them using Core Image directly or indirectly via Core Animation,
but in either case you'll see the Window Server spending
considerably more CPU time as it has to re-render the contents
under your window. You could fake it by updating the image rarely
but there isn't a particularly good way to completely mitigate the
CPU usage.
Hmm... it's very hard to tell, but I believe there must be a fast
way that already exists.
I'm sure he meant a fast *public* way to do it.
Using the private APIs / the method that Rob showed is perfectly fast.
I'd really like this made easier too, so I filed an enhancement
request rdar://6174287
Jonathan
http://espresso-served-here.com
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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