Re: CAOpenGLLayer no Antialiasing?
Re: CAOpenGLLayer no Antialiasing?
- Subject: Re: CAOpenGLLayer no Antialiasing?
- From: David Duncan <email@hidden>
- Date: Sat, 8 Nov 2008 21:10:59 -0800
On Nov 7, 2008, at 6:13 PM, Nik Youdale wrote:
I am having trouble enabling antialiasing in a CAOpenGLLayer
subclass. Specifically I am trying to use Multisampling. I have set
up the pixel format with multisampling enabled, etc. The same
rendering code works in an NSOpenGLView with multisampling setup in
the pixel format. (It draws in the CAOpenGLLayer, but sadly no
antialiasing).
As far as i can tell, both segments of code (see below) should do
exactly the same thing. Is there something obvious i'm missing? Or
is it stated somewhere that CAOpenGLLayers don't support
multisampling?
The CAOpenGLLayer effectively uses render-to-texture as its
implementation. Multisampling isn't supported on such offscreen render
targets on Mac OS X 10.5.
You can file a feature request stating your desire for this, but it is
a known issue and will likely be returned to you as a duplicate.
--
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