I am trying to create a QCRenderer with a QCComposition object like
this
QCRenderer *renderer = [[QCRenderer alloc]
initWithComposition:composition colorSpace:NULL];
How can I create a Color Space working with my QCRenderer ?
How about CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB)?
Doesn't work with initWithComposition in my situation, I use an OpenGL
context to render multiples Quartz Composition on my view.
The solution in this case is to use
- (id) initWithCGLContext:(CGLContextObj)context pixelFormat:
(CGLPixelFormatObj)format colorSpace:(CGColorSpaceRef)colorSpace
composition:(QCComposition*)composition;
And create the color space with
CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB).
But I don't really understand why initWithComposition doesn't work in
my situation.
Christophe
--
David Duncan
Apple DTS Quartz and Printing
[EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]