• 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
Quartz2D image sequence player
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Quartz2D image sequence player
      • From: Andrew Garber <email@hidden>
  • Prev by Date: documentForFileName: on case-insensitive filesystem
  • Next by Date: Re: Undo/Text Field/Checkbox Issue
  • Previous by thread: documentForFileName: on case-insensitive filesystem
  • Next by thread: Re: Quartz2D image sequence player
  • Index(es):
    • Date
    • Thread