Mailing Lists: Apple Mailing Lists

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

Core Image renders out of texture memory...



Hi List !

I experience a problem with Core Image...

My application constructs a moderately complex CIFilter tree once, before rendering occurs. Then I draw it via calls to CIContext drawImage on the outputImage of the root filter.

During execution, I force the tree to render many times by stretching the output window. Then the texture count begins to increase rapidly. It never decreases. After the free VRAM roughly fell from 250 MB down to 30 MB, the system began to swap and the rendering slowed down consequently.

As I understood the 'lazy evaluation' model of Core Image, CIImages are virtual containers, and filters execute only when rendering occurs. I thought texture resources was transparently managed and freed by the Core Image API between two renderings...

Did I missed something ?

For info : Garbage collection is on. Source images are 512 x 512 RGBA 32 b floats CIImages. System is a PowerPC dual G5 1.8 w/ ATI Radeon 9700.

Thanks in advance.
Cyril.



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

This email sent to 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.