From: Pepijn V. E. <pep...@lu...> - 2002-01-09 10:43:45
|
Sorry 'bout the reply to the repy to the digest ;) I agree that NIO buffers are the way to go, but in the case of my application pre jdk 1.4 compatibility is required, so this should work correctly as well. Pepijn Van Eeckhoudt Sven Goethel wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 1st of all, PLEASE REPLY TO THE POSTINGS ITSELF, > not the digest - so it is more easy to find such archived emails ;-) > > QUESTION: how can we setup the mailinglist, so the REPLY-TO field is set .. ? > > On Wednesday 09 January 2002 10:39, Pepijn Van Eeckhoudt wrote: > > >>1. It depends on where you keep the pointer, in java or in c. If you >>keep a pointer in java it won't make any difference. I'm working on >>keeping a pointer in the c code. (or at least trying ;)) >> > <snip> > >>What is necessary to fix this is to keep a >>native copy of the data and use a pointer to this native copy instead of >> a pointer to the java object. This raises the problem of finding the >>right time to free the native copy. >> >>2. This would work (I think) , but creating a display list for code that >>runs only once seems like unnecessary overhead. Also this is just a >>workaround. What I'm looking for is a way to fix the problem, so you >>don't need workarounds. The opengl code by itslef is correct so (imho) >>it should work with gl4java without workarounds. >> > > well, but we should use the new NIO buffers, > which solves all such issues for Java 1.4 !! > > so please mention and anticipate my latest suggestions > and help developing it straight forward to offer a quiet nice > solution .. > > i guess this is better than an ugly kinda workaround or manual > extra array-copy .. > > cheers, sven > - -- > health & wealth > mailto:sgo...@ja... > www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ > voice : +49-521-2399440 ; fax : +49-521-2399442 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE8PBvFHdOA30NoFAARAh0MAKCDrY7mb1TYlD9dX+y8pnTrkVZDaACeLfqm > cpteDQX4JbbWbqzqe53NBzQ= > =pl7y > -----END PGP SIGNATURE----- > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup > > |