Bug 590 - Wrong GL2 and GLES2 aliasing of GL_ARB_half_float_pixel/GL_ARB_half_float_vertex and GL_OES_texture_half_float extensions
Summary: Wrong GL2 and GLES2 aliasing of GL_ARB_half_float_pixel/GL_ARB_half_float_ver...
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- blocker
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2012-06-16 20:31 CEST by Sven Gothel
Modified: 2012-06-16 21:27 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
ccdc2ce6805e330cc5555b138044829f4bc67df9
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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