From: <pet...@no...> - 2003-01-16 19:21:08
|
On Thu, 16 Jan 2003, Chris Barker wrote: > pet...@no... 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 |