Re: CALayer composition changes with frame position
Re: CALayer composition changes with frame position
- Subject: Re: CALayer composition changes with frame position
- From: James Bucanek <email@hidden>
- Date: Thu, 22 Mar 2012 09:36:21 -0700
Markus Spoettl <mailto:email@hidden> wrote
(Thursday, March 22, 2012 3:59 AM +0100):
My problem is that stationaryLayer is composited differently, sometimes
opaque, sometimes semi-transparent and I cannot explain why.
I've noticed that CA does a lot of image caching during an
animation, and there are sometime differences between the cached
image during animation and the (re)composited image when not
being animated.
All colors used have an alpha of 1.0. Also, the layers are never re-drawn
during the drag, so it's not a painting issue.
The problem goes away when setting moveableLayer's opacity to 1.0.
Have you tried leaving the moveableLayer's opacity at 1.0 and
drawing its content with an alpha of 0.5?
--
James Bucanek
_______________________________________________
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