Reply – Re: Raw Pointer to GLContext
Your Name
or Cancel
In Reply To
Re: Raw Pointer to GLContext
— by Sven Gothel Sven Gothel
On Friday, June 18, 2010 01:20:02 Malte [via jogamp] wrote:

> Hi *,
> I'm trying to retrieve the raw "long" pointer to a GLContext object. I guess
> this is not really done often,
> but the idea is to pass that pointer to another piece of (raw C-) code, that
> shares the same context as the java app (its not the same thread, so I
> really need to pass the context pointer...).
> Is there a way to do this?

Hi Malte,

what you probably want is not the memory pointer to the JavaVM heap of GLContext,
but the OpenGL context handle, which you could 'reuse' in native OpenGL calls ?!

If so - and only this make sense IMHO, please check:

Cheers, Sven
> Thanks,
> Malte
> ______________________________________
> View message @
> To start a new topic under jogamp, email [hidden email]
> To unsubscribe from jogamp, click