Re: queryProperties...
Posted by
Sven Gothel on
May 13, 2014; 3:16am
URL: https://forum.jogamp.org/Java3D-1-6-crashes-JVM-tp4031293p4032325.html
On 05/13/2014 01:07 AM, hharrison [via jogamp] wrote:
> Some of those properties have been hard-coded at this point as they no longer
> have any internal function....I will produce a mapping of what properties are
> actually being queried, and what is being called on the jogl side (I started
> that awhile ago, will fisih and get it over to you)
>
> It's a bit tricky because the query can come from the Java3D main thread, but
> it can also be called from user code before Java3d is even initialized.
>
> I'll open a Java3d issue this week with whatever I have.
>
That would be great .. if we can move those queries to JOGL's initialization,
I guess we even could change GLProfile/GLDrawableFactory in a way to accept
a custom GLRunnable, which then would perform the custom query
while performing JOGL's default initialization.
> But if you have time before I get to it, the best starting point is
> Canvas3D.createQueryProps(), you can trace the rest from there.
Thank you.
I will wait of course.
Based on your results, we can decide whether we offer the data
in JOGL the static way .. or use such a custom query.
~Sven
> Harvey