> I would try to collect the data in an additional thread. > The drawing can be done later with the normal gui thread.
If this method were used to collect data, and GrFlush(), follwed by a Gr operation requiring a client read (like GrGetWindowInfo) were done in the gui thread, then the ratio of time spent collect versus plotting might be roughly approximated. This could then be used to schedule how much data was sent to the server. It could then be optimized be sending more graphics commands per collect/GrFlush() cycle, and elimnating the read operation, in the event it was more important to stay with the most recently collected data. Regards, Greg --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org