Archives week 31 of 2008
Aug. 4, 2008 - Aug. 10, 2008
Two pings forward...
Written by
on
in
Snaking.
Lazy wrappers around functions
Written by
on
in
Snaking.
As (extension) functions in OpenGL often are not available until a valid context is created (and functions can be available/unavailable for different contexts), it's necessary to do some lazy-loading inside PyOpenGL sometimes. Discovered today that the glHistogram wrappers were doing load-time checks for function availability and only wrapping the functions if the checks succeeded. So, ...
Channels and keys and loops, oh my
Written by
on
in
Snaking.
Worked on qnet yesterday. Got the stateless (ordered, not guaranteed) channel working. Basically this channel allows you to send messages with "keys" (think of them as sub-channels) where each key is considered to be a stateless update. That is, each message with a given key is a complete update as to the current state of ...
Bit of qnet hacking
Written by
on
in
Snaking.
Got the multiple-channel dispatching roughed in. Also roughed in the event-sending interface. Sped up the handling considerably for long pending queues (was doing a linear scan of the whole queue for each ack'd message, oops). Also roughed in code for ordered-but-not-guaranteed channels (i.e. channels that keep the latest received values, dropping any missing messages). Statistics ...