• 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: QuickDraw LockPixels on Mac OS X (was: Saving a series of BitmapReps as Quicktime)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QuickDraw LockPixels on Mac OS X (was: Saving a series of BitmapReps as Quicktime)


  • Subject: Re: QuickDraw LockPixels on Mac OS X (was: Saving a series of BitmapReps as Quicktime)
  • From: Alex Curylo <email@hidden>
  • Date: Tue, 18 Sep 2001 07:08:19 -0700

>> LockPixels(gworldPixMap); //does this matter in OS X? prevents
>> pixels from moving around in memory
>
> This is a very good question. I am writing on Mac OS X with Cocoa and
> need to create an offscreen GWorld as a destination for a VDIG. Do I
> still need to care about memory being moved around by the Memory
> Manager?

GWorlds may be cached in graphic card memory, so it strikes me that locking
them is probably still a prudent practice, at least unless you create it
with the 'keepLocal' flag.

> I was not able to find any documentation on this topic

I haven't seen any either and I generally do a fairly good job of keeping
abreast of QuickTime developments.

--
Alex Curylo -- email@hidden -- http://alexc.webjump.com/

"You have *incredible* charisma."
-- a charmed constituent, Acadia All-Candidates Meeting


  • Prev by Date: Re: NSMovieView uses 3-8% CPU after playing a sound?
  • Next by Date: Re: LaunchServices API + Cocoa Application
  • Previous by thread: NSImage/BitmapRep/format conversions in a WO4.5 application
  • Next by thread: Re: UI improvements (was: cocoa-dev digest, Vol 1 #581 - 19 msgs)
  • Index(es):
    • Date
    • Thread