Login  Register

Re: Updating glext.h confuses gluegen with function pointer GLDEBUGPROCARB

Posted by Sven Gothel on Feb 24, 2013; 9:20pm
URL: https://forum.jogamp.org/Updating-glext-h-confuses-gluegen-with-function-pointer-GLDEBUGPROCARB-tp4028327p4028353.html

On 02/24/2013 02:08 PM, kotloft [via jogamp] wrote:

> Hi @gouessej, no they are not all nv specific. Things like glTextureView
> actually belong to GL4.2 ARB extension.
> There are lot of other stuffs in the latest glext.h, such as deleting old
> deprecated functions or providing new macros.
>
>
> Hi @Sven, i see your point. the Kepler stuffs belongs to nv_bindless_texture
> which are written against GL4.0.
> and glTextureView belongs to ARB_texture_view which is written against GL4.2.
> Other latest changes includes: OES fixed point routines, khronos ASTC
> compressed texture routines and macros.
> As what you have pointed out, i think i better put them into gl3ext.h. It
> appears that there's no need for a GL4.3 profile for the time being.
4.3 support shall come soon,
however, if you can confirm that these extensions are _not_ subsumed [yet]
pls feel free to add the complete extensions to both glext.h (GL and GL3),
especially the ARB ones - since they will be subsumed at some point - probably.

Adding them to both, GL and GL3 is good, since it will enabled them
for compatibility and core profiles.
Further more it is necessary to exclude them e.g. for GL2, GL3bc and GL3
if they _depend_ on GL4 (-> ARB_texture_view ?) .. etc.
Note that the wording 'written against GL4' does not necessarily mean they require GL4.
See the jogl/make/config/jogl gluegen config files, where exclusion etc is defined.

After more bug fixing (OSX, .. etc) I will tackle 4.3.
Well, I said this month, but in a good way, our many users reported many bugs
which should be fixed ASAP.

Thank you for your collaboration .. and hopefully you will be here to review
and contribute more.

~Sven



signature.asc (911 bytes) Download Attachment