Mailing Lists: Apple Mailing Lists

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

CGImageCreate providers invoking



I'm creating a cgimage with CGImageCreate() using the simple provider:

provider = ::CGDataProviderCreateWithData(NULL, data, <size>, NULL);

which I release after calling CGImageCreate()


What I can't seem to find adequate documentation for is: Is the provider used (once only) during CGImageCreate?

If not I have to keep my data lying around, which is a pain, so I wonder if there's a way to flush it.

Or is the provider something that randomly might get called if the graphics card gets full and I has to re-load the bitmap or something?


Thanks,

Tor Langballe
--------------------------------------------------------
CUTTING EDGE TECHNOLOGIES
Bogstadveien 5B, 0355 OSLO, Norway
Fax: +47 2256 4770

_______________________________________________
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.