[GEM-dev] Lua an GEM

chris clepper cgclepper at gmail.com
Thu Jan 17 22:39:22 CET 2008


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.

On Jan 16, 2008 3:33 AM, IOhannes m zmoelnig <zmoelnig at iem.at> wrote:

> 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 at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20080117/ede4615f/attachment.htm>


More information about the GEM-dev mailing list