On or about 8/28/10 9:31 PM, thus spake "David Duncan" <david.dun...@apple.com>:
> In the case of iOS for example, caching contents to CGLayers is rarely useful > because it is rarely useful to use a software cache it is usually far more > useful to use a hardware cache, which means CALayer or UIView, not CGLayer. I bow to all you say; still the question remains whether, taken dispassionately and in the abstract, it might be a useful behavior if calling CGLayerCreateWithContext() would cause the resulting CGLayer to have the "resolution" of the context from which it is created, as advertised, so that drawing back into the same context with e.g. CGContextDrawLayerAtPoint would not cause the ultimate drawing to have half the "resolution" on the iPhone 4? Just to repeat, the flag-drawing example on this page: <http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Con ceptual/drawingwithquartz2d/dq_layers/dq_layers.html> ...is Apple's own, and behaves undesirably when the screen is double-resolution, visibly drawing the flag's stars in single resolution. m. -- matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/ pantes anthropoi tou eidenai oregontai phusei Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf AppleScript: the Definitive Guide, 2nd edition http://www.tidbits.com/matt/default.html#applescriptthings Take Control of Exploring & Customizing Snow Leopard http://tinyurl.com/kufyy8 RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com