| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
CGColorSpaceRef colorspace;
@try {
/* Create a processing-only QCRenderer that wraps the selected composition if any - We use the main display colorspace as we render on screen */
[_renderer release];
if(composition) {
colorspace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);
_renderer = [[QCRenderer alloc] initWithComposition:composition colorSpace:colorspace];
if(_renderer == nil) {
NSLog(@"Cannot create QCRenderer");
[NSApp terminate:nil];
}
}
else
_renderer = nil;
/* Make sure the QCCompositionParameterView targets the QCRenderer */
[parameterView setCompositionRenderer:_renderer];
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.