• 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: CALayer z-ordering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CALayer z-ordering


  • Subject: Re: CALayer z-ordering
  • From: David Duncan <email@hidden>
  • Date: Wed, 16 Sep 2009 11:26:14 -0700

On Sep 16, 2009, at 8:42 AM, Ivy Feraco wrote:

I think this is a pretty normal setup, but I don't know why the views (progressViews) with CALayers get drawn on top despite the fact that they are sublayers of a subview.
Shouldn't they be placed on a lower z-order since they are down further in the hierarchy?


If I understand what your describing, then your hitting the fact that Core Animation renders via OpenGL, and by default (and this is unchangable via Core Animation) OpenGL content renders above all other window content, hence if you have a layer backed hierarchy and a non- layer-backed hierarchy, then regardless of the actual ordering of the views, the layer-backed hierarchy will draw over the non-layer-backed hierarchy.
--
David Duncan
Apple DTS Animation and Printing


_______________________________________________

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


References: 
 >CALayer z-ordering (From: Ivy Feraco <email@hidden>)

  • Prev by Date: Re: Interface Builder .xib deployment/development targets
  • Next by Date: Re: Interface Builder .xib deployment/development targets
  • Previous by thread: CALayer z-ordering
  • Next by thread: settings to build for 10.5 on 10.6?
  • Index(es):
    • Date
    • Thread