Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem releasing QCRenderer





Hey Dan,

have a look at the source for Quartz Composer Performer, which also implements resizing the output resolution. You don't need to release the renderers, just tell them to stop rendering while you resize. Since this all happens very quickly you almost don't even notice that anything ever stops...

http://share.dj/share/event_info.php?eventID=345

-Eric

On Jul 25, 2006, at 12:14 PM, Dan Treiman wrote:

I have a cocoa app that needs to be able to render compositions at different user-selectable resolutions.
I noticed that the QCTV sample at
http://developer.apple.com/samplecode/QuartzComposer_WWDC_QCTV
implements this functionality by releasing its QCRenderers, resizing the view/gl context, and then loading new QCRenderers.
However, whenever I try this (even in QCTV) I get an EXC_BAD_ACCESS. A backtrace shows


#0  0xfffeff20 in objc_msgSend_rtp ()
#1  0x987e8114 in -[QCPatch(Private) _cleanup] ()
#2  0x987e7fa4 in -[QCPatch(Private) _cleanup] ()
#3  0x987e7eac in -[QCPatch(Runtime) stopRendering] ()
#4  0x9881ec14 in -[QCRenderer dealloc] ()

I'm running 10.4.7, XCode 2.3

Does anybody have any insight into this? Did this perhaps work in a previous version?

thanks,
-Dan Treiman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer- email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/eric% 40ecumedesjours.com


This email sent to email@hidden


_______________________________________________ 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
References: 
 >problem releasing QCRenderer (From: Dan Treiman <email@hidden>)



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.