Sharing OpenGLGadget Context
Posted: Sat Jun 20, 2015 10:53 am
Hi list!
As it is I can't find a way to share an OpenGLGadget Context, ie create and update all my VertexArrays only once for multiple OpenGLGadgets.
Will it be possible to add an optional arguments ParentID, feed with the common OpenGLGadget GadgetID:
Result = OpenGLGadget(#Gadget, x, y, Width, Height [, Flags,[ParentID]])?
For now I have to repush datas to GPU for every opened OpenGLGadget
Kind regards,
Ben
As it is I can't find a way to share an OpenGLGadget Context, ie create and update all my VertexArrays only once for multiple OpenGLGadgets.
Will it be possible to add an optional arguments ParentID, feed with the common OpenGLGadget GadgetID:
Result = OpenGLGadget(#Gadget, x, y, Width, Height [, Flags,[ParentID]])?
For now I have to repush datas to GPU for every opened OpenGLGadget
Kind regards,
Ben