GLee 5.0 released - testers needed

Started by
13 comments, last by jamessharpe 19 years, 2 months ago
I've just finished writing GLee 5.0. I only finished GLee 4.0 a couple of days ago, but since then I've completely rewritten the code generator program so, it can generate extension link code directly from the specs. This means GLee supports a number of new extensions, including GL_EXT_framebuffer_object (not that there's any driver support yet [smile]). You can now attempt to force an extension to link even if it's not reported by the driver. For instance, GLeeForceLink("GL_VERSION_2_0") will attempt to force-link all OpenGL 2.0 core functions. It'll then return a code telling you if it was likely to have been successful. GLee 5.0 also does lazy loading, so you shouldn't need to use GLeeInit() to initialise it (but check the readme before attempting this). I've only done minor testing so far, so if anyone finds any bugs, let me know. I'd also be interested to know if it still works on Linux, especially with the lazy loading.

____________________________________________________________www.elf-stone.com | Automated GL Extension Loading: GLee 5.00 for Win32 and Linux

Advertisement
Gah! I just downloaded 4 a few days ago and have not had time to try it and you have already updated to 5! Talk about hard work and dedication [smile]. I will be testing it out prety soon, because I think my current project might need it. I just have to finish a lot of school stuff before Saturday. But after that, I'll let you know what I think as well of how it flows. Great work.

- Drew
hmmm some nice ideas there, I'll try and give it a look when I get up later, i'll probably just hook it into my window framework and see how it goes [grin]

I'll report once I've got it up and a test running/not running as the case might be.. [smile]

*falls into bed*
nice work benjamin bunny,
i'll try it :).
cya.
GLee.h:9475: error: parse error before '*' token
GLee.h:9475: warning: data definition has no type or storage class
GLee.h:9476: error: parse error before "GLXHyperpipeConfigSGIX"
GLee.h:9477: error: parse error before '*' token

Compiling in linux (gcc -c GLee.c & ar -r libGLee.a GLee.o & ranlib libGLee.a) had errors, but I removed GLX_SGIX_hyperpipe section from end of file and it compiled then.

Seems working like version 3 however I don't use any extensions right now..
Quote:Original post by stefu
GLee.h:9475: error: parse error before '*' token
GLee.h:9475: warning: data definition has no type or storage class
GLee.h:9476: error: parse error before "GLXHyperpipeConfigSGIX"
GLee.h:9477: error: parse error before '*' token

Compiling in linux (gcc -c GLee.c & ar -r libGLee.a GLee.o & ranlib libGLee.a) had errors, but I removed GLX_SGIX_hyperpipe section from end of file and it compiled then.

Seems working like version 3 however I don't use any extensions right now..

Looks like some extra types were needed for that extension. It should be fixed now. Thanks for your help.

____________________________________________________________www.elf-stone.com | Automated GL Extension Loading: GLee 5.00 for Win32 and Linux

Texture compression stopped working with this release :'(

<+>Creating GL Window:
|_Width: 800, Height: 600.
|_XLocation: 112, YLocation: 84.
|_Depth Bits: 24, Alpha Bits: 0.
|_Color Bits: 32, Stencil Bits: 8.
|_Ok.

<+>Loading Texture2D File at "Data/Font/Bombardier.png"
|_Ok.

<+>Loading Texture2D File at "Data/Textures/baseTemple.dds"
<!>GL_EXT_texture_compression_s3tc not supported.
<!>Failed to load texture "baseTemple.dds".
<+>Loading Texture2D File at "Data/Textures/bumpTemple.tga"
|_Ok.

<+>Loading Texture2D File at "Data/Textures/glossTemple.png"
|_Ok.

<+>Adding shape to TransformGroup.
|_Ok.

<+>Adding Group to TransformGroup.
|_Ok.

<+>Loading Texture2D File at "Data/Textures/oxidated.jpg"
|_Ok.

<+>Loading Texture2D File at "Data/Textures/oxidatedBump.tga"
|_Ok.

<+>Loading Texture2D File at "Data/Textures/oxidatedGloss.png"
|_Ok.

<+>Adding shape to TransformGroup.
|_Ok.

<+>Adding Group to TransformGroup.
|_Ok.

<+>Loading Texture2D File at "Data/Textures/baseTemple.dds"
<!>GL_EXT_texture_compression_s3tc not supported.
<!>Failed to load texture "baseTemple.dds".
<+>Adding shape to TransformGroup.
|_Ok.

<+>Adding Group to TransformGroup.
|_Ok.

<+>Loading Texture2D File at "Data/Textures/baseTemple.dds"
<!>GL_EXT_texture_compression_s3tc not supported.
<!>Failed to load texture "baseTemple.dds".
<+>Adding shape to TransformGroup.
|_Ok.

<+>Adding Group to TransformGroup.
|_Ok.

<+>Loading Texture2D File at "Data/Textures/baseTemple.dds"
<!>GL_EXT_texture_compression_s3tc not supported.
<!>Failed to load texture "baseTemple.dds".
<+>Adding shape to TransformGroup.
|_Ok.

<+>Adding Group to TransformGroup.
|_Ok.

<+>Loading Texture2D File at "Data/Textures/baseTemple.dds"
<!>GL_EXT_texture_compression_s3tc not supported.
<!>Failed to load texture "baseTemple.dds".
<+>Adding shape to TransformGroup.
|_Ok.

<+>Adding Group to TransformGroup.
|_Ok.

<+>Loading Texture2D File at "Data/Textures/wood.dds"
<!>GL_EXT_texture_compression_s3tc not supported.
<!>Failed to load texture "wood.dds".
<+>Loading Texture2D File at "Data/Textures/woodBump.tga"
|_Ok.

<+>Loading Texture2D File at "Data/Textures/woodGloss.png"
|_Ok.

<+>Adding shape to TransformGroup.
|_Ok.

<+>Adding Group to TransformGroup.
|_Ok.

<+>Loading Texture2D File at "Data/Textures/wood.dds"
<!>GL_EXT_texture_compression_s3tc not supported.
<!>Failed to load texture "wood.dds".
<+>Adding shape to TransformGroup.
|_Ok.

<+>Adding Group to TransformGroup.
|_Ok.

<+>Adding Group to TransformGroup.
|_Ok.

<+>Creating Shape VBO from regular geometry.
|_Ok.

<+>Creating Shape VBO from regular geometry.
|_Ok.

<+>Creating Shape VBO from regular geometry.
|_Ok.

<+>Creating Shape VBO from regular geometry.
|_Ok.

<+>Creating Shape VBO from regular geometry.
|_Ok.

<+>Creating Shape VBO from regular geometry.
|_Ok.

<+>Creating Shape VBO from regular geometry.
|_Ok.

<+>Creating Shape VBO from regular geometry.
|_Ok.

<+>Flushing all textures.
|_Done.

<+>Destroying GL Window:
|_Done.

All good now that I put back the GLeeInit() call in my Window.cpp file

if(!GLeeInit())
Logger::writeFatalLogData("<!>Failed to initialize extensions.\n");
Quote:Original post by JavaCoolDude
All good now that I put back the GLeeInit() call in my Window.cpp file

if(!GLeeInit())
Logger::writeFatalLogData("<!>Failed to initialize extensions.\n");


Hmm, when you tried it before, did you query the extension availability with the GLEE_ENABLED macro (ie GLEE_ENABLED(GLEE_EXT_texture_compression_s3tc) or did you just use the variable (e.g GLEE_EXT_texture_compression_s3tc) directly? It's important to do the former if you're not using GLeeInit(), otherwise the querying variable might not be set when you check it.

____________________________________________________________www.elf-stone.com | Automated GL Extension Loading: GLee 5.00 for Win32 and Linux

Quote:Original post by benjamin bunny
Quote:Original post by JavaCoolDude
All good now that I put back the GLeeInit() call in my Window.cpp file

if(!GLeeInit())
Logger::writeFatalLogData("<!>Failed to initialize extensions.\n");


Hmm, when you tried it before, did you query the extension availability with the GLEE_ENABLED macro (ie GLEE_ENABLED(GLEE_EXT_texture_compression_s3tc) or did you just use the variable (e.g GLEE_EXT_texture_compression_s3tc) directly? It's important to do the former if you're not using GLeeInit(), otherwise the querying variable might not be set when you check it.


Actually, screw that. I've removed the need for GLEE_ENABLED in the latest version (5.02), so it should work just as normal, except without the need to use GLeeInit().

5.02 can be downloaded now. It should be about ready to release on the world now, but if anyone finds any more bugs, let me know.

____________________________________________________________www.elf-stone.com | Automated GL Extension Loading: GLee 5.00 for Win32 and Linux

This topic is closed to new replies.

Advertisement