Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: CVOpenGLBuffer and MSAA - possible to antialias GL rendered to a CVOpenGLBuffer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVOpenGLBuffer and MSAA - possible to antialias GL rendered to a CVOpenGLBuffer?



I neglected to mention I am in no way tied to using Core Video, my real goal here is to get pretty, antialiased images/textures (whatever) from a QCRenderer. If I have to ditch Core Video for that portion of the pipeline and I can maintain speed, id gladly do so. Thank you.

On Aug 18, 2008, at 1:09 PM, vade wrote:

Hello.

I was wondering if it is possible/legal to use MSAA within a CVOpenGLBufferPool rendering. Ive enabled MSAA in my pixelFormat passed to both my main context, and the CVOpenGLBufferPools context (since, apparently the two cannot be the same, however, they *are* shared). I enable MSAA in the portions of code which use  the CVOpenGLBuffer, but, I dont *think* im seeing proper output. Ive tested my rendering using no MSAA, 2x, 4x and 6x sampling, and have not seen any obvious differences. This would lead me to think its not working ;)

Im rendering a Quartz Composer composition using a QCRenderer, within the following code. Is antialiasing this possible? If not, what are my options for antialiasing a QCRenderer at all? My only requirement is passing out some sort of image to be further processed, like a CVOpenGLBufferRef, texture, CIImage, etc. My old path uses a built in Render to Image macro, but that is very slow. Using CVOpenGLBuffers give me almost 2x the framerate. Most of this code is borrowed from QC Performer developer example. Forgive me if you got this email on the GL list, I received no reply there. Thank you.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >CVOpenGLBuffer and MSAA - possible to antialias GL rendered to a CVOpenGLBuffer? (From: vade <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.