Views with Layer-layer support are layered by OpenGL (well, Quartz composer, but it helps to think of each layer as a polygon with the OpenGL texture on it), so they always supported the correct overlap.
The thread on CocoaBuilder / Cocoa -Dev does not mention layers at all. This means that he talks about regular NSViews without CALayer support (more precisely, only with CALayer for the entire window).
One of the mentioned exceptions is OpenGLView (again, without layers), which always composes an OpenGL rectangle on top of the window, destroying any sub-points. I donโt think that creating NSOpenGLView works with layer support, but instead you can use an OpenGL layer that will compose correctly between other layers.
Another exception is layers on top of views that do not support the layer, which makes sense, since all views that do not support the layer efficiently exchange one layer, which, of course, is below any of its sublayers (which layer is the supported hosting view in the parent a view that does not support the layer should be).
In short, it works with 10.5 for non-layered and since then forever for viewing with reservations with reservations when mixing and matching or using OpenGL.
PS - I am not 100% sure, however, the statement about overlapping non-elementary representations should be accepted as canonical. This is an unofficial expression made by an Apple engineer. Everything could change, and errors could be detected that would not work. I usually use layers when I need the correct overlap.
uliwitness May 23 '12 at 12:58 2012-05-23 12:58
source share