Would it be useful to put the context info into the gemstate? This would possibly allow another language object to attach things to the context if the pointer and data are properly handled. It would also help with updating some of the Quicktime code which can move textures into a context directly.
it's like this
"gem_state 1" is sent whenever the rendering is turned on and triggers
the "startRendering"-method of each class.
"gem_state (pointer) (pointer)" triggers the actual rendering in each
cycle; the actual gemstate (image-data, texcoords,...) is available in
the structure the pointer points to.
"gem_state 0" is sent whenever the rendering is turned off.
all of the above messages propagate through all gem-objects.
turning rendering on/off is not the same as creating/destroying the
window (but probably you are fine with that)
i hope this helps.
mfga.sdr
IOhannes
_______________________________________________
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev