Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting global dirty regions/window updates.




On Nov 20, 2007, at 4:00 AM, Teemu Keinonen wrote:

Hi all,

I want to write optimized screenshot utility to make videos from screeen and therefore i want to know what parts of the screen have changed since last snapshot. I can think of two alternatives:

1) Is it possible to get dirty region information from window manager via a callback or such?

No.

2) Is it possible to detect 'update' events sent to/from windows?

Try CGRegisterScreenRefreshCallback in CoreGraphics/CGRemote.h.

-eric

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Detecting global dirty regions/window updates. (From: "Teemu Keinonen" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.