JOGL and mesa opengl32.dll on Windows
Posted by
chrix on
Jan 24, 2014; 9:19pm
URL: https://forum.jogamp.org/JOGL-and-mesa-opengl32-dll-on-Windows-tp4031340.html
Is anyone successfully using JOGL with the mesa opengl32.dll on Windows? The only way I have it working is by copying the mesa opengl32.dll over to the folder containing the java.exe. If I put it anywhere else (current directory..), it's catching the System32/opengl32.dll MSFT version instead.
I'm trying to run JOGL with mesa opengl32.dll as a workaround for
https://code.google.com/p/javachromiumembedded/issues/detail?id=34 . This Java Chromium binding uses JOGL to render the Chromium's buffer as a texture. This works fine (hardware acceleration) except under Windows Remote Desktop (no hardware acceleration, system32/opengl32.dll from MSFT doesn't like npot textures) and this call fails.
gl2.glTexImage2D(gl2.GL_TEXTURE_2D, 0, gl2.GL_RGBA, view_width_, view_height_, 0, gl2.GL_BGRA, gl2.GL_UNSIGNED_INT_8_8_8_8_REV, buffer);
How do you get your JOGL app to find your mesa opengl32.dll on Windows?
Thanks for any tip,
Chrix