Ken, your last couple of posts have mentioned problems with the build machines. Are these problems still around? It’s just that I noticed the nightly builds on the JOAL (and JOGL too) homepage are dated at 16 May, over a week ago. The 16 May links on the JOGL site still work, but the JOAL ones give me 404s. I can manually change the URL to a more recent date (23 May), and the download works alright. It seems the homepages are lagging behind.
As of today (May 25) the builds should be fully working again.
Sorry I haven’t integrated your EFX changes yet, but they need some work which I haven’t been able to get to yet. Could you consider pushing them a bit further? Basically, what is needed is to use the JavaEpilogue directive to GlueGen to insert the call to refresh the AL function pointers at the appropriate place. Based on what you mentioned I think this should basically be
JavaEpilogue alcMakeContextCurrent ALProcAddressLookup.resetALProcAddressTable()
or something similar. Since we don’t currently have per-ALCcontext proc address tables (which is a bug in the implementation of JOAL), you could probably put the logic as to whether to actually perform the re-lookup into the resetALProcAddressTable method, if you didn’t already have it there.
Could you please implement this? Once it’s done there shouldn’t need to be any changes to the user’s code; the EFX stuff should just magically start working. At that point your patch can be applied unmodified.
Note that I’ve (accidentally) already checked in changes which make alGetProcAddress visible only in the ALImpl class, so you should be able to get to it from the net.java.games.joal.impl package. See make/joal.cfg.
Thanks.
Oh, no hurry with the EFX stuff; I was just posting about what I thought was something wrong with the JOAL/JOGL pages.
I’ll help with the EFX fix, but I’ll admit now that most of your post left me scratching my head. I had to Google JavaEpilogue so it could tell me that it’s one of those GlueGen commands in those config files which I don’t completely understand myself.
I’ll try fix-up JOAL as per your suggestions, but I can’t guarantee a solution anytime soon.