Login  Register

Re: A new binary build available soon

Posted by gouessej on Jan 21, 2021; 9:52pm
URL: https://forum.jogamp.org/A-new-binary-build-available-soon-tp4038575p4040985.html

Hello

I'll switch to JOGL 2.4 in JogAmp's Ardor3D Continuation 1.0 when it's released.

Most of the objectives in the version 1.1.0 will be moved to the version 2.0 and I won't support TrueType fonts directly.

I'll confirm that I'll probably stick to embedding Servo to create ardor3d-web-ui. It seems to be possible to bootstrap the OpenGL context created by WebRender from the OpenGL context of the (Java/JOGL) embedder (big thanks to Philip Lamb for the tips):
https://github.com/philip-lamb/servo/blob/phil-ss2-headless/ports/libsimpleservo2/capi/src/lib.rs#L495
https://github.com/philip-lamb/servo/blob/phil-ss2-headless/ports/libsimpleservo2/capi/src/lib.rs#L813

That way, WebRender can render the web content in a texture, I just have to pass a texture identifier, its width and its height.

Servo isn't very mature yet, I won't be able to embed it yet and it will probably use WebGPU instead of OpenGL.

I looked at some alternative solutions but I concluded that they would be too slow. WebVector would be enough to render a static HTML page in a PNG but it relies on Swing and I'm not sure that it's suitable for dynamic content. W3C WebDriver and Marionette are suitable for testing purposes but not for real-time rendering.

On the other hand, on the very long term, I'd prefer using WebGPU instead of Vulkan for the next renderer as WebGPU uses Vulkan, Metal, OpenGL, OpenGL-ES and DirectX under the hood. It exposes a Vulkan-like API.

My main concern is that I have a very little spare time to work on my projects. I'll update the copyright year as soon as possible.
Julien Gouesse | Personal blog | Website