<div style="font-family: Arial, sans-serif; font-size: 14px;">Yep have been away from java and GL for some time hence answering oldest message first, but don't worry I will answer :)</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
    <div class="protonmail_signature_block-user protonmail_signature_block-empty">
        
            </div>
    
            <div class="protonmail_signature_block-proton">That is awesome if you had MESA working on macOS. I am curious how you solved the issue with library loading.</div><div class="protonmail_signature_block-proton"><br></div><div class="protonmail_signature_block-proton">If you bumped PanamaGL from Java 19 to 20 that is awesome. I was about to start this soon but I'd be glad to rather review your work through a PR on the gitlab projects. The more people able to commit to this code base, the best for this project.</div><div class="protonmail_signature_block-proton"><br></div><div class="protonmail_signature_block-proton">I'll answer more in depth to your recent message.</div><div class="protonmail_signature_block-proton"><br></div><div class="protonmail_signature_block-proton">Thank you a lot.</div><div class="protonmail_signature_block-proton"><br></div><div class="protonmail_signature_block-proton"><br></div>
</div>
<div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div class="protonmail_quote">
        ------- Original Message -------<br>
        Le mardi 23 mai 2023 à 13:25, Michael Hall <mik3hall@gmail.com> a écrit :<br><br>
        <blockquote class="protonmail_quote" type="cite">
            <br><div><br><blockquote type="cite"><div>On May 23, 2023, at 5:54 AM, Martin Pernollet <martin.pernollet@protonmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div style="font-family: Arial, sans-serif; font-size: 14px;">Hi Philip,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Thank you a lot for these helpful clarifications.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">You are right, I definitely need to jump on a dedicated OS thread. It is a pity the -XstartOnFirstThread does not do it.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">We may probably use JOGL's OSXUtil class that does a good job at handling this already. The only limitation is that getting OSXUtil requires depending on all JOGL which additionally requires tweaks to avoid hangs and the like.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Regards,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Martin</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;" class="protonmail_signature_block">
</div>
<div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div class="protonmail_quote">
        ------- Original Message -------<br>
        Le mardi 18 avril 2023 à 19:52, Philip Race <philip.race@oracle.com> a écrit :<br><br>
        </div></div></blockquote><br></div><div>Martin, </div><div><br></div><div>A little strange you are replying to this one from April but not mine from 2 days ago? </div><div><br></div><div>As I remember there were two show stopper issues. First OS/X OpenGL required -XstartOnFirstThread which didn’t work for Swing applications, and, Apple was discontinuing OpenGL support in favor of their own Metal API’s? </div><div><br></div><div>In my post I mentioned that using a Mesa offscreen build I was able to run the demo creating an offscreen image and saving it to disk. </div><div><br></div><div>As I remember your goal was to create an offscreen image and then copy it over to Swing. So, that’s done?</div><div><br></div><div>I changed the Panama API’s you used from 19 to 20. Which you will have to do sometime? </div><div><br></div><div>Other than that for OS/X supporting OpenGL api’s going forward for Swing, or probably JavaFX, what is wrong with what I have? Maybe I can fix it.</div><div><br></div><div>Mike</div><br>
        </blockquote><br>
    </div>