Login  Register

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

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

On 02/24/2013 03:33 AM, kotloft [via jogamp] wrote:
> Hi @gouessej,  if that is relevant, i need the newest glext.h to get all
> latest OpenGL functions such as Bindless stuffs (glProgramUniformHandle*...)
> for NV Kepler cards and glTextureView etc ... Also pls consider this is a tiny
> contribution to JOGL in case i can handle it the right way :)

The 'right way' is the difficulty here.

First we should speak about new GL profiles, i.e. ES3 and GL4.3,
which needs to be added. Are those vendor extensions subsumed into core already?

If not, we may want to consider the footprint usability balance of those.
Footprint can be reduced while adding NIOOnly ..

In case they are not yet in a core profile, what profile are they depending on ?
Shall they simply be added to GL/glext.h and GL3/glext.h ?
The latter would add them to GL3/GL4 .. core profiles, which is only
valid if they have no fixed function dependencies .. etc.

So even though there will be no manual coding required thx to GlueGen
there is some spec work to do here to put them in the right place,
the right way :)

You might have noted that I acted pretty conservatively towards vendor extensions
to not let it bloat too much. Usually useful extensions will be added to core
anyways w/ a ~1 year delay [only].
As we know, this was not true w/ GEOMETRY shaders .. well :)

~Sven



signature.asc (911 bytes) Download Attachment