BTW Why is there readback? The Gif is never on the GPU, you can tell the window to reside in main memory.
basic data flow:gif lives on harddrive. gets loaded to memory (this is probably the slowest operation).
in memory, gets decoded.gets drawn to a window (even if offscreen, this is probably gpu- backed). This involves a sysram ->vram transfer (slow, but not a show stopper). Then, we need to get window contents in a texture QC can deal with. We can grab a texture of the window, and call it a day. We could do this slowly (glReadPixels) to do 2 more sysram->vram transfers, or we could use a fast copy (glWhateverWeUseToReadInVram, i'm tired and don't recall off the top of my head). Unless there's a fancy way to use an actual window's contents as a texture directly -- this is probably possible (and would avoid readback), but I've not seen it actually done/know if it's supported.
-- [ christopher wright ] [email protected] http://kineme.net/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]

