• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quartz2D image sequence player
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quartz2D image sequence player


  • Subject: Re: Quartz2D image sequence player
  • From: Andrew Garber <email@hidden>
  • Date: Sun, 25 May 2003 21:22:59 -0700

Nevermind. That wasn't the problem... it was a bug in my app which is now fixed :)

On Sunday, May 25, 2003, at 08:23 PM, Andrew Garber wrote:

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

References: 
 >Quartz2D image sequence player (From: Andrew Garber <email@hidden>)

  • Prev by Date: Re: Undo/Text Field/Checkbox Issue
  • Next by Date: NSOutlineView crashes
  • Previous by thread: Quartz2D image sequence player
  • Next by thread: Re: Undo/Text Field/Checkbox Issue
  • Index(es):
    • Date
    • Thread