I'm trying to figure out how to handle a stream of x-events in
xlib/glx with relatively low latency.

The example in the cmucl documentation describes how
system:serve-event is used in conjuction with a handler set up by
ext:enable-clx-event-handling.  (I notice that if I call serve-event
without setting up any explicit handlers, there's about a 1 second lag
between clicking the mouse and getting the event.)

So this seems to indicate that in order to effectively use
serve-event, I would have to use clx. However, I need glx to set up
the proper visuals for opengl.  Has anyone made glx and clx
interoperate, so that glx could create the visual it needs and hand
it to clx?  Or conversely are there hooks in serve-event land to
define a glx equivalent to enable-clx-event-handling?

Any help or hints would be greatly appreciated.

- Bob


Reply via email to