nanogui: When is actual screen drawing done?


Previous by date: 29 Nov 2005 23:12:58 +0000 VNC, Dave Stuart
Next by date: 29 Nov 2005 23:12:58 +0000 Re: Problem with GrGetGCTextSize, Greg Haerr
Previous in thread: 29 Nov 2005 23:12:58 +0000 When is actual screen drawing done?, tj
Next in thread:

Subject: Re: [nanogui] When is actual screen drawing done?
From: "Greg Haerr" ####@####.####
Date: 29 Nov 2005 23:12:58 +0000
Message-Id: <071b01c5f539$f70184a0$0300a8c0@RDP>

: I thought it was only when a GrDestroyGC() was called. But, I was just 
: looking through some code, tiny widgets to be exact, to get some ideas 
: and I noticed it only called GrDestroyGC() when the widget itself was 
: destroyed and removed from it's registry list, not when its display 
: routine finished.
: 
: So, is there another time or call that causes the gc to get "flushed" to 
: the display device?

I thought I answered this question fully a couple of weeks ago.
GrDestroyGC has nothing to do with when drawing occurs.
Drawing occurs as soon as the server gets the draw request;
however, they are batched in a client queue until either:
1) the queue is fill; 2) a request is made the server must
respond to, e.g. GrGetWindowInfo; 3) the client
is finished processing and waits for an event, e.g. GrGetNextEvent;
or 4) GrFlush is called.

Regards,

Greg


Previous by date: 29 Nov 2005 23:12:58 +0000 VNC, Dave Stuart
Next by date: 29 Nov 2005 23:12:58 +0000 Re: Problem with GrGetGCTextSize, Greg Haerr
Previous in thread: 29 Nov 2005 23:12:58 +0000 When is actual screen drawing done?, tj
Next in thread:


Powered by ezmlm-browse 0.20.