@ -109,6 +109,17 @@ struct CGlExtensions
bool OESDrawTexture ;
bool OESMapBuffer ;
// extensions to get memory info
// GL_NVX_gpu_memory_info
bool NVXGPUMemoryInfo ;
// GL_ATI_meminfo
bool ATIMeminfo ;
// WGL_AMD_gpu_association
bool WGLAMDGPUAssociation ;
public :
/// \name Disable Hardware feature. False by default. setuped by IDriver
@ -151,7 +162,6 @@ public:
ATIVertexArrayObject = false ;
ATIEnvMapBumpMap = false ;
ATIFragmentShader = false ;
ATIVertexArrayObject = false ;
ATIMapObjectBuffer = false ;
ATIVertexAttribArrayObject = false ;
EXTVertexShader = false ;
@ -176,6 +186,10 @@ public:
OESDrawTexture = false ;
OESMapBuffer = false ;
NVXGPUMemoryInfo = false ;
ATIMeminfo = false ;
WGLAMDGPUAssociation = false ;
/// \name Disable Hardware feature. False by default. setuped by IDriver
DisableHardwareVertexProgram = false ;
DisableHardwarePixelProgram = false ;
@ -225,12 +239,15 @@ public:
result + = NVOcclusionQuery ? " NVOcclusionQuery " : " " ;
result + = NVStateVARWithoutFlush ? " NVStateVARWithoutFlush " : " " ;
result + = ARBMultisample ? " ARBMultisample " : " " ;
result + = NVXGPUMemoryInfo ? " NVXGPUMemoryInfo " : " " ;
result + = ATIMeminfo ? " ATIMeminfo " : " " ;
# ifdef NL_OS_WINDOWS
result + = " \n WindowsGL: " ;
result + = WGLARBPBuffer ? " WGLARBPBuffer " : " " ;
result + = WGLARBPixelFormat ? " WGLARBPixelFormat " : " " ;
result + = WGLEXTSwapControl ? " WGLEXTSwapControl " : " " ;
result + = WGLAMDGPUAssociation ? " WGLAMDGPUAssociation " : " " ;
# elif defined(NL_OS_MAC)
# elif defined(NL_OS_UNIX)
result + = " \n GLX: " ;
@ -294,230 +311,228 @@ void registerGlExtensions(CGlExtensions &ext);
// OES_mapbuffer.
//===============
extern NEL_PFNGLMAPBUFFEROESPROC nglMapBufferOES ;
extern NEL_PFNGLUNMAPBUFFEROESPROC nglUnmapBufferOES ;
extern NEL_PFNGLGETBUFFERPOINTERVOESPROC nglGetBufferPointervOES ;
extern NEL_PFNGLBUFFERSUBDATAPROC nglBufferSubData ;
extern PFNGLMAPBUFFEROESPROC nglMapBufferOES ;
extern PFNGLUNMAPBUFFEROESPROC nglUnmapBufferOES ;
extern PFNGLGETBUFFERPOINTERVOESPROC nglGetBufferPointervOES ;
extern PFNGLDRAWTEXFOESPROC nglDrawTexfOES ;
extern PFNGLDRAWTEXFOESPROC nglDrawTexfOES ;
// GL_OES_framebuffer_object
extern NEL_ PFNGLISRENDERBUFFEROESPROC nglIsRenderbufferOES ;
extern NEL_ PFNGLBINDRENDERBUFFEROESPROC nglBindRenderbufferOES ;
extern NEL_ PFNGLDELETERENDERBUFFERSOESPROC nglDeleteRenderbuffersOES ;
extern NEL_ PFNGLGENRENDERBUFFERSOESPROC nglGenRenderbuffersOES ;
extern NEL_ PFNGLRENDERBUFFERSTORAGEOESPROC nglRenderbufferStorageOES ;
extern NEL_ PFNGLGETRENDERBUFFERPARAMETERIVOESPROC nglGetRenderbufferParameterivOES ;
extern NEL_ PFNGLISFRAMEBUFFEROESPROC nglIsFramebufferOES ;
extern NEL_ PFNGLBINDFRAMEBUFFEROESPROC nglBindFramebufferOES ;
extern NEL_ PFNGLDELETEFRAMEBUFFERSOESPROC nglDeleteFramebuffersOES ;
extern NEL_ PFNGLGENFRAMEBUFFERSOESPROC nglGenFramebuffersOES ;
extern NEL_ PFNGLCHECKFRAMEBUFFERSTATUSOESPROC nglCheckFramebufferStatusOES ;
extern NEL_ PFNGLFRAMEBUFFERRENDERBUFFEROESPROC nglFramebufferRenderbufferOES ;
extern NEL_ PFNGLFRAMEBUFFERTEXTURE2DOESPROC nglFramebufferTexture2DOES ;
extern NEL_ PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC nglGetFramebufferAttachmentParameterivOES ;
extern NEL_ PFNGLGENERATEMIPMAPOESPROC nglGenerateMipmapOES ;
extern PFNGLISRENDERBUFFEROESPROC nglIsRenderbufferOES ;
extern PFNGLBINDRENDERBUFFEROESPROC nglBindRenderbufferOES ;
extern PFNGLDELETERENDERBUFFERSOESPROC nglDeleteRenderbuffersOES ;
extern PFNGLGENRENDERBUFFERSOESPROC nglGenRenderbuffersOES ;
extern PFNGLRENDERBUFFERSTORAGEOESPROC nglRenderbufferStorageOES ;
extern PFNGLGETRENDERBUFFERPARAMETERIVOESPROC nglGetRenderbufferParameterivOES ;
extern PFNGLISFRAMEBUFFEROESPROC nglIsFramebufferOES ;
extern PFNGLBINDFRAMEBUFFEROESPROC nglBindFramebufferOES ;
extern PFNGLDELETEFRAMEBUFFERSOESPROC nglDeleteFramebuffersOES ;
extern PFNGLGENFRAMEBUFFERSOESPROC nglGenFramebuffersOES ;
extern PFNGLCHECKFRAMEBUFFERSTATUSOESPROC nglCheckFramebufferStatusOES ;
extern PFNGLFRAMEBUFFERRENDERBUFFEROESPROC nglFramebufferRenderbufferOES ;
extern PFNGLFRAMEBUFFERTEXTURE2DOESPROC nglFramebufferTexture2DOES ;
extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC nglGetFramebufferAttachmentParameterivOES ;
extern PFNGLGENERATEMIPMAPOESPROC nglGenerateMipmapOES ;
// GL_OES_texture_cube_map
extern NEL_ PFNGLTEXGENFOESPROC nglTexGenfOES ;
extern NEL_ PFNGLTEXGENFVOESPROC nglTexGenfvOES ;
extern NEL_ PFNGLTEXGENIOESPROC nglTexGeniOES ;
extern NEL_ PFNGLTEXGENIVOESPROC nglTexGenivOES ;
extern NEL_ PFNGLTEXGENXOESPROC nglTexGenxOES ;
extern NEL_ PFNGLTEXGENXVOESPROC nglTexGenxvOES ;
extern NEL_ PFNGLGETTEXGENFVOESPROC nglGetTexGenfvOES ;
extern NEL_ PFNGLGETTEXGENIVOESPROC nglGetTexGenivOES ;
extern NEL_ PFNGLGETTEXGENXVOESPROC nglGetTexGenxvOES ;
extern PFNGLTEXGENFOESPROC nglTexGenfOES ;
extern PFNGLTEXGENFVOESPROC nglTexGenfvOES ;
extern PFNGLTEXGENIOESPROC nglTexGeniOES ;
extern PFNGLTEXGENIVOESPROC nglTexGenivOES ;
extern PFNGLTEXGENXOESPROC nglTexGenxOES ;
extern PFNGLTEXGENXVOESPROC nglTexGenxvOES ;
extern PFNGLGETTEXGENFVOESPROC nglGetTexGenfvOES ;
extern PFNGLGETTEXGENIVOESPROC nglGetTexGenivOES ;
extern PFNGLGETTEXGENXVOESPROC nglGetTexGenxvOES ;
# else
// ARB_multitexture
//=================
extern NEL_ PFNGLACTIVETEXTUREARBPROC nglActiveTextureARB ;
extern NEL_ PFNGLCLIENTACTIVETEXTUREARBPROC nglClientActiveTextureARB ;
extern NEL_ PFNGLMULTITEXCOORD1SARBPROC nglMultiTexCoord1sARB ;
extern NEL_ PFNGLMULTITEXCOORD1IARBPROC nglMultiTexCoord1iARB ;
extern NEL_ PFNGLMULTITEXCOORD1FARBPROC nglMultiTexCoord1fARB ;
extern NEL_ PFNGLMULTITEXCOORD1FARBPROC nglMultiTexCoord1fARB ;
extern NEL_ PFNGLMULTITEXCOORD1DARBPROC nglMultiTexCoord1dARB ;
extern NEL_ PFNGLMULTITEXCOORD2SARBPROC nglMultiTexCoord2sARB ;
extern NEL_ PFNGLMULTITEXCOORD2IARBPROC nglMultiTexCoord2iARB ;
extern NEL_ PFNGLMULTITEXCOORD2FARBPROC nglMultiTexCoord2fARB ;
extern NEL_ PFNGLMULTITEXCOORD2DARBPROC nglMultiTexCoord2dARB ;
extern NEL_ PFNGLMULTITEXCOORD3SARBPROC nglMultiTexCoord3sARB ;
extern NEL_ PFNGLMULTITEXCOORD3IARBPROC nglMultiTexCoord3iARB ;
extern NEL_ PFNGLMULTITEXCOORD3FARBPROC nglMultiTexCoord3fARB ;
extern NEL_ PFNGLMULTITEXCOORD3DARBPROC nglMultiTexCoord3dARB ;
extern NEL_ PFNGLMULTITEXCOORD4SARBPROC nglMultiTexCoord4sARB ;
extern NEL_ PFNGLMULTITEXCOORD4IARBPROC nglMultiTexCoord4iARB ;
extern NEL_ PFNGLMULTITEXCOORD4FARBPROC nglMultiTexCoord4fARB ;
extern NEL_ PFNGLMULTITEXCOORD4DARBPROC nglMultiTexCoord4dARB ;
extern NEL_ PFNGLMULTITEXCOORD1SVARBPROC nglMultiTexCoord1svARB ;
extern NEL_ PFNGLMULTITEXCOORD1IVARBPROC nglMultiTexCoord1ivARB ;
extern NEL_ PFNGLMULTITEXCOORD1FVARBPROC nglMultiTexCoord1fvARB ;
extern NEL_ PFNGLMULTITEXCOORD1DVARBPROC nglMultiTexCoord1dvARB ;
extern NEL_ PFNGLMULTITEXCOORD2SVARBPROC nglMultiTexCoord2svARB ;
extern NEL_ PFNGLMULTITEXCOORD2IVARBPROC nglMultiTexCoord2ivARB ;
extern NEL_ PFNGLMULTITEXCOORD2FVARBPROC nglMultiTexCoord2fvARB ;
extern NEL_ PFNGLMULTITEXCOORD2DVARBPROC nglMultiTexCoord2dvARB ;
extern NEL_ PFNGLMULTITEXCOORD3SVARBPROC nglMultiTexCoord3svARB ;
extern NEL_ PFNGLMULTITEXCOORD3IVARBPROC nglMultiTexCoord3ivARB ;
extern NEL_ PFNGLMULTITEXCOORD3FVARBPROC nglMultiTexCoord3fvARB ;
extern NEL_ PFNGLMULTITEXCOORD3DVARBPROC nglMultiTexCoord3dvARB ;
extern NEL_ PFNGLMULTITEXCOORD4SVARBPROC nglMultiTexCoord4svARB ;
extern NEL_ PFNGLMULTITEXCOORD4IVARBPROC nglMultiTexCoord4ivARB ;
extern NEL_ PFNGLMULTITEXCOORD4FVARBPROC nglMultiTexCoord4fvARB ;
extern NEL_ PFNGLMULTITEXCOORD4DVARBPROC nglMultiTexCoord4dvARB ;
extern PFNGLACTIVETEXTUREARBPROC nglActiveTextureARB ;
extern PFNGLCLIENTACTIVETEXTUREARBPROC nglClientActiveTextureARB ;
extern PFNGLMULTITEXCOORD1SARBPROC nglMultiTexCoord1sARB ;
extern PFNGLMULTITEXCOORD1IARBPROC nglMultiTexCoord1iARB ;
extern PFNGLMULTITEXCOORD1FARBPROC nglMultiTexCoord1fARB ;
extern PFNGLMULTITEXCOORD1FARBPROC nglMultiTexCoord1fARB ;
extern PFNGLMULTITEXCOORD1DARBPROC nglMultiTexCoord1dARB ;
extern PFNGLMULTITEXCOORD2SARBPROC nglMultiTexCoord2sARB ;
extern PFNGLMULTITEXCOORD2IARBPROC nglMultiTexCoord2iARB ;
extern PFNGLMULTITEXCOORD2FARBPROC nglMultiTexCoord2fARB ;
extern PFNGLMULTITEXCOORD2DARBPROC nglMultiTexCoord2dARB ;
extern PFNGLMULTITEXCOORD3SARBPROC nglMultiTexCoord3sARB ;
extern PFNGLMULTITEXCOORD3IARBPROC nglMultiTexCoord3iARB ;
extern PFNGLMULTITEXCOORD3FARBPROC nglMultiTexCoord3fARB ;
extern PFNGLMULTITEXCOORD3DARBPROC nglMultiTexCoord3dARB ;
extern PFNGLMULTITEXCOORD4SARBPROC nglMultiTexCoord4sARB ;
extern PFNGLMULTITEXCOORD4IARBPROC nglMultiTexCoord4iARB ;
extern PFNGLMULTITEXCOORD4FARBPROC nglMultiTexCoord4fARB ;
extern PFNGLMULTITEXCOORD4DARBPROC nglMultiTexCoord4dARB ;
extern PFNGLMULTITEXCOORD1SVARBPROC nglMultiTexCoord1svARB ;
extern PFNGLMULTITEXCOORD1IVARBPROC nglMultiTexCoord1ivARB ;
extern PFNGLMULTITEXCOORD1FVARBPROC nglMultiTexCoord1fvARB ;
extern PFNGLMULTITEXCOORD1DVARBPROC nglMultiTexCoord1dvARB ;
extern PFNGLMULTITEXCOORD2SVARBPROC nglMultiTexCoord2svARB ;
extern PFNGLMULTITEXCOORD2IVARBPROC nglMultiTexCoord2ivARB ;
extern PFNGLMULTITEXCOORD2FVARBPROC nglMultiTexCoord2fvARB ;
extern PFNGLMULTITEXCOORD2DVARBPROC nglMultiTexCoord2dvARB ;
extern PFNGLMULTITEXCOORD3SVARBPROC nglMultiTexCoord3svARB ;
extern PFNGLMULTITEXCOORD3IVARBPROC nglMultiTexCoord3ivARB ;
extern PFNGLMULTITEXCOORD3FVARBPROC nglMultiTexCoord3fvARB ;
extern PFNGLMULTITEXCOORD3DVARBPROC nglMultiTexCoord3dvARB ;
extern PFNGLMULTITEXCOORD4SVARBPROC nglMultiTexCoord4svARB ;
extern PFNGLMULTITEXCOORD4IVARBPROC nglMultiTexCoord4ivARB ;
extern PFNGLMULTITEXCOORD4FVARBPROC nglMultiTexCoord4fvARB ;
extern PFNGLMULTITEXCOORD4DVARBPROC nglMultiTexCoord4dvARB ;
// ARB_TextureCompression.
//========================
extern NEL_ PFNGLCOMPRESSEDTEXIMAGE3DARBPROC nglCompressedTexImage3DARB ;
extern NEL_ PFNGLCOMPRESSEDTEXIMAGE2DARBPROC nglCompressedTexImage2DARB ;
extern NEL_ PFNGLCOMPRESSEDTEXIMAGE1DARBPROC nglCompressedTexImage1DARB ;
extern NEL_ PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC nglCompressedTexSubImage3DARB ;
extern NEL_ PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC nglCompressedTexSubImage2DARB ;
extern NEL_ PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC nglCompressedTexSubImage1DARB ;
extern NEL_ PFNGLGETCOMPRESSEDTEXIMAGEARBPROC nglGetCompressedTexImageARB ;
extern PFNGLCOMPRESSEDTEXIMAGE3DARBPROC nglCompressedTexImage3DARB ;
extern PFNGLCOMPRESSEDTEXIMAGE2DARBPROC nglCompressedTexImage2DARB ;
extern PFNGLCOMPRESSEDTEXIMAGE1DARBPROC nglCompressedTexImage1DARB ;
extern PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC nglCompressedTexSubImage3DARB ;
extern PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC nglCompressedTexSubImage2DARB ;
extern PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC nglCompressedTexSubImage1DARB ;
extern PFNGLGETCOMPRESSEDTEXIMAGEARBPROC nglGetCompressedTexImageARB ;
// VertexArrayRangeNV.
//====================
extern NEL_ PFNGLFLUSHVERTEXARRAYRANGENVPROC nglFlushVertexArrayRangeNV ;
extern NEL_ PFNGLVERTEXARRAYRANGENVPROC nglVertexArrayRangeNV ;
extern PFNGLFLUSHVERTEXARRAYRANGENVPROC nglFlushVertexArrayRangeNV ;
extern PFNGLVERTEXARRAYRANGENVPROC nglVertexArrayRangeNV ;
# ifdef NL_OS_WINDOWS
extern PFNWGLALLOCATEMEMORYNVPROC nwglAllocateMemoryNV ;
extern PFNWGLFREEMEMORYNVPROC nwglFreeMemoryNV ;
# elif defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
extern NEL_ PFNGLXALLOCATEMEMORYNVPROC nglXAllocateMemoryNV ;
extern NEL_ PFNGLXFREEMEMORYNVPROC nglXFreeMemoryNV ;
extern PFNGLXALLOCATEMEMORYNVPROC nglXAllocateMemoryNV ;
extern PFNGLXFREEMEMORYNVPROC nglXFreeMemoryNV ;
# endif
// FenceNV.
//====================
extern NEL_ PFNGLDELETEFENCESNVPROC nglDeleteFencesNV ;
extern NEL_ PFNGLGENFENCESNVPROC nglGenFencesNV ;
extern NEL_ PFNGLISFENCENVPROC nglIsFenceNV ;
extern NEL_ PFNGLTESTFENCENVPROC nglTestFenceNV ;
extern NEL_ PFNGLGETFENCEIVNVPROC nglGetFenceivNV ;
extern NEL_ PFNGLFINISHFENCENVPROC nglFinishFenceNV ;
extern NEL_ PFNGLSETFENCENVPROC nglSetFenceNV ;
extern PFNGLDELETEFENCESNVPROC nglDeleteFencesNV ;
extern PFNGLGENFENCESNVPROC nglGenFencesNV ;
extern PFNGLISFENCENVPROC nglIsFenceNV ;
extern PFNGLTESTFENCENVPROC nglTestFenceNV ;
extern PFNGLGETFENCEIVNVPROC nglGetFenceivNV ;
extern PFNGLFINISHFENCENVPROC nglFinishFenceNV ;
extern PFNGLSETFENCENVPROC nglSetFenceNV ;
// VertexWeighting.
//==================
extern NEL_ PFNGLVERTEXWEIGHTFEXTPROC nglVertexWeightfEXT ;
extern NEL_ PFNGLVERTEXWEIGHTFVEXTPROC nglVertexWeightfvEXT ;
extern NEL_ PFNGLVERTEXWEIGHTPOINTEREXTPROC nglVertexWeightPointerEXT ;
extern PFNGLVERTEXWEIGHTFEXTPROC nglVertexWeightfEXT ;
extern PFNGLVERTEXWEIGHTFVEXTPROC nglVertexWeightfvEXT ;
extern PFNGLVERTEXWEIGHTPOINTEREXTPROC nglVertexWeightPointerEXT ;
// VertexProgramExtension.
//========================
extern NEL_ PFNGLAREPROGRAMSRESIDENTNVPROC nglAreProgramsResidentNV ;
extern NEL_ PFNGLBINDPROGRAMNVPROC nglBindProgramNV ;
extern NEL_ PFNGLDELETEPROGRAMSNVPROC nglDeleteProgramsNV ;
extern NEL_ PFNGLEXECUTEPROGRAMNVPROC nglExecuteProgramNV ;
extern NEL_ PFNGLGENPROGRAMSNVPROC nglGenProgramsNV ;
extern NEL_ PFNGLGETPROGRAMPARAMETERDVNVPROC nglGetProgramParameterdvNV ;
extern NEL_ PFNGLGETPROGRAMPARAMETERFVNVPROC nglGetProgramParameterfvNV ;
extern NEL_ PFNGLGETPROGRAMIVNVPROC nglGetProgramivNV ;
extern NEL_ PFNGLGETPROGRAMSTRINGNVPROC nglGetProgramStringNV ;
extern NEL_ PFNGLGETTRACKMATRIXIVNVPROC nglGetTrackMatrixivNV ;
extern NEL_ PFNGLGETVERTEXATTRIBDVNVPROC nglGetVertexAttribdvNV ;
extern NEL_ PFNGLGETVERTEXATTRIBFVNVPROC nglGetVertexAttribfvNV ;
extern NEL_ PFNGLGETVERTEXATTRIBIVNVPROC nglGetVertexAttribivNV ;
extern NEL_ PFNGLGETVERTEXATTRIBPOINTERVNVPROC nglGetVertexAttribPointervNV ;
extern NEL_ PFNGLISPROGRAMNVPROC nglIsProgramNV ;
extern NEL_ PFNGLLOADPROGRAMNVPROC nglLoadProgramNV ;
extern NEL_ PFNGLPROGRAMPARAMETER4DNVPROC nglProgramParameter4dNV ;
extern NEL_ PFNGLPROGRAMPARAMETER4DVNVPROC nglProgramParameter4dvNV ;
extern NEL_ PFNGLPROGRAMPARAMETER4FNVPROC nglProgramParameter4fNV ;
extern NEL_ PFNGLPROGRAMPARAMETER4FVNVPROC nglProgramParameter4fvNV ;
extern NEL_ PFNGLPROGRAMPARAMETERS4DVNVPROC nglProgramParameters4dvNV ;
extern NEL_ PFNGLPROGRAMPARAMETERS4FVNVPROC nglProgramParameters4fvNV ;
extern NEL_ PFNGLREQUESTRESIDENTPROGRAMSNVPROC nglRequestResidentProgramsNV ;
extern NEL_ PFNGLTRACKMATRIXNVPROC nglTrackMatrixNV ;
extern NEL_ PFNGLVERTEXATTRIBPOINTERNVPROC nglVertexAttribPointerNV ;
extern NEL_ PFNGLVERTEXATTRIB1DNVPROC nglVertexAttrib1dNV ;
extern NEL_ PFNGLVERTEXATTRIB1DVNVPROC nglVertexAttrib1dvNV ;
extern NEL_ PFNGLVERTEXATTRIB1FNVPROC nglVertexAttrib1fNV ;
extern NEL_ PFNGLVERTEXATTRIB1FVNVPROC nglVertexAttrib1fvNV ;
extern NEL_ PFNGLVERTEXATTRIB1SNVPROC nglVertexAttrib1sNV ;
extern NEL_ PFNGLVERTEXATTRIB1SVNVPROC nglVertexAttrib1svNV ;
extern NEL_ PFNGLVERTEXATTRIB2DNVPROC nglVertexAttrib2dNV ;
extern NEL_ PFNGLVERTEXATTRIB2DVNVPROC nglVertexAttrib2dvNV ;
extern NEL_ PFNGLVERTEXATTRIB2FNVPROC nglVertexAttrib2fNV ;
extern NEL_ PFNGLVERTEXATTRIB2FVNVPROC nglVertexAttrib2fvNV ;
extern NEL_ PFNGLVERTEXATTRIB2SNVPROC nglVertexAttrib2sNV ;
extern NEL_ PFNGLVERTEXATTRIB2SVNVPROC nglVertexAttrib2svNV ;
extern NEL_ PFNGLVERTEXATTRIB3DNVPROC nglVertexAttrib3dNV ;
extern NEL_ PFNGLVERTEXATTRIB3DVNVPROC nglVertexAttrib3dvNV ;
extern NEL_ PFNGLVERTEXATTRIB3FNVPROC nglVertexAttrib3fNV ;
extern NEL_ PFNGLVERTEXATTRIB3FVNVPROC nglVertexAttrib3fvNV ;
extern NEL_ PFNGLVERTEXATTRIB3SNVPROC nglVertexAttrib3sNV ;
extern NEL_ PFNGLVERTEXATTRIB3SVNVPROC nglVertexAttrib3svNV ;
extern NEL_ PFNGLVERTEXATTRIB4DNVPROC nglVertexAttrib4dNV ;
extern NEL_ PFNGLVERTEXATTRIB4DVNVPROC nglVertexAttrib4dvNV ;
extern NEL_ PFNGLVERTEXATTRIB4FNVPROC nglVertexAttrib4fNV ;
extern NEL_ PFNGLVERTEXATTRIB4FVNVPROC nglVertexAttrib4fvNV ;
extern NEL_ PFNGLVERTEXATTRIB4SNVPROC nglVertexAttrib4sNV ;
extern NEL_ PFNGLVERTEXATTRIB4SVNVPROC nglVertexAttrib4svNV ;
extern NEL_ PFNGLVERTEXATTRIB4UBVNVPROC nglVertexAttrib4ubvNV ;
extern NEL_ PFNGLVERTEXATTRIBS1DVNVPROC nglVertexAttribs1dvNV ;
extern NEL_ PFNGLVERTEXATTRIBS1FVNVPROC nglVertexAttribs1fvNV ;
extern NEL_ PFNGLVERTEXATTRIBS1SVNVPROC nglVertexAttribs1svNV ;
extern NEL_ PFNGLVERTEXATTRIBS2DVNVPROC nglVertexAttribs2dvNV ;
extern NEL_ PFNGLVERTEXATTRIBS2FVNVPROC nglVertexAttribs2fvNV ;
extern NEL_ PFNGLVERTEXATTRIBS2SVNVPROC nglVertexAttribs2svNV ;
extern NEL_ PFNGLVERTEXATTRIBS3DVNVPROC nglVertexAttribs3dvNV ;
extern NEL_ PFNGLVERTEXATTRIBS3FVNVPROC nglVertexAttribs3fvNV ;
extern NEL_ PFNGLVERTEXATTRIBS3SVNVPROC nglVertexAttribs3svNV ;
extern NEL_ PFNGLVERTEXATTRIBS4DVNVPROC nglVertexAttribs4dvNV ;
extern NEL_ PFNGLVERTEXATTRIBS4FVNVPROC nglVertexAttribs4fvNV ;
extern NEL_ PFNGLVERTEXATTRIBS4SVNVPROC nglVertexAttribs4svNV ;
extern NEL_ PFNGLVERTEXATTRIBS4UBVNVPROC nglVertexAttribs4ubvNV ;
extern PFNGLAREPROGRAMSRESIDENTNVPROC nglAreProgramsResidentNV ;
extern PFNGLBINDPROGRAMNVPROC nglBindProgramNV ;
extern PFNGLDELETEPROGRAMSNVPROC nglDeleteProgramsNV ;
extern PFNGLEXECUTEPROGRAMNVPROC nglExecuteProgramNV ;
extern PFNGLGENPROGRAMSNVPROC nglGenProgramsNV ;
extern PFNGLGETPROGRAMPARAMETERDVNVPROC nglGetProgramParameterdvNV ;
extern PFNGLGETPROGRAMPARAMETERFVNVPROC nglGetProgramParameterfvNV ;
extern PFNGLGETPROGRAMIVNVPROC nglGetProgramivNV ;
extern PFNGLGETPROGRAMSTRINGNVPROC nglGetProgramStringNV ;
extern PFNGLGETTRACKMATRIXIVNVPROC nglGetTrackMatrixivNV ;
extern PFNGLGETVERTEXATTRIBDVNVPROC nglGetVertexAttribdvNV ;
extern PFNGLGETVERTEXATTRIBFVNVPROC nglGetVertexAttribfvNV ;
extern PFNGLGETVERTEXATTRIBIVNVPROC nglGetVertexAttribivNV ;
extern PFNGLGETVERTEXATTRIBPOINTERVNVPROC nglGetVertexAttribPointervNV ;
extern PFNGLISPROGRAMNVPROC nglIsProgramNV ;
extern PFNGLLOADPROGRAMNVPROC nglLoadProgramNV ;
extern PFNGLPROGRAMPARAMETER4DNVPROC nglProgramParameter4dNV ;
extern PFNGLPROGRAMPARAMETER4DVNVPROC nglProgramParameter4dvNV ;
extern PFNGLPROGRAMPARAMETER4FNVPROC nglProgramParameter4fNV ;
extern PFNGLPROGRAMPARAMETER4FVNVPROC nglProgramParameter4fvNV ;
extern PFNGLPROGRAMPARAMETERS4DVNVPROC nglProgramParameters4dvNV ;
extern PFNGLPROGRAMPARAMETERS4FVNVPROC nglProgramParameters4fvNV ;
extern PFNGLREQUESTRESIDENTPROGRAMSNVPROC nglRequestResidentProgramsNV ;
extern PFNGLTRACKMATRIXNVPROC nglTrackMatrixNV ;
extern PFNGLVERTEXATTRIBPOINTERNVPROC nglVertexAttribPointerNV ;
extern PFNGLVERTEXATTRIB1DNVPROC nglVertexAttrib1dNV ;
extern PFNGLVERTEXATTRIB1DVNVPROC nglVertexAttrib1dvNV ;
extern PFNGLVERTEXATTRIB1FNVPROC nglVertexAttrib1fNV ;
extern PFNGLVERTEXATTRIB1FVNVPROC nglVertexAttrib1fvNV ;
extern PFNGLVERTEXATTRIB1SNVPROC nglVertexAttrib1sNV ;
extern PFNGLVERTEXATTRIB1SVNVPROC nglVertexAttrib1svNV ;
extern PFNGLVERTEXATTRIB2DNVPROC nglVertexAttrib2dNV ;
extern PFNGLVERTEXATTRIB2DVNVPROC nglVertexAttrib2dvNV ;
extern PFNGLVERTEXATTRIB2FNVPROC nglVertexAttrib2fNV ;
extern PFNGLVERTEXATTRIB2FVNVPROC nglVertexAttrib2fvNV ;
extern PFNGLVERTEXATTRIB2SNVPROC nglVertexAttrib2sNV ;
extern PFNGLVERTEXATTRIB2SVNVPROC nglVertexAttrib2svNV ;
extern PFNGLVERTEXATTRIB3DNVPROC nglVertexAttrib3dNV ;
extern PFNGLVERTEXATTRIB3DVNVPROC nglVertexAttrib3dvNV ;
extern PFNGLVERTEXATTRIB3FNVPROC nglVertexAttrib3fNV ;
extern PFNGLVERTEXATTRIB3FVNVPROC nglVertexAttrib3fvNV ;
extern PFNGLVERTEXATTRIB3SNVPROC nglVertexAttrib3sNV ;
extern PFNGLVERTEXATTRIB3SVNVPROC nglVertexAttrib3svNV ;
extern PFNGLVERTEXATTRIB4DNVPROC nglVertexAttrib4dNV ;
extern PFNGLVERTEXATTRIB4DVNVPROC nglVertexAttrib4dvNV ;
extern PFNGLVERTEXATTRIB4FNVPROC nglVertexAttrib4fNV ;
extern PFNGLVERTEXATTRIB4FVNVPROC nglVertexAttrib4fvNV ;
extern PFNGLVERTEXATTRIB4SNVPROC nglVertexAttrib4sNV ;
extern PFNGLVERTEXATTRIB4SVNVPROC nglVertexAttrib4svNV ;
extern PFNGLVERTEXATTRIB4UBVNVPROC nglVertexAttrib4ubvNV ;
extern PFNGLVERTEXATTRIBS1DVNVPROC nglVertexAttribs1dvNV ;
extern PFNGLVERTEXATTRIBS1FVNVPROC nglVertexAttribs1fvNV ;
extern PFNGLVERTEXATTRIBS1SVNVPROC nglVertexAttribs1svNV ;
extern PFNGLVERTEXATTRIBS2DVNVPROC nglVertexAttribs2dvNV ;
extern PFNGLVERTEXATTRIBS2FVNVPROC nglVertexAttribs2fvNV ;
extern PFNGLVERTEXATTRIBS2SVNVPROC nglVertexAttribs2svNV ;
extern PFNGLVERTEXATTRIBS3DVNVPROC nglVertexAttribs3dvNV ;
extern PFNGLVERTEXATTRIBS3FVNVPROC nglVertexAttribs3fvNV ;
extern PFNGLVERTEXATTRIBS3SVNVPROC nglVertexAttribs3svNV ;
extern PFNGLVERTEXATTRIBS4DVNVPROC nglVertexAttribs4dvNV ;
extern PFNGLVERTEXATTRIBS4FVNVPROC nglVertexAttribs4fvNV ;
extern PFNGLVERTEXATTRIBS4SVNVPROC nglVertexAttribs4svNV ;
extern PFNGLVERTEXATTRIBS4UBVNVPROC nglVertexAttribs4ubvNV ;
// VertexShaderExtension.
//========================
extern NEL_ PFNGLBEGINVERTEXSHADEREXTPROC nglBeginVertexShaderEXT ;
extern NEL_ PFNGLENDVERTEXSHADEREXTPROC nglEndVertexShaderEXT ;
extern NEL_ PFNGLBINDVERTEXSHADEREXTPROC nglBindVertexShaderEXT ;
extern NEL_ PFNGLGENVERTEXSHADERSEXTPROC nglGenVertexShadersEXT ;
extern NEL_ PFNGLDELETEVERTEXSHADEREXTPROC nglDeleteVertexShaderEXT ;
extern NEL_ PFNGLSHADEROP1EXTPROC nglShaderOp1EXT ;
extern NEL_ PFNGLSHADEROP2EXTPROC nglShaderOp2EXT ;
extern NEL_ PFNGLSHADEROP3EXTPROC nglShaderOp3EXT ;
extern NEL_ PFNGLSWIZZLEEXTPROC nglSwizzleEXT ;
extern NEL_ PFNGLWRITEMASKEXTPROC nglWriteMaskEXT ;
extern NEL_ PFNGLINSERTCOMPONENTEXTPROC nglInsertComponentEXT ;
extern NEL_ PFNGLEXTRACTCOMPONENTEXTPROC nglExtractComponentEXT ;
extern NEL_ PFNGLGENSYMBOLSEXTPROC nglGenSymbolsEXT ;
extern NEL_ PFNGLSETINVARIANTEXTPROC nglSetInvariantEXT ;
extern NEL_ PFNGLSETLOCALCONSTANTEXTPROC nglSetLocalConstantEXT ;
extern NEL_ PFNGLVARIANTPOINTEREXTPROC nglVariantPointerEXT ;
extern NEL_ PFNGLENABLEVARIANTCLIENTSTATEEXTPROC nglEnableVariantClientStateEXT ;
extern NEL_ PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC nglDisableVariantClientStateEXT ;
extern NEL_ PFNGLBINDLIGHTPARAMETEREXTPROC nglBindLightParameterEXT ;
extern NEL_ PFNGLBINDMATERIALPARAMETEREXTPROC nglBindMaterialParameterEXT ;
extern NEL_ PFNGLBINDTEXGENPARAMETEREXTPROC nglBindTexGenParameterEXT ;
extern NEL_ PFNGLBINDTEXTUREUNITPARAMETEREXTPROC nglBindTextureUnitParameterEXT ;
extern NEL_ PFNGLBINDPARAMETEREXTPROC nglBindParameterEXT ;
extern NEL_ PFNGLISVARIANTENABLEDEXTPROC nglIsVariantEnabledEXT ;
extern NEL_ PFNGLGETVARIANTBOOLEANVEXTPROC nglGetVariantBooleanvEXT ;
extern NEL_ PFNGLGETVARIANTINTEGERVEXTPROC nglGetVariantIntegervEXT ;
extern NEL_ PFNGLGETVARIANTFLOATVEXTPROC nglGetVariantFloatvEXT ;
extern NEL_ PFNGLGETVARIANTPOINTERVEXTPROC nglGetVariantPointervEXT ;
extern NEL_ PFNGLGETINVARIANTBOOLEANVEXTPROC nglGetInvariantBooleanvEXT ;
extern NEL_ PFNGLGETINVARIANTINTEGERVEXTPROC nglGetInvariantIntegervEXT ;
extern NEL_ PFNGLGETINVARIANTFLOATVEXTPROC nglGetInvariantFloatvEXT ;
extern NEL_ PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC nglGetLocalConstantBooleanvEXT ;
extern NEL_ PFNGLGETLOCALCONSTANTINTEGERVEXTPROC nglGetLocalConstantIntegervEXT ;
extern NEL_ PFNGLGETLOCALCONSTANTFLOATVEXTPROC nglGetLocalConstantFloatvEXT ;
extern PFNGLBEGINVERTEXSHADEREXTPROC nglBeginVertexShaderEXT ;
extern PFNGLENDVERTEXSHADEREXTPROC nglEndVertexShaderEXT ;
extern PFNGLBINDVERTEXSHADEREXTPROC nglBindVertexShaderEXT ;
extern PFNGLGENVERTEXSHADERSEXTPROC nglGenVertexShadersEXT ;
extern PFNGLDELETEVERTEXSHADEREXTPROC nglDeleteVertexShaderEXT ;
extern PFNGLSHADEROP1EXTPROC nglShaderOp1EXT ;
extern PFNGLSHADEROP2EXTPROC nglShaderOp2EXT ;
extern PFNGLSHADEROP3EXTPROC nglShaderOp3EXT ;
extern PFNGLSWIZZLEEXTPROC nglSwizzleEXT ;
extern PFNGLWRITEMASKEXTPROC nglWriteMaskEXT ;
extern PFNGLINSERTCOMPONENTEXTPROC nglInsertComponentEXT ;
extern PFNGLEXTRACTCOMPONENTEXTPROC nglExtractComponentEXT ;
extern PFNGLGENSYMBOLSEXTPROC nglGenSymbolsEXT ;
extern PFNGLSETINVARIANTEXTPROC nglSetInvariantEXT ;
extern PFNGLSETLOCALCONSTANTEXTPROC nglSetLocalConstantEXT ;
extern PFNGLVARIANTPOINTEREXTPROC nglVariantPointerEXT ;
extern PFNGLENABLEVARIANTCLIENTSTATEEXTPROC nglEnableVariantClientStateEXT ;
extern PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC nglDisableVariantClientStateEXT ;
extern PFNGLBINDLIGHTPARAMETEREXTPROC nglBindLightParameterEXT ;
extern PFNGLBINDMATERIALPARAMETEREXTPROC nglBindMaterialParameterEXT ;
extern PFNGLBINDTEXGENPARAMETEREXTPROC nglBindTexGenParameterEXT ;
extern PFNGLBINDTEXTUREUNITPARAMETEREXTPROC nglBindTextureUnitParameterEXT ;
extern PFNGLBINDPARAMETEREXTPROC nglBindParameterEXT ;
extern PFNGLISVARIANTENABLEDEXTPROC nglIsVariantEnabledEXT ;
extern PFNGLGETVARIANTBOOLEANVEXTPROC nglGetVariantBooleanvEXT ;
extern PFNGLGETVARIANTINTEGERVEXTPROC nglGetVariantIntegervEXT ;
extern PFNGLGETVARIANTFLOATVEXTPROC nglGetVariantFloatvEXT ;
extern PFNGLGETVARIANTPOINTERVEXTPROC nglGetVariantPointervEXT ;
extern PFNGLGETINVARIANTBOOLEANVEXTPROC nglGetInvariantBooleanvEXT ;
extern PFNGLGETINVARIANTINTEGERVEXTPROC nglGetInvariantIntegervEXT ;
extern PFNGLGETINVARIANTFLOATVEXTPROC nglGetInvariantFloatvEXT ;
extern PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC nglGetLocalConstantBooleanvEXT ;
extern PFNGLGETLOCALCONSTANTINTEGERVEXTPROC nglGetLocalConstantIntegervEXT ;
extern PFNGLGETLOCALCONSTANTFLOATVEXTPROC nglGetLocalConstantFloatvEXT ;
// ATI_envmap_bumpmap extension
@ -530,100 +545,100 @@ extern PFNGLGETTEXBUMPPARAMETERFVATIPROC nglGetTexBumpParameterfvATI;
// SecondaryColor extension
//========================
extern NEL_ PFNGLSECONDARYCOLOR3BEXTPROC nglSecondaryColor3bEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3BVEXTPROC nglSecondaryColor3bvEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3DEXTPROC nglSecondaryColor3dEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3DVEXTPROC nglSecondaryColor3dvEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3FEXTPROC nglSecondaryColor3fEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3FVEXTPROC nglSecondaryColor3fvEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3IEXTPROC nglSecondaryColor3iEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3IVEXTPROC nglSecondaryColor3ivEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3SEXTPROC nglSecondaryColor3sEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3SVEXTPROC nglSecondaryColor3svEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3UBEXTPROC nglSecondaryColor3ubEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3UBVEXTPROC nglSecondaryColor3ubvEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3UIEXTPROC nglSecondaryColor3uiEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3UIVEXTPROC nglSecondaryColor3uivEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3USEXTPROC nglSecondaryColor3usEXT ;
extern NEL_ PFNGLSECONDARYCOLOR3USVEXTPROC nglSecondaryColor3usvEXT ;
extern NEL_ PFNGLSECONDARYCOLORPOINTEREXTPROC nglSecondaryColorPointerEXT ;
extern PFNGLSECONDARYCOLOR3BEXTPROC nglSecondaryColor3bEXT ;
extern PFNGLSECONDARYCOLOR3BVEXTPROC nglSecondaryColor3bvEXT ;
extern PFNGLSECONDARYCOLOR3DEXTPROC nglSecondaryColor3dEXT ;
extern PFNGLSECONDARYCOLOR3DVEXTPROC nglSecondaryColor3dvEXT ;
extern PFNGLSECONDARYCOLOR3FEXTPROC nglSecondaryColor3fEXT ;
extern PFNGLSECONDARYCOLOR3FVEXTPROC nglSecondaryColor3fvEXT ;
extern PFNGLSECONDARYCOLOR3IEXTPROC nglSecondaryColor3iEXT ;
extern PFNGLSECONDARYCOLOR3IVEXTPROC nglSecondaryColor3ivEXT ;
extern PFNGLSECONDARYCOLOR3SEXTPROC nglSecondaryColor3sEXT ;
extern PFNGLSECONDARYCOLOR3SVEXTPROC nglSecondaryColor3svEXT ;
extern PFNGLSECONDARYCOLOR3UBEXTPROC nglSecondaryColor3ubEXT ;
extern PFNGLSECONDARYCOLOR3UBVEXTPROC nglSecondaryColor3ubvEXT ;
extern PFNGLSECONDARYCOLOR3UIEXTPROC nglSecondaryColor3uiEXT ;
extern PFNGLSECONDARYCOLOR3UIVEXTPROC nglSecondaryColor3uivEXT ;
extern PFNGLSECONDARYCOLOR3USEXTPROC nglSecondaryColor3usEXT ;
extern PFNGLSECONDARYCOLOR3USVEXTPROC nglSecondaryColor3usvEXT ;
extern PFNGLSECONDARYCOLORPOINTEREXTPROC nglSecondaryColorPointerEXT ;
// BlendColor extension
//========================
extern NEL_ PFNGLBLENDCOLOREXTPROC nglBlendColorEXT ;
extern PFNGLBLENDCOLOREXTPROC nglBlendColorEXT ;
// GL_ATI_vertex_array_object extension
//========================
extern NEL_ PFNGLNEWOBJECTBUFFERATIPROC nglNewObjectBufferATI ;
extern NEL_ PFNGLISOBJECTBUFFERATIPROC nglIsObjectBufferATI ;
extern NEL_ PFNGLUPDATEOBJECTBUFFERATIPROC nglUpdateObjectBufferATI ;
extern NEL_ PFNGLGETOBJECTBUFFERFVATIPROC nglGetObjectBufferfvATI ;
extern NEL_ PFNGLGETOBJECTBUFFERIVATIPROC nglGetObjectBufferivATI ;
extern NEL_PFNGLDELETEOBJECTBUFFERATIPROC nglDelet eObjectBufferATI;
extern NEL_ PFNGLARRAYOBJECTATIPROC nglArrayObjectATI ;
extern NEL_ PFNGLGETARRAYOBJECTFVATIPROC nglGetArrayObjectfvATI ;
extern NEL_ PFNGLGETARRAYOBJECTIVATIPROC nglGetArrayObjectivATI ;
extern NEL_ PFNGLVARIANTARRAYOBJECTATIPROC nglVariantArrayObjectATI ;
extern NEL_ PFNGLGETVARIANTARRAYOBJECTFVATIPROC nglGetVariantArrayObjectfvATI ;
extern NEL_ PFNGLGETVARIANTARRAYOBJECTIVATIPROC nglGetVariantArrayObjectivATI ;
extern PFNGLNEWOBJECTBUFFERATIPROC nglNewObjectBufferATI ;
extern PFNGLISOBJECTBUFFERATIPROC nglIsObjectBufferATI ;
extern PFNGLUPDATEOBJECTBUFFERATIPROC nglUpdateObjectBufferATI ;
extern PFNGLGETOBJECTBUFFERFVATIPROC nglGetObjectBufferfvATI ;
extern PFNGLGETOBJECTBUFFERIVATIPROC nglGetObjectBufferivATI ;
extern PFNGLFREEOBJECTBUFFERATIPROC nglFre eObjectBufferATI;
extern PFNGLARRAYOBJECTATIPROC nglArrayObjectATI ;
extern PFNGLGETARRAYOBJECTFVATIPROC nglGetArrayObjectfvATI ;
extern PFNGLGETARRAYOBJECTIVATIPROC nglGetArrayObjectivATI ;
extern PFNGLVARIANTARRAYOBJECTATIPROC nglVariantArrayObjectATI ;
extern PFNGLGETVARIANTARRAYOBJECTFVATIPROC nglGetVariantArrayObjectfvATI ;
extern PFNGLGETVARIANTARRAYOBJECTIVATIPROC nglGetVariantArrayObjectivATI ;
// GL_ATI_map_object_buffer
//===================================
extern NEL_ PFNGLMAPOBJECTBUFFERATIPROC nglMapObjectBufferATI ;
extern NEL_ PFNGLUNMAPOBJECTBUFFERATIPROC nglUnmapObjectBufferATI ;
extern PFNGLMAPOBJECTBUFFERATIPROC nglMapObjectBufferATI ;
extern PFNGLUNMAPOBJECTBUFFERATIPROC nglUnmapObjectBufferATI ;
// GL_ATI_fragment_shader extension
//===================================
extern NEL_ PFNGLGENFRAGMENTSHADERSATIPROC nglGenFragmentShadersATI ;
extern NEL_ PFNGLBINDFRAGMENTSHADERATIPROC nglBindFragmentShaderATI ;
extern NEL_ PFNGLDELETEFRAGMENTSHADERATIPROC nglDeleteFragmentShaderATI ;
extern NEL_ PFNGLBEGINFRAGMENTSHADERATIPROC nglBeginFragmentShaderATI ;
extern NEL_ PFNGLENDFRAGMENTSHADERATIPROC nglEndFragmentShaderATI ;
extern NEL_ PFNGLPASSTEXCOORDATIPROC nglPassTexCoordATI ;
extern NEL_ PFNGLSAMPLEMAPATIPROC nglSampleMapATI ;
extern NEL_ PFNGLCOLORFRAGMENTOP1ATIPROC nglColorFragmentOp1ATI ;
extern NEL_ PFNGLCOLORFRAGMENTOP2ATIPROC nglColorFragmentOp2ATI ;
extern NEL_ PFNGLCOLORFRAGMENTOP3ATIPROC nglColorFragmentOp3ATI ;
extern NEL_ PFNGLALPHAFRAGMENTOP1ATIPROC nglAlphaFragmentOp1ATI ;
extern NEL_ PFNGLALPHAFRAGMENTOP2ATIPROC nglAlphaFragmentOp2ATI ;
extern NEL_ PFNGLALPHAFRAGMENTOP3ATIPROC nglAlphaFragmentOp3ATI ;
extern NEL_ PFNGLSETFRAGMENTSHADERCONSTANTATIPROC nglSetFragmentShaderConstantATI ;
extern PFNGLGENFRAGMENTSHADERSATIPROC nglGenFragmentShadersATI ;
extern PFNGLBINDFRAGMENTSHADERATIPROC nglBindFragmentShaderATI ;
extern PFNGLDELETEFRAGMENTSHADERATIPROC nglDeleteFragmentShaderATI ;
extern PFNGLBEGINFRAGMENTSHADERATIPROC nglBeginFragmentShaderATI ;
extern PFNGLENDFRAGMENTSHADERATIPROC nglEndFragmentShaderATI ;
extern PFNGLPASSTEXCOORDATIPROC nglPassTexCoordATI ;
extern PFNGLSAMPLEMAPATIPROC nglSampleMapATI ;
extern PFNGLCOLORFRAGMENTOP1ATIPROC nglColorFragmentOp1ATI ;
extern PFNGLCOLORFRAGMENTOP2ATIPROC nglColorFragmentOp2ATI ;
extern PFNGLCOLORFRAGMENTOP3ATIPROC nglColorFragmentOp3ATI ;
extern PFNGLALPHAFRAGMENTOP1ATIPROC nglAlphaFragmentOp1ATI ;
extern PFNGLALPHAFRAGMENTOP2ATIPROC nglAlphaFragmentOp2ATI ;
extern PFNGLALPHAFRAGMENTOP3ATIPROC nglAlphaFragmentOp3ATI ;
extern PFNGLSETFRAGMENTSHADERCONSTANTATIPROC nglSetFragmentShaderConstantATI ;
// GL_ATI_vertex_attrib_array_object
//==================================
extern NEL_PFNGLVERTEXATTRIBARRAYOBJECTATIPROC nglVertexAttribArrayObjectATI ;
extern NEL_PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC nglGetVertexAttribArrayObjectfvATI ;
extern NEL_PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC nglGetVertexAttribArrayObjectivATI ;
extern PFNGLVERTEXATTRIBARRAYOBJECTATIPROC nglVertexAttribArrayObjectATI ;
extern PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC nglGetVertexAttribArrayObjectfvATI ;
extern PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC nglGetVertexAttribArrayObjectivATI ;
// GL_ARB_fragment_shader_extension
//==================================
extern NEL_ PFNGLPROGRAMSTRINGARBPROC nglProgramStringARB ;
extern NEL_ PFNGLBINDPROGRAMARBPROC nglBindProgramARB ;
extern NEL_ PFNGLDELETEPROGRAMSARBPROC nglDeleteProgramsARB ;
extern NEL_ PFNGLGENPROGRAMSARBPROC nglGenProgramsARB ;
extern NEL_ PFNGLPROGRAMENVPARAMETER4DARBPROC nglProgramEnvParameter4dARB ;
extern NEL_ PFNGLPROGRAMENVPARAMETER4DVARBPROC nglProgramEnvParameter4dvARB ;
extern NEL_ PFNGLPROGRAMENVPARAMETER4FARBPROC nglProgramEnvParameter4fARB ;
extern NEL_ PFNGLPROGRAMENVPARAMETER4FVARBPROC nglProgramEnvParameter4fvARB ;
extern NEL_ PFNGLPROGRAMLOCALPARAMETER4DARBPROC nglGetProgramLocalParameter4dARB ;
extern NEL_ PFNGLPROGRAMLOCALPARAMETER4DVARBPROC nglGetProgramLocalParameter4dvARB ;
extern NEL_ PFNGLPROGRAMLOCALPARAMETER4FARBPROC nglGetProgramLocalParameter4fARB ;
extern NEL_ PFNGLPROGRAMLOCALPARAMETER4FVARBPROC nglGetProgramLocalParameter4fvARB ;
extern NEL_ PFNGLGETPROGRAMENVPARAMETERDVARBPROC nglGetProgramEnvParameterdvARB ;
extern NEL_ PFNGLGETPROGRAMENVPARAMETERFVARBPROC nglGetProgramEnvParameterfvARB ;
extern NEL_ PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC nglGetProgramLocalParameterdvARB ;
extern NEL_ PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC nglGetProgramLocalParameterfvARB ;
extern NEL_ PFNGLGETPROGRAMIVARBPROC nglGetProgramivARB ;
extern NEL_ PFNGLGETPROGRAMSTRINGARBPROC nglGetProgramStringARB ;
extern NEL_ PFNGLISPROGRAMARBPROC nglIsProgramARB ;
extern PFNGLPROGRAMSTRINGARBPROC nglProgramStringARB ;
extern PFNGLBINDPROGRAMARBPROC nglBindProgramARB ;
extern PFNGLDELETEPROGRAMSARBPROC nglDeleteProgramsARB ;
extern PFNGLGENPROGRAMSARBPROC nglGenProgramsARB ;
extern PFNGLPROGRAMENVPARAMETER4DARBPROC nglProgramEnvParameter4dARB ;
extern PFNGLPROGRAMENVPARAMETER4DVARBPROC nglProgramEnvParameter4dvARB ;
extern PFNGLPROGRAMENVPARAMETER4FARBPROC nglProgramEnvParameter4fARB ;
extern PFNGLPROGRAMENVPARAMETER4FVARBPROC nglProgramEnvParameter4fvARB ;
extern PFNGLPROGRAMLOCALPARAMETER4DARBPROC nglGetProgramLocalParameter4dARB ;
extern PFNGLPROGRAMLOCALPARAMETER4DVARBPROC nglGetProgramLocalParameter4dvARB ;
extern PFNGLPROGRAMLOCALPARAMETER4FARBPROC nglGetProgramLocalParameter4fARB ;
extern PFNGLPROGRAMLOCALPARAMETER4FVARBPROC nglGetProgramLocalParameter4fvARB ;
extern PFNGLGETPROGRAMENVPARAMETERDVARBPROC nglGetProgramEnvParameterdvARB ;
extern PFNGLGETPROGRAMENVPARAMETERFVARBPROC nglGetProgramEnvParameterfvARB ;
extern PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC nglGetProgramLocalParameterdvARB ;
extern PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC nglGetProgramLocalParameterfvARB ;
extern PFNGLGETPROGRAMIVARBPROC nglGetProgramivARB ;
extern PFNGLGETPROGRAMSTRINGARBPROC nglGetProgramStringARB ;
extern PFNGLISPROGRAMARBPROC nglIsProgramARB ;
// GL_ARB_vertex_buffer_object
//==================================
@ -708,13 +723,13 @@ extern PFNGLISPROGRAMARBPROC nglIsProgramARB;
// GL_NV_occlusion_query
//==================================
extern NEL_ PFNGLGENOCCLUSIONQUERIESNVPROC nglGenOcclusionQueriesNV ;
extern NEL_ PFNGLDELETEOCCLUSIONQUERIESNVPROC nglDeleteOcclusionQueriesNV ;
extern NEL_ PFNGLISOCCLUSIONQUERYNVPROC nglIsOcclusionQueryNV ;
extern NEL_ PFNGLBEGINOCCLUSIONQUERYNVPROC nglBeginOcclusionQueryNV ;
extern NEL_ PFNGLENDOCCLUSIONQUERYNVPROC nglEndOcclusionQueryNV ;
extern NEL_ PFNGLGETOCCLUSIONQUERYIVNVPROC nglGetOcclusionQueryivNV ;
extern NEL_ PFNGLGETOCCLUSIONQUERYUIVNVPROC nglGetOcclusionQueryuivNV ;
extern PFNGLGENOCCLUSIONQUERIESNVPROC nglGenOcclusionQueriesNV ;
extern PFNGLDELETEOCCLUSIONQUERIESNVPROC nglDeleteOcclusionQueriesNV ;
extern PFNGLISOCCLUSIONQUERYNVPROC nglIsOcclusionQueryNV ;
extern PFNGLBEGINOCCLUSIONQUERYNVPROC nglBeginOcclusionQueryNV ;
extern PFNGLENDOCCLUSIONQUERYNVPROC nglEndOcclusionQueryNV ;
extern PFNGLGETOCCLUSIONQUERYIVNVPROC nglGetOcclusionQueryivNV ;
extern PFNGLGETOCCLUSIONQUERYUIVNVPROC nglGetOcclusionQueryuivNV ;
@ -743,46 +758,60 @@ extern PFNWGLGETSWAPINTERVALEXTPROC nwglGetSwapIntervalEXT;
// WGL_ARB_extensions_string
extern PFNWGLGETEXTENSIONSSTRINGARBPROC nwglGetExtensionsStringARB ;
extern PFNWGLGETEXTENSIONSSTRINGARBPROC nwglGetExtensionsStringARB ;
// WGL_AMD_gpu_association
//========================
extern PFNWGLGETGPUIDSAMDPROC nwglGetGPUIDsAMD ;
extern PFNWGLGETGPUINFOAMDPROC nwglGetGPUInfoAMD ;
extern PFNWGLGETCONTEXTGPUIDAMDPROC nwglGetContextGPUIDAMD ;
extern PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC nwglCreateAssociatedContextAMD ;
extern PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC nwglCreateAssociatedContextAttribsAMD ;
extern PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC nwglDeleteAssociatedContextAMD ;
extern PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC nwglMakeAssociatedContextCurrentAMD ;
extern PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC nwglGetCurrentAssociatedContextAMD ;
extern PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC nwglBlitContextFramebufferAMD ;
# elif defined(NL_OS_MAC)
# elif defined(NL_OS_UNIX)
// Swap control extensions
//===========================
extern NEL_PFNGLXSWAPINTERVALEXTPROC nglXSwapIntervalEXT ;
extern PFNGLXSWAPINTERVALEXTPROC nglXSwapIntervalEXT ;
extern PFNGLXSWAPINTERVALSGIPROC nglXSwapIntervalSGI ;
extern PFNGLXSWAPINTERVALSGIPROC nglXSwapIntervalSGI ;
extern NEL_PFNGLXSWAPINTERVALMESAPROC nglXSwapIntervalMESA ;
extern NEL_PFNGLXGETSWAPINTERVALMESAPROC nglXGetSwapIntervalMESA ;
extern PFNGLXSWAPINTERVALMESAPROC nglXSwapIntervalMESA ;
extern PFNGLXGETSWAPINTERVALMESAPROC nglXGetSwapIntervalMESA ;
# endif
// GL_EXT_framebuffer_object
extern NEL_ PFNGLISRENDERBUFFEREXTPROC nglIsRenderbufferEXT ;
extern NEL_ PFNGLISFRAMEBUFFEREXTPROC nglIsFramebufferEXT ;
extern NEL_ PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC nglCheckFramebufferStatusEXT ;
extern NEL_ PFNGLGENFRAMEBUFFERSEXTPROC nglGenFramebuffersEXT ;
extern NEL_ PFNGLBINDFRAMEBUFFEREXTPROC nglBindFramebufferEXT ;
extern NEL_ PFNGLFRAMEBUFFERTEXTURE2DEXTPROC nglFramebufferTexture2DEXT ;
extern NEL_ PFNGLGENRENDERBUFFERSEXTPROC nglGenRenderbuffersEXT ;
extern NEL_ PFNGLBINDRENDERBUFFEREXTPROC nglBindRenderbufferEXT ;
extern NEL_ PFNGLRENDERBUFFERSTORAGEEXTPROC nglRenderbufferStorageEXT ;
extern NEL_ PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC nglFramebufferRenderbufferEXT ;
extern NEL_ PFNGLDELETERENDERBUFFERSEXTPROC nglDeleteRenderbuffersEXT ;
extern NEL_ PFNGLDELETEFRAMEBUFFERSEXTPROC nglDeleteFramebuffersEXT ;
extern NEL_ PFNGETRENDERBUFFERPARAMETERIVEXTPROC nglGetRenderbufferParameterivEXT ;
extern NEL_ PFNGENERATEMIPMAPEXTPROC nglGenerateMipmapEXT ;
extern PFNGLISRENDERBUFFEREXTPROC nglIsRenderbufferEXT ;
extern PFNGLISFRAMEBUFFEREXTPROC nglIsFramebufferEXT ;
extern PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC nglCheckFramebufferStatusEXT ;
extern PFNGLGENFRAMEBUFFERSEXTPROC nglGenFramebuffersEXT ;
extern PFNGLBINDFRAMEBUFFEREXTPROC nglBindFramebufferEXT ;
extern PFNGLFRAMEBUFFERTEXTURE2DEXTPROC nglFramebufferTexture2DEXT ;
extern PFNGLGENRENDERBUFFERSEXTPROC nglGenRenderbuffersEXT ;
extern PFNGLBINDRENDERBUFFEREXTPROC nglBindRenderbufferEXT ;
extern PFNGLRENDERBUFFERSTORAGEEXTPROC nglRenderbufferStorageEXT ;
extern PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC nglFramebufferRenderbufferEXT ;
extern PFNGLDELETERENDERBUFFERSEXTPROC nglDeleteRenderbuffersEXT ;
extern PFNGLDELETEFRAMEBUFFERSEXTPROC nglDeleteFramebuffersEXT ;
extern PFNGL GETRENDERBUFFERPARAMETERIVEXTPROC nglGetRenderbufferParameterivEXT ;
extern PFNGL GENERATEMIPMAPEXTPROC nglGenerateMipmapEXT ;
// GL_EXT_framebuffer_blit
extern NEL_ PFNGLBLITFRAMEBUFFEREXTPROC nglBlitFramebufferEXT ;
extern PFNGLBLITFRAMEBUFFEREXTPROC nglBlitFramebufferEXT ;
// GL_EXT_framebuffer_multisample
extern NEL_ PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC nglRenderbufferStorageMultisampleEXT ;
extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC nglRenderbufferStorageMultisampleEXT ;
// GL_ARB_multisample
extern NEL_ PFNGLSAMPLECOVERAGEARBPROC nglSampleCoverageARB ;
extern PFNGLSAMPLECOVERAGEARBPROC nglSampleCoverageARB ;
# endif // USE_OPENGLES