Bug 590

Summary: Wrong GL2 and GLES2 aliasing of GL_ARB_half_float_pixel/GL_ARB_half_float_vertex and GL_OES_texture_half_float extensions
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: blocker CC: sgothel
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
ccdc2ce6805e330cc5555b138044829f4bc67df9
Workaround: ---

Description Sven Gothel 2012-06-16 20:31:57 CEST
Reported by mpleasance:
<http://forum.jogamp.org/Loading-half-float-textures-using-JOGL-possible-bug-tp4025221.html>

We mistakenly aliase the GL2 and GLES2 extensions:
   - GL_ARB_half_float_vertex and 
       - GL_HALF_FLOAT_ARB 0x140B

   - GL_OES_texture_half_float extensions
       -  GL_HALF_FLOAT_OES 0x8D61

This also leads to adding GL_HALF_FLOAT_OES 
to com.jogamp.opengl.util.GLBuffers.sizeof(..).
Comment 1 Sven Gothel 2012-06-16 20:42:18 CEST
> We mistakenly aliase the GL2 and GLES2 extensions:
>    - GL_ARB_half_float_vertex and 
>        - GL_HALF_FLOAT_ARB 0x140B

Correction:
   - GL_ARB_half_float_pixel
       - GL_HALF_FLOAT_ARB 0x140B
   - GL_ARB_half_float_vertex
       - GL_HALF_FLOAT          0x140B

   - GL_OES_texture_half_float extensions
       -  GL_HALF_FLOAT_OES 0x8D61
Comment 2 Sven Gothel 2012-06-16 21:27:59 CEST
Fixed, jogl commit ccdc2ce6805e330cc5555b138044829f4bc67df9