Login  Register

Re: JOGL win32 binding bug for glTransformFeedbackVaryings

Posted by Sven Gothel on Aug 24, 2010; 1:00pm
URL: https://forum.jogamp.org/JOGL-win32-binding-bug-for-glTransformFeedbackVaryings-tp1197405p1310602.html

On Saturday, August 21, 2010 00:53:38 Matt [via jogamp] wrote:
>
> Well, of course. Building gluegen helped. :)
> That is rather obvious, but could be mentioned in the how-to for people
> following it in the middle of the night. ;)
>
> Anyways, the generated JNI code for glTransformFeedbackVaryings seems to
> 'make sense', so figuring out why it misbehaves on Windows won't be that
> easy...
>

http://jogamp.org/bugzilla/show_bug.cgi?id=407

Tested on windows with skipping releasing the temporary memory,
which holds the array of strings (array=malloc(); GetUTFChars() /
ReleaseUTFChars() / free()).

This 'works' ..

It seems that the NV driver executes the glTransformFeedbackVaryings()
out of order, ie access the string array after returning the call.
Since we release the temp memory right away, this will cause the observed
issue.

Trying with new 258.96_notebook_winvista_win7_64bit_international_whql.exe
driver .. same thing.


> ______________________________________
> View message @ http://jogamp.762907.n3.nabble.com/JOGL-win32-binding-bug-for-glTransformFeedbackVaryings-tp1197405p1255002.html
> To start a new topic under jogamp, email [hidden email]
> To unsubscribe from jogamp, click http://jogamp.762907.n3.nabble.com/template/NodeServlet.jtp?tpl=unsubscribe_by_code&node=762907&code=c2dvdGhlbEBqYXVzb2Z0LmNvbXw3NjI5MDd8NDU1NjU4MjUx
>


--
health & wealth
mailto:[hidden email] ; http://jausoft.com
land : +49 (471) 4707742 ; cell: +49 (151) 28145941
Timezone CET: PST+9, EST+6, UTC+1