[Openmcl-devel] iSight progress

Ron Garret ron at awun.net
Wed Jan 30 16:27:22 UTC 2008


On Jan 30, 2008, at 8:12 AM, Ron Garret wrote:

>>
>> Does -[QCView createSnapshotImageOfType:] work any better?  Since QC
>> is drawing to an OpenGL context, maybe the NSView method doesn't do
>> the job.
>
> I haven't tried that yet, but I did try snapshotImage.  When I didn't
> have the live image working, snapshotImage actually worked (in
> conjunction with calling cacheDisplayInRect:toBitmapImageRep: to force
> the image to update.  It was weird -- there was a two-frame delay
> between calling cacheDisplayInRect:toBitmapImageRep: and having that
> image show up as the result of calling snapshotImage.
>
> But when I tried calling snapshotImage while live update was running
> it froze my Mac (even the cursor froze) and required a reboot.  :-(

snapshotImage does work, but only a few times.  Then it freezes the  
machine and requires a reboot.

rg




More information about the Openmcl-devel mailing list