LWJGL Forum

Programming => OpenGL => Topic started by: Kai on October 27, 2014, 20:40:04

Title: lwjgl 3 and EXT/NV extensions
Post by: Kai on October 27, 2014, 20:40:04
Hello,

maybe it is a bit early, but since I am now using lwjgl3 from git for its excellent OpenCL/OpenGL interoperability, I began porting my little OpenGL render engine to lwjgl3 and it seems that many EXT and NV extensions are missing, such as EXTAbgr, EXTBgra, EXTDepthBoundsTest, (the very important) EXTDirectStateAccess, NVConditionalRender, NVPointSprite, etc.

Are those planned to be included using the new code generator approach in lwjgl3 any time soon?

Regards,
Kai
Title: Re: lwjgl 3 and EXT/NV extensions
Post by: spasi on October 28, 2014, 11:54:52
Work on EXT extensions has started (atm I'm on EXT_DSA actually), but please post any extensions that you'd like me to prioritize.
Title: Re: lwjgl 3 and EXT/NV extensions
Post by: Kai on October 28, 2014, 12:26:50
Thanks, spasi, for your work. Appreciate it!

As for the reason of my request: I am currently pulling together a small demonstrator application for a big international company to visualize their IT infrastructure. Like what you can do with CodeCity, but not just for a single app.
The goal is to generate presentation-ready very-high-quality images with global illumination (compiled to a single movie file with ffmpeg) using a hybrid rasterization/path tracing approach with both OpenGL and OpenCL.
And of course I am going to mention that I used LWJGL for that. :-)

I don't want to trouble you with implementing the extensions for lwjgl3, but currently I am a bit stuck, since I cannot use both lwjgl2.9 (for working extensions) and lwjgl3 (for working OpenCL interop) in the same app.

Also, I saw that most of the constants declarations were moved from various extensions (including nvidia ones) to the OpenGL30 class, which I can refactor. Only the function entry points for some extensions are left over.
And that is primarily EXT_direct_state_access. If that makes its way into lwjgl3, things can move on. :-)

Then, some minor ones to support would be:
EXTTextureFilterAnisotropic (containing only constants which I could not find elsewhere)
EXTTransformFeedback
EXTTextureInteger
NVVertexBufferUnifiedMemory
NVShaderBufferLoad

Thanks again for your work!
Title: Re: lwjgl 3 and EXT/NV extensions
Post by: spasi on November 01, 2014, 17:59:40
All of the extensions mentioned above are now supported.
Title: Re: lwjgl 3 and EXT/NV extensions
Post by: Kai on November 03, 2014, 14:00:56
Great work! Helps me a lot, thanks!