Jan. 16, 2003
11:22 a.m.
On Thu, 16 Jan 2003, Chris Barker wrote:
peter.chang@nottingham.ac.uk wrote:
You can synchronise the output buffer using XSync(3) and then do the timing.
Oops, that should be XSynchronize(3). [...]
I suppose I could try including Xlib, then calling XSync, but I need to pass a reference to a disply. I have not idea how to get that.
Any hints?
wxGetDisplayName() gives the Display name but not a pointer to the display structure. So this is not much help. In gtk+, any program can be called with --sync to aid debugging. I'd guess wxWindows may allow you to do the same. Peter