| Ok, bear with me, this one is a weird one. Id like to see if anyone can re-create this bug. If you have a custom plugin that has an image provider, if you use the outputImageProviderWithTexture: blah blah convenience method your output image not work with a Queue if you provide your image in anything other than display colorspace as provided by [context colorSpace] from within the plugin. to re-create, download the OpenGL Image example from Apple here: Make sure your header is set to use the outputImageProvider methods by making sure you use #define __USE_PROVIDER__ 0 and #define __USE_RENDERED_TEXTURES__ 1 Now, you should be able to compile the plugin and run the composition below. You will see the gradient change over time and a series of sprites displayed each queued image, which will show the color changes. Now, if You change the colorspace of the output Image Provider (lines 231 and friends) to the following: (I am simply passing in a generic RGB color space) /* Create output image provider */ CGColorSpaceRef cspace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); #if __BIG_ENDIAN__ provider = [context outputImageProviderFromTextureWithPixelFormat:QCPlugInPixelFormatARGB8 pixelsWide:self.inputWidth pixelsHigh:self.inputHeight name:name flipped:NO releaseCallback:_TextureReleaseCallback releaseContext:NULL colorSpace:cspace shouldColorMatch:YES]; #else provider = [context outputImageProviderFromTextureWithPixelFormat:QCPlugInPixelFormatBGRA8 pixelsWide:self.inputWidth pixelsHigh:self.inputHeight name:name flipped:NO releaseCallback:_TextureReleaseCallback releaseContext:NULL colorSpace:cspace shouldColorMatch:YES]; #endif CGColorSpaceRelease(cspace); And re-run compile/run the attach composition, you will only see the lastest image in the queue for all queue items. In other words, the queue is only seeing "one image". Can anyone confirm? I am on Mac OS X 10.6.1, ATI x1600, MBP 2.33. |
Bug Report.qtz
Description: application/quartzcomposer
_______________________________________________ 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]

