Bug 714

Summary: GL Constants not defined
Product: [JogAmp] Jogl Reporter: cubus <damichl73>
Component: openglAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
82ee483ad56571ca30fea3d0c5a9078216b0d8c5
Workaround: ---

Description cubus 2013-04-04 20:46:15 CEST
JOGL 2.0-b942-20130324

GL_COPY_READ_BUFFER_BINDING
GL_COPY_WRITE_BUFFER_BINDING
GL_TEXTURE_BUFFER_BINDING

GL_DISPATCH_INDIRECT_BUFFER
GL_DISPATCH_INDIRECT_BUFFER_BINDING
GL_SHADER_STORAGE_BUFFER
GL_SHADER_STORAGE_BUFFER_BINDING
Comment 1 Sven Gothel 2013-04-05 02:06:03 CEST
(In reply to comment #0)
> JOGL 2.0-b942-20130324
> 
> GL_COPY_READ_BUFFER_BINDING
> GL_COPY_WRITE_BUFFER_BINDING
> GL_TEXTURE_BUFFER_BINDING
> 
> GL_DISPATCH_INDIRECT_BUFFER
> GL_DISPATCH_INDIRECT_BUFFER_BINDING
> GL_SHADER_STORAGE_BUFFER
> GL_SHADER_STORAGE_BUFFER_BINDING

.. and what are those constants for ?

Please specify
 - GL Profile
 - GL Extension

I assume this must be GL 4.3 or ES3, since we are GL 4.2 complete,
as well as ES2.

If those const. are within  <= GL4.2/ES2,
pls reopen this bug report!

Thank you.
Comment 2 cubus 2013-04-05 10:50:22 CEST
GL_TEXTURE_BUFFER_BINDING
http://www.opengl.org/sdk/docs/man3/xhtml/glGet.xml
http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml

GL_COPY_READ_BUFFER_BINDING
GL_COPY_WRITE_BUFFER_BINDING
http://www.opengl.org/registry/doc/glspec42.core.20120427.pdf (Table 2.8: Buffer object binding targets)

the others are 4.3, yes.
Comment 3 Sven Gothel 2013-04-06 05:25:57 CEST
(In reply to comment #2)
> GL_TEXTURE_BUFFER_BINDING
> http://www.opengl.org/sdk/docs/man3/xhtml/glGet.xml
> http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml

Maybe so .. but it is not in:
  http://www.opengl.org/registry/doc/glspec42.compatibility.20120427.pdf
  http://www.opengl.org/registry/api/glext.h

Even a grep within my GL spec pdf and header folder didn't help.

See <http://stackoverflow.com/questions/15710949/gl-texture-buffer-binding-opengl-undefined>,
so you are not the only one :|

> 
> GL_COPY_READ_BUFFER_BINDING
> GL_COPY_WRITE_BUFFER_BINDING
> http://www.opengl.org/registry/doc/glspec42.core.20120427.pdf (Table 2.8:
> Buffer object binding targets)

Yes, same pname as COPY_[READ|WRITE]_BUFFER - added 82ee483ad56571ca30fea3d0c5a9078216b0d8c5,
those actually sneaked in after 1st release of headers :)

> 
> the others are 4.3, yes.

.. which will be added soon.