Re: JOGL and mesa opengl32.dll on Windows
Posted by
Sven Gothel on
Jan 24, 2014; 11:13pm
URL: https://forum.jogamp.org/JOGL-and-mesa-opengl32-dll-on-Windows-tp4031340p4031341.html
On 01/24/2014 10:19 PM, chrix [via jogamp] wrote:
> 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);
tbh .. I would fix CEF and the binding, i.e. ensure that
simple offscreen bitmaps are supported and/or POT textures.
Note: You simply can initialize a PIT texture w/ a zero transfer
and use TexSubImage (sic) to transfer the net-payload.
>
> How do you get your JOGL app to find your mesa opengl32.dll on Windows?
I thought PATH would do it ?
Have to double check the order of locations we gather
to load the native library - look in NativeLibrary.
Maybe it's time for a JOGL GL full library path / library name property ?
~Sven