I am trying to create a buffered window and get notified whenever areas are repainted so that I can also send those areas over the network to a custom remote bitmap display. I don't want to copy the complete buffered image on each update as that would be much too slow.

NSView has getRectsBeingDrawn which seems close. What I really want is to hook into the code that is computing those rects. I assume this is done in NSWindow displayIfNeeded. But I don't see where the damage rects are stored.

Or maybe NSWindow flushWindowIfNeeded would work. But I don't see how to get the rects that need to be copied to the screen.

Any ideas on how this could be done?

Denis
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to