Quartz2D image sequence player
Quartz2D image sequence player
- Subject: Quartz2D image sequence player
- From: Andrew Garber <email@hidden>
- Date: Sun, 25 May 2003 20:23:44 -0700
As an experiment, I'm writing a cocoa app that uses core graphics
(Quartz2D) to play a sequence of images (at frames rates around
15-30FPS).
The problem I'm having is that my app is calling CGContextDrawImage()
for the next image in sequence before Quartz has finished refreshing my
subclass of NSView's contents. Is there some kind of callback function
or something that I could use to ensure that graphics have been fully
refreshed on-screen before calling CGContextDrawImage() again?
I've been writing Cocoa apps for some time now, but this is my first
attempt at including core graphics calls in them.
Any help would be appreciated :)
Thanks,
Andrew
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.