Re: CAOpenGLLayer content size
Re: CAOpenGLLayer content size
- Subject: Re: CAOpenGLLayer content size
- From: David Duncan <email@hidden>
- Date: Tue, 12 Jul 2011 08:34:49 -0700
On Jul 8, 2011, at 11:33 PM, Takashi Mochizuki wrote:
> Default CAOpenGLLayer keeps initial buffer size when addSubLayer: is called. And it does not update back buffer size even when layer is resized like:
>
> 1. addSubLayer to 200x200
> 2. resize layer to 400x400
> 3. layer only shows 200x200 area (keep low resolution)
Call -setNeedsDisplay on the layer.
--
David Duncan
_______________________________________________
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