Skip navigation.
 
mlRe: drawing in a separate thread
FROM : Ricky Sharp
DATE : Sat May 03 15:44:58 2008

On May 3, 2008, at 8:30 AM, Graham Cox wrote:

> Cocoa already coalesces updates in this way, so when drawRect: is 
> called, the list of rects is the merged list.
>
> I does raise a question though - is there a way to get, at any point 
> in time, the list of merged rects needing update from a view *at 
> that point* - in other words, outside of a drawRect: call, can I 
> found out what has been marked for update so far? That would be 
> useful.



You may have to step down to CoreGraphics (CG) APIs.  Perhaps 
CGWaitForScreenRefreshRects or some other API would be helpful?

___________________________________________________________
Ricky A. Sharp        mailto:<email_removed>
Instant Interactive(tm)  http://www.instantinteractive.com

Related mailsAuthorDate
mldrawing in a separate thread Graham Cox May 2, 09:13
mlRe: drawing in a separate thread Kyle Sluder May 2, 10:13
mlRe: drawing in a separate thread Graham Cox May 2, 13:07
mlRe: drawing in a separate thread Jean-Daniel Dupas May 2, 13:20
mlRe: drawing in a separate thread Jens Alfke May 2, 17:27
mlRe: drawing in a separate thread Graham Cox May 2, 17:30
mlRe: drawing in a separate thread Jean-Daniel Dupas May 2, 18:04
mlRe: drawing in a separate thread Duncan May 3, 05:40
mlRe: drawing in a separate thread Graham Cox May 3, 06:51
mlRe: drawing in a separate thread Duncan May 3, 13:36
mlRe: drawing in a separate thread Jean-Daniel Dupas May 3, 13:57
mlRe: drawing in a separate thread Graham Cox May 3, 14:52
mlRe: drawing in a separate thread Jean-Daniel Dupas May 3, 15:22
mlRe: drawing in a separate thread Graham Cox May 3, 15:30
mlRe: drawing in a separate thread Ricky Sharp May 3, 15:44
mlRe: drawing in a separate thread Jean-Daniel Dupas May 3, 15:55
mlRe: drawing in a separate thread Graham Cox May 3, 16:11