diff options
Diffstat (limited to 'docs/doxygen/nel/driver__opengl__extension_8cpp-source.html')
-rw-r--r-- | docs/doxygen/nel/driver__opengl__extension_8cpp-source.html | 986 |
1 files changed, 986 insertions, 0 deletions
diff --git a/docs/doxygen/nel/driver__opengl__extension_8cpp-source.html b/docs/doxygen/nel/driver__opengl__extension_8cpp-source.html new file mode 100644 index 00000000..c24c89ae --- /dev/null +++ b/docs/doxygen/nel/driver__opengl__extension_8cpp-source.html @@ -0,0 +1,986 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>driver_opengl_extension.cpp</h1><a href="driver__opengl__extension_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 +00007 <font class="comment">/* Copyright, 2000 Nevrax Ltd.</font> +00008 <font class="comment"> *</font> +00009 <font class="comment"> * This file is part of NEVRAX NEL.</font> +00010 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font> +00011 <font class="comment"> * it under the terms of the GNU General Public License as published by</font> +00012 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font> +00013 <font class="comment"> * any later version.</font> +00014 <font class="comment"></font> +00015 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font> +00016 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font> +00017 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font> +00018 <font class="comment"> * General Public License for more details.</font> +00019 <font class="comment"></font> +00020 <font class="comment"> * You should have received a copy of the GNU General Public License</font> +00021 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font> +00022 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font> +00023 <font class="comment"> * MA 02111-1307, USA.</font> +00024 <font class="comment"> */</font> +00025 +00026 +00027 <font class="preprocessor">#include "<a class="code" href="stdopengl_8h.html">stdopengl.h</a>"</font> +00028 +00029 <font class="preprocessor">#include "<a class="code" href="driver__opengl__extension_8h.html">driver_opengl_extension.h</a>"</font> +00030 <font class="preprocessor">#include "<a class="code" href="material_8h.html">3d/material.h</a>"</font> +00031 +00032 <font class="comment">// ***************************************************************************</font> +00033 <font class="preprocessor">#ifdef NL_OS_WINDOWS</font> +00034 <font class="preprocessor"></font><font class="preprocessor">#define nelglGetProcAddress wglGetProcAddress</font> +00035 <font class="preprocessor"></font><font class="preprocessor">#else // NL_OS_WINDOWS</font> +<a name="l00036"></a><a class="code" href="driver__opengl__extension_8cpp.html#a184">00036</a> <font class="preprocessor"></font><a class="code" href="driver__opengl__extension__def_8h.html#a424">void</a> (*<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *procName))() +00037 { +00038 <font class="keywordflow">return</font> glXGetProcAddressARB((<font class="keyword">const</font> GLubyte *)procName); +00039 } +00040 <font class="preprocessor">#endif // NL_OS_WINDOWS</font> +00041 <font class="preprocessor"></font> +00042 +00043 <font class="comment">// ***************************************************************************</font> +00044 <font class="comment">// The exported function names</font> +00045 +00046 <font class="comment">// ARB_multitexture</font> +00047 <font class="comment">//=================</font> +<a name="l00048"></a><a class="code" href="driver__opengl__extension_8cpp.html#a0">00048</a> NEL_PFNGLACTIVETEXTUREARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a0">nglActiveTextureARB</a>; +<a name="l00049"></a><a class="code" href="driver__opengl__extension_8cpp.html#a1">00049</a> NEL_PFNGLCLIENTACTIVETEXTUREARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a1">nglClientActiveTextureARB</a>; +00050 +<a name="l00051"></a><a class="code" href="driver__opengl__extension_8cpp.html#a2">00051</a> NEL_PFNGLMULTITEXCOORD1SARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a2">nglMultiTexCoord1sARB</a>; +<a name="l00052"></a><a class="code" href="driver__opengl__extension_8cpp.html#a3">00052</a> NEL_PFNGLMULTITEXCOORD1IARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a3">nglMultiTexCoord1iARB</a>; +<a name="l00053"></a><a class="code" href="driver__opengl__extension_8cpp.html#a4">00053</a> NEL_PFNGLMULTITEXCOORD1FARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a4">nglMultiTexCoord1fARB</a>; +<a name="l00054"></a><a class="code" href="driver__opengl__extension_8cpp.html#a5">00054</a> NEL_PFNGLMULTITEXCOORD1DARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a5">nglMultiTexCoord1dARB</a>; +<a name="l00055"></a><a class="code" href="driver__opengl__extension_8cpp.html#a6">00055</a> NEL_PFNGLMULTITEXCOORD2SARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a6">nglMultiTexCoord2sARB</a>; +<a name="l00056"></a><a class="code" href="driver__opengl__extension_8cpp.html#a7">00056</a> NEL_PFNGLMULTITEXCOORD2IARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a7">nglMultiTexCoord2iARB</a>; +<a name="l00057"></a><a class="code" href="driver__opengl__extension_8cpp.html#a8">00057</a> NEL_PFNGLMULTITEXCOORD2FARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a8">nglMultiTexCoord2fARB</a>; +<a name="l00058"></a><a class="code" href="driver__opengl__extension_8cpp.html#a9">00058</a> NEL_PFNGLMULTITEXCOORD2DARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a9">nglMultiTexCoord2dARB</a>; +<a name="l00059"></a><a class="code" href="driver__opengl__extension_8cpp.html#a10">00059</a> NEL_PFNGLMULTITEXCOORD3SARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a10">nglMultiTexCoord3sARB</a>; +<a name="l00060"></a><a class="code" href="driver__opengl__extension_8cpp.html#a11">00060</a> NEL_PFNGLMULTITEXCOORD3IARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a11">nglMultiTexCoord3iARB</a>; +<a name="l00061"></a><a class="code" href="driver__opengl__extension_8cpp.html#a12">00061</a> NEL_PFNGLMULTITEXCOORD3FARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a12">nglMultiTexCoord3fARB</a>; +<a name="l00062"></a><a class="code" href="driver__opengl__extension_8cpp.html#a13">00062</a> NEL_PFNGLMULTITEXCOORD3DARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a13">nglMultiTexCoord3dARB</a>; +<a name="l00063"></a><a class="code" href="driver__opengl__extension_8cpp.html#a14">00063</a> NEL_PFNGLMULTITEXCOORD4SARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a14">nglMultiTexCoord4sARB</a>; +<a name="l00064"></a><a class="code" href="driver__opengl__extension_8cpp.html#a15">00064</a> NEL_PFNGLMULTITEXCOORD4IARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a15">nglMultiTexCoord4iARB</a>; +<a name="l00065"></a><a class="code" href="driver__opengl__extension_8cpp.html#a16">00065</a> NEL_PFNGLMULTITEXCOORD4FARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a16">nglMultiTexCoord4fARB</a>; +<a name="l00066"></a><a class="code" href="driver__opengl__extension_8cpp.html#a17">00066</a> NEL_PFNGLMULTITEXCOORD4DARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a17">nglMultiTexCoord4dARB</a>; +00067 +<a name="l00068"></a><a class="code" href="driver__opengl__extension_8cpp.html#a18">00068</a> NEL_PFNGLMULTITEXCOORD1SVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a18">nglMultiTexCoord1svARB</a>; +<a name="l00069"></a><a class="code" href="driver__opengl__extension_8cpp.html#a19">00069</a> NEL_PFNGLMULTITEXCOORD1IVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a19">nglMultiTexCoord1ivARB</a>; +<a name="l00070"></a><a class="code" href="driver__opengl__extension_8cpp.html#a20">00070</a> NEL_PFNGLMULTITEXCOORD1FVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a20">nglMultiTexCoord1fvARB</a>; +<a name="l00071"></a><a class="code" href="driver__opengl__extension_8cpp.html#a21">00071</a> NEL_PFNGLMULTITEXCOORD1DVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a21">nglMultiTexCoord1dvARB</a>; +<a name="l00072"></a><a class="code" href="driver__opengl__extension_8cpp.html#a22">00072</a> NEL_PFNGLMULTITEXCOORD2SVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a22">nglMultiTexCoord2svARB</a>; +<a name="l00073"></a><a class="code" href="driver__opengl__extension_8cpp.html#a23">00073</a> NEL_PFNGLMULTITEXCOORD2IVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a23">nglMultiTexCoord2ivARB</a>; +<a name="l00074"></a><a class="code" href="driver__opengl__extension_8cpp.html#a24">00074</a> NEL_PFNGLMULTITEXCOORD2FVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a24">nglMultiTexCoord2fvARB</a>; +<a name="l00075"></a><a class="code" href="driver__opengl__extension_8cpp.html#a25">00075</a> NEL_PFNGLMULTITEXCOORD2DVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a25">nglMultiTexCoord2dvARB</a>; +<a name="l00076"></a><a class="code" href="driver__opengl__extension_8cpp.html#a26">00076</a> NEL_PFNGLMULTITEXCOORD3SVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a26">nglMultiTexCoord3svARB</a>; +<a name="l00077"></a><a class="code" href="driver__opengl__extension_8cpp.html#a27">00077</a> NEL_PFNGLMULTITEXCOORD3IVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a27">nglMultiTexCoord3ivARB</a>; +<a name="l00078"></a><a class="code" href="driver__opengl__extension_8cpp.html#a28">00078</a> NEL_PFNGLMULTITEXCOORD3FVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a28">nglMultiTexCoord3fvARB</a>; +<a name="l00079"></a><a class="code" href="driver__opengl__extension_8cpp.html#a29">00079</a> NEL_PFNGLMULTITEXCOORD3DVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a29">nglMultiTexCoord3dvARB</a>; +<a name="l00080"></a><a class="code" href="driver__opengl__extension_8cpp.html#a30">00080</a> NEL_PFNGLMULTITEXCOORD4SVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a30">nglMultiTexCoord4svARB</a>; +<a name="l00081"></a><a class="code" href="driver__opengl__extension_8cpp.html#a31">00081</a> NEL_PFNGLMULTITEXCOORD4IVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a31">nglMultiTexCoord4ivARB</a>; +<a name="l00082"></a><a class="code" href="driver__opengl__extension_8cpp.html#a32">00082</a> NEL_PFNGLMULTITEXCOORD4FVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a32">nglMultiTexCoord4fvARB</a>; +<a name="l00083"></a><a class="code" href="driver__opengl__extension_8cpp.html#a33">00083</a> NEL_PFNGLMULTITEXCOORD4DVARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a33">nglMultiTexCoord4dvARB</a>; +00084 +00085 +00086 <font class="comment">// ARB_TextureCompression.</font> +00087 <font class="comment">//========================</font> +<a name="l00088"></a><a class="code" href="driver__opengl__extension_8cpp.html#a34">00088</a> NEL_PFNGLCOMPRESSEDTEXIMAGE3DARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a34">nglCompressedTexImage3DARB</a>; +<a name="l00089"></a><a class="code" href="driver__opengl__extension_8cpp.html#a35">00089</a> NEL_PFNGLCOMPRESSEDTEXIMAGE2DARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a35">nglCompressedTexImage2DARB</a>; +<a name="l00090"></a><a class="code" href="driver__opengl__extension_8cpp.html#a36">00090</a> NEL_PFNGLCOMPRESSEDTEXIMAGE1DARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a36">nglCompressedTexImage1DARB</a>; +<a name="l00091"></a><a class="code" href="driver__opengl__extension_8cpp.html#a37">00091</a> NEL_PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a37">nglCompressedTexSubImage3DARB</a>; +<a name="l00092"></a><a class="code" href="driver__opengl__extension_8cpp.html#a38">00092</a> NEL_PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a38">nglCompressedTexSubImage2DARB</a>; +<a name="l00093"></a><a class="code" href="driver__opengl__extension_8cpp.html#a39">00093</a> NEL_PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a39">nglCompressedTexSubImage1DARB</a>; +<a name="l00094"></a><a class="code" href="driver__opengl__extension_8cpp.html#a40">00094</a> NEL_PFNGLGETCOMPRESSEDTEXIMAGEARBPROC <a class="code" href="driver__opengl__extension_8cpp.html#a40">nglGetCompressedTexImageARB</a>; +00095 +00096 +00097 <font class="comment">// VertexArrayRangeNV.</font> +00098 <font class="comment">//====================</font> +<a name="l00099"></a><a class="code" href="driver__opengl__extension_8cpp.html#a41">00099</a> NEL_PFNGLFLUSHVERTEXARRAYRANGENVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a41">nglFlushVertexArrayRangeNV</a>; +<a name="l00100"></a><a class="code" href="driver__opengl__extension_8cpp.html#a42">00100</a> NEL_PFNGLVERTEXARRAYRANGENVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a42">nglVertexArrayRangeNV</a>; +00101 <font class="preprocessor">#ifdef NL_OS_WINDOWS</font> +00102 <font class="preprocessor"></font>PFNWGLALLOCATEMEMORYNVPROC wglAllocateMemoryNV; +00103 PFNWGLFREEMEMORYNVPROC wglFreeMemoryNV; +00104 <font class="preprocessor">#endif</font> +00105 <font class="preprocessor"></font> +00106 +00107 <font class="comment">// FenceNV.</font> +00108 <font class="comment">//====================</font> +<a name="l00109"></a><a class="code" href="driver__opengl__extension_8cpp.html#a43">00109</a> NEL_PFNGLDELETEFENCESNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a43">nglDeleteFencesNV</a>; +<a name="l00110"></a><a class="code" href="driver__opengl__extension_8cpp.html#a44">00110</a> NEL_PFNGLGENFENCESNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a44">nglGenFencesNV</a>; +<a name="l00111"></a><a class="code" href="driver__opengl__extension_8cpp.html#a45">00111</a> NEL_PFNGLISFENCENVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a45">nglIsFenceNV</a>; +<a name="l00112"></a><a class="code" href="driver__opengl__extension_8cpp.html#a46">00112</a> NEL_PFNGLTESTFENCENVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a46">nglTestFenceNV</a>; +<a name="l00113"></a><a class="code" href="driver__opengl__extension_8cpp.html#a47">00113</a> NEL_PFNGLGETFENCEIVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a47">nglGetFenceivNV</a>; +<a name="l00114"></a><a class="code" href="driver__opengl__extension_8cpp.html#a48">00114</a> NEL_PFNGLFINISHFENCENVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a48">nglFinishFenceNV</a>; +<a name="l00115"></a><a class="code" href="driver__opengl__extension_8cpp.html#a49">00115</a> NEL_PFNGLSETFENCENVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a49">nglSetFenceNV</a>; +00116 +00117 +00118 <font class="comment">// VertexWeighting.</font> +00119 <font class="comment">//====================</font> +<a name="l00120"></a><a class="code" href="driver__opengl__extension_8cpp.html#a50">00120</a> NEL_PFNGLVERTEXWEIGHTFEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a50">nglVertexWeightfEXT</a>; +<a name="l00121"></a><a class="code" href="driver__opengl__extension_8cpp.html#a51">00121</a> NEL_PFNGLVERTEXWEIGHTFVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a51">nglVertexWeightfvEXT</a>; +<a name="l00122"></a><a class="code" href="driver__opengl__extension_8cpp.html#a52">00122</a> NEL_PFNGLVERTEXWEIGHTPOINTEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a52">nglVertexWeightPointerEXT</a>; +00123 +00124 +00125 <font class="comment">// VertexProgramExtension.</font> +00126 <font class="comment">//========================</font> +<a name="l00127"></a><a class="code" href="driver__opengl__extension_8cpp.html#a53">00127</a> NEL_PFNGLAREPROGRAMSRESIDENTNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a53">nglAreProgramsResidentNV</a>; +<a name="l00128"></a><a class="code" href="driver__opengl__extension_8cpp.html#a54">00128</a> NEL_PFNGLBINDPROGRAMNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a54">nglBindProgramNV</a>; +<a name="l00129"></a><a class="code" href="driver__opengl__extension_8cpp.html#a55">00129</a> NEL_PFNGLDELETEPROGRAMSNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a55">nglDeleteProgramsNV</a>; +<a name="l00130"></a><a class="code" href="driver__opengl__extension_8cpp.html#a56">00130</a> NEL_PFNGLEXECUTEPROGRAMNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a56">nglExecuteProgramNV</a>; +<a name="l00131"></a><a class="code" href="driver__opengl__extension_8cpp.html#a57">00131</a> NEL_PFNGLGENPROGRAMSNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a57">nglGenProgramsNV</a>; +<a name="l00132"></a><a class="code" href="driver__opengl__extension_8cpp.html#a58">00132</a> NEL_PFNGLGETPROGRAMPARAMETERDVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a58">nglGetProgramParameterdvNV</a>; +<a name="l00133"></a><a class="code" href="driver__opengl__extension_8cpp.html#a59">00133</a> NEL_PFNGLGETPROGRAMPARAMETERFVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a59">nglGetProgramParameterfvNV</a>; +<a name="l00134"></a><a class="code" href="driver__opengl__extension_8cpp.html#a60">00134</a> NEL_PFNGLGETPROGRAMIVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a60">nglGetProgramivNV</a>; +<a name="l00135"></a><a class="code" href="driver__opengl__extension_8cpp.html#a61">00135</a> NEL_PFNGLGETPROGRAMSTRINGNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a61">nglGetProgramStringNV</a>; +<a name="l00136"></a><a class="code" href="driver__opengl__extension_8cpp.html#a62">00136</a> NEL_PFNGLGETTRACKMATRIXIVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a62">nglGetTrackMatrixivNV</a>; +<a name="l00137"></a><a class="code" href="driver__opengl__extension_8cpp.html#a63">00137</a> NEL_PFNGLGETVERTEXATTRIBDVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a63">nglGetVertexAttribdvNV</a>; +<a name="l00138"></a><a class="code" href="driver__opengl__extension_8cpp.html#a64">00138</a> NEL_PFNGLGETVERTEXATTRIBFVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a64">nglGetVertexAttribfvNV</a>; +<a name="l00139"></a><a class="code" href="driver__opengl__extension_8cpp.html#a65">00139</a> NEL_PFNGLGETVERTEXATTRIBIVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a65">nglGetVertexAttribivNV</a>; +<a name="l00140"></a><a class="code" href="driver__opengl__extension_8cpp.html#a66">00140</a> NEL_PFNGLGETVERTEXATTRIBPOINTERVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a66">nglGetVertexAttribPointervNV</a>; +<a name="l00141"></a><a class="code" href="driver__opengl__extension_8cpp.html#a67">00141</a> NEL_PFNGLISPROGRAMNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a67">nglIsProgramNV</a>; +<a name="l00142"></a><a class="code" href="driver__opengl__extension_8cpp.html#a68">00142</a> NEL_PFNGLLOADPROGRAMNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a68">nglLoadProgramNV</a>; +<a name="l00143"></a><a class="code" href="driver__opengl__extension_8cpp.html#a69">00143</a> NEL_PFNGLPROGRAMPARAMETER4DNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a69">nglProgramParameter4dNV</a>; +<a name="l00144"></a><a class="code" href="driver__opengl__extension_8cpp.html#a70">00144</a> NEL_PFNGLPROGRAMPARAMETER4DVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a70">nglProgramParameter4dvNV</a>; +<a name="l00145"></a><a class="code" href="driver__opengl__extension_8cpp.html#a71">00145</a> NEL_PFNGLPROGRAMPARAMETER4FNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a71">nglProgramParameter4fNV</a>; +<a name="l00146"></a><a class="code" href="driver__opengl__extension_8cpp.html#a72">00146</a> NEL_PFNGLPROGRAMPARAMETER4FVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a72">nglProgramParameter4fvNV</a>; +<a name="l00147"></a><a class="code" href="driver__opengl__extension_8cpp.html#a73">00147</a> NEL_PFNGLPROGRAMPARAMETERS4DVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a73">nglProgramParameters4dvNV</a>; +<a name="l00148"></a><a class="code" href="driver__opengl__extension_8cpp.html#a74">00148</a> NEL_PFNGLPROGRAMPARAMETERS4FVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a74">nglProgramParameters4fvNV</a>; +<a name="l00149"></a><a class="code" href="driver__opengl__extension_8cpp.html#a75">00149</a> NEL_PFNGLREQUESTRESIDENTPROGRAMSNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a75">nglRequestResidentProgramsNV</a>; +<a name="l00150"></a><a class="code" href="driver__opengl__extension_8cpp.html#a76">00150</a> NEL_PFNGLTRACKMATRIXNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a76">nglTrackMatrixNV</a>; +<a name="l00151"></a><a class="code" href="driver__opengl__extension_8cpp.html#a77">00151</a> NEL_PFNGLVERTEXATTRIBPOINTERNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a77">nglVertexAttribPointerNV</a>; +<a name="l00152"></a><a class="code" href="driver__opengl__extension_8cpp.html#a78">00152</a> NEL_PFNGLVERTEXATTRIB1DNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a78">nglVertexAttrib1dNV</a>; +<a name="l00153"></a><a class="code" href="driver__opengl__extension_8cpp.html#a79">00153</a> NEL_PFNGLVERTEXATTRIB1DVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a79">nglVertexAttrib1dvNV</a>; +<a name="l00154"></a><a class="code" href="driver__opengl__extension_8cpp.html#a80">00154</a> NEL_PFNGLVERTEXATTRIB1FNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a80">nglVertexAttrib1fNV</a>; +<a name="l00155"></a><a class="code" href="driver__opengl__extension_8cpp.html#a81">00155</a> NEL_PFNGLVERTEXATTRIB1FVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a81">nglVertexAttrib1fvNV</a>; +<a name="l00156"></a><a class="code" href="driver__opengl__extension_8cpp.html#a82">00156</a> NEL_PFNGLVERTEXATTRIB1SNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a82">nglVertexAttrib1sNV</a>; +<a name="l00157"></a><a class="code" href="driver__opengl__extension_8cpp.html#a83">00157</a> NEL_PFNGLVERTEXATTRIB1SVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a83">nglVertexAttrib1svNV</a>; +<a name="l00158"></a><a class="code" href="driver__opengl__extension_8cpp.html#a84">00158</a> NEL_PFNGLVERTEXATTRIB2DNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a84">nglVertexAttrib2dNV</a>; +<a name="l00159"></a><a class="code" href="driver__opengl__extension_8cpp.html#a85">00159</a> NEL_PFNGLVERTEXATTRIB2DVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a85">nglVertexAttrib2dvNV</a>; +<a name="l00160"></a><a class="code" href="driver__opengl__extension_8cpp.html#a86">00160</a> NEL_PFNGLVERTEXATTRIB2FNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a86">nglVertexAttrib2fNV</a>; +<a name="l00161"></a><a class="code" href="driver__opengl__extension_8cpp.html#a87">00161</a> NEL_PFNGLVERTEXATTRIB2FVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a87">nglVertexAttrib2fvNV</a>; +<a name="l00162"></a><a class="code" href="driver__opengl__extension_8cpp.html#a88">00162</a> NEL_PFNGLVERTEXATTRIB2SNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a88">nglVertexAttrib2sNV</a>; +<a name="l00163"></a><a class="code" href="driver__opengl__extension_8cpp.html#a89">00163</a> NEL_PFNGLVERTEXATTRIB2SVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a89">nglVertexAttrib2svNV</a>; +<a name="l00164"></a><a class="code" href="driver__opengl__extension_8cpp.html#a90">00164</a> NEL_PFNGLVERTEXATTRIB3DNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a90">nglVertexAttrib3dNV</a>; +<a name="l00165"></a><a class="code" href="driver__opengl__extension_8cpp.html#a91">00165</a> NEL_PFNGLVERTEXATTRIB3DVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a91">nglVertexAttrib3dvNV</a>; +<a name="l00166"></a><a class="code" href="driver__opengl__extension_8cpp.html#a92">00166</a> NEL_PFNGLVERTEXATTRIB3FNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a92">nglVertexAttrib3fNV</a>; +<a name="l00167"></a><a class="code" href="driver__opengl__extension_8cpp.html#a93">00167</a> NEL_PFNGLVERTEXATTRIB3FVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a93">nglVertexAttrib3fvNV</a>; +<a name="l00168"></a><a class="code" href="driver__opengl__extension_8cpp.html#a94">00168</a> NEL_PFNGLVERTEXATTRIB3SNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a94">nglVertexAttrib3sNV</a>; +<a name="l00169"></a><a class="code" href="driver__opengl__extension_8cpp.html#a95">00169</a> NEL_PFNGLVERTEXATTRIB3SVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a95">nglVertexAttrib3svNV</a>; +<a name="l00170"></a><a class="code" href="driver__opengl__extension_8cpp.html#a96">00170</a> NEL_PFNGLVERTEXATTRIB4DNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a96">nglVertexAttrib4dNV</a>; +<a name="l00171"></a><a class="code" href="driver__opengl__extension_8cpp.html#a97">00171</a> NEL_PFNGLVERTEXATTRIB4DVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a97">nglVertexAttrib4dvNV</a>; +<a name="l00172"></a><a class="code" href="driver__opengl__extension_8cpp.html#a98">00172</a> NEL_PFNGLVERTEXATTRIB4FNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a98">nglVertexAttrib4fNV</a>; +<a name="l00173"></a><a class="code" href="driver__opengl__extension_8cpp.html#a99">00173</a> NEL_PFNGLVERTEXATTRIB4FVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a99">nglVertexAttrib4fvNV</a>; +<a name="l00174"></a><a class="code" href="driver__opengl__extension_8cpp.html#a100">00174</a> NEL_PFNGLVERTEXATTRIB4SNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a100">nglVertexAttrib4sNV</a>; +<a name="l00175"></a><a class="code" href="driver__opengl__extension_8cpp.html#a101">00175</a> NEL_PFNGLVERTEXATTRIB4SVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a101">nglVertexAttrib4svNV</a>; +<a name="l00176"></a><a class="code" href="driver__opengl__extension_8cpp.html#a102">00176</a> NEL_PFNGLVERTEXATTRIB4UBVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a102">nglVertexAttrib4ubvNV</a>; +<a name="l00177"></a><a class="code" href="driver__opengl__extension_8cpp.html#a103">00177</a> NEL_PFNGLVERTEXATTRIBS1DVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a103">nglVertexAttribs1dvNV</a>; +<a name="l00178"></a><a class="code" href="driver__opengl__extension_8cpp.html#a104">00178</a> NEL_PFNGLVERTEXATTRIBS1FVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a104">nglVertexAttribs1fvNV</a>; +<a name="l00179"></a><a class="code" href="driver__opengl__extension_8cpp.html#a105">00179</a> NEL_PFNGLVERTEXATTRIBS1SVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a105">nglVertexAttribs1svNV</a>; +<a name="l00180"></a><a class="code" href="driver__opengl__extension_8cpp.html#a106">00180</a> NEL_PFNGLVERTEXATTRIBS2DVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a106">nglVertexAttribs2dvNV</a>; +<a name="l00181"></a><a class="code" href="driver__opengl__extension_8cpp.html#a107">00181</a> NEL_PFNGLVERTEXATTRIBS2FVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a107">nglVertexAttribs2fvNV</a>; +<a name="l00182"></a><a class="code" href="driver__opengl__extension_8cpp.html#a108">00182</a> NEL_PFNGLVERTEXATTRIBS2SVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a108">nglVertexAttribs2svNV</a>; +<a name="l00183"></a><a class="code" href="driver__opengl__extension_8cpp.html#a109">00183</a> NEL_PFNGLVERTEXATTRIBS3DVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a109">nglVertexAttribs3dvNV</a>; +<a name="l00184"></a><a class="code" href="driver__opengl__extension_8cpp.html#a110">00184</a> NEL_PFNGLVERTEXATTRIBS3FVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a110">nglVertexAttribs3fvNV</a>; +<a name="l00185"></a><a class="code" href="driver__opengl__extension_8cpp.html#a111">00185</a> NEL_PFNGLVERTEXATTRIBS3SVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a111">nglVertexAttribs3svNV</a>; +<a name="l00186"></a><a class="code" href="driver__opengl__extension_8cpp.html#a112">00186</a> NEL_PFNGLVERTEXATTRIBS4DVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a112">nglVertexAttribs4dvNV</a>; +<a name="l00187"></a><a class="code" href="driver__opengl__extension_8cpp.html#a113">00187</a> NEL_PFNGLVERTEXATTRIBS4FVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a113">nglVertexAttribs4fvNV</a>; +<a name="l00188"></a><a class="code" href="driver__opengl__extension_8cpp.html#a114">00188</a> NEL_PFNGLVERTEXATTRIBS4SVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a114">nglVertexAttribs4svNV</a>; +<a name="l00189"></a><a class="code" href="driver__opengl__extension_8cpp.html#a115">00189</a> NEL_PFNGLVERTEXATTRIBS4UBVNVPROC <a class="code" href="driver__opengl__extension_8cpp.html#a115">nglVertexAttribs4ubvNV</a>; +00190 +00191 <font class="comment">// VertexShaderExt extension</font> +00192 <font class="comment">//==========================</font> +<a name="l00193"></a><a class="code" href="driver__opengl__extension_8cpp.html#a116">00193</a> NEL_PFNGLBEGINVERTEXSHADEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a116">nglBeginVertexShaderEXT</a>; +<a name="l00194"></a><a class="code" href="driver__opengl__extension_8cpp.html#a117">00194</a> NEL_PFNGLENDVERTEXSHADEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a117">nglEndVertexShaderEXT</a>; +<a name="l00195"></a><a class="code" href="driver__opengl__extension_8cpp.html#a118">00195</a> NEL_PFNGLBINDVERTEXSHADEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a118">nglBindVertexShaderEXT</a>; +<a name="l00196"></a><a class="code" href="driver__opengl__extension_8cpp.html#a119">00196</a> NEL_PFNGLGENVERTEXSHADERSEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a119">nglGenVertexShadersEXT</a>; +<a name="l00197"></a><a class="code" href="driver__opengl__extension_8cpp.html#a120">00197</a> NEL_PFNGLDELETEVERTEXSHADEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a120">nglDeleteVertexShaderEXT</a>; +<a name="l00198"></a><a class="code" href="driver__opengl__extension_8cpp.html#a121">00198</a> NEL_PFNGLSHADEROP1EXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a121">nglShaderOp1EXT</a>; +<a name="l00199"></a><a class="code" href="driver__opengl__extension_8cpp.html#a122">00199</a> NEL_PFNGLSHADEROP2EXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a122">nglShaderOp2EXT</a>; +<a name="l00200"></a><a class="code" href="driver__opengl__extension_8cpp.html#a123">00200</a> NEL_PFNGLSHADEROP3EXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a123">nglShaderOp3EXT</a>; +<a name="l00201"></a><a class="code" href="driver__opengl__extension_8cpp.html#a124">00201</a> NEL_PFNGLSWIZZLEEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a124">nglSwizzleEXT</a>; +<a name="l00202"></a><a class="code" href="driver__opengl__extension_8cpp.html#a125">00202</a> NEL_PFNGLWRITEMASKEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a125">nglWriteMaskEXT</a>; +<a name="l00203"></a><a class="code" href="driver__opengl__extension_8cpp.html#a126">00203</a> NEL_PFNGLINSERTCOMPONENTEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a126">nglInsertComponentEXT</a>; +<a name="l00204"></a><a class="code" href="driver__opengl__extension_8cpp.html#a127">00204</a> NEL_PFNGLEXTRACTCOMPONENTEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a127">nglExtractComponentEXT</a>; +<a name="l00205"></a><a class="code" href="driver__opengl__extension_8cpp.html#a128">00205</a> NEL_PFNGLGENSYMBOLSEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a128">nglGenSymbolsEXT</a>; +<a name="l00206"></a><a class="code" href="driver__opengl__extension_8cpp.html#a129">00206</a> NEL_PFNGLSETINVARIANTEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a129">nglSetInvariantEXT</a>; +<a name="l00207"></a><a class="code" href="driver__opengl__extension_8cpp.html#a130">00207</a> NEL_PFNGLSETLOCALCONSTANTEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a130">nglSetLocalConstantEXT</a>; +<a name="l00208"></a><a class="code" href="driver__opengl__extension_8cpp.html#a131">00208</a> NEL_PFNGLVARIANTPOINTEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a131">nglVariantPointerEXT</a>; +<a name="l00209"></a><a class="code" href="driver__opengl__extension_8cpp.html#a132">00209</a> NEL_PFNGLENABLEVARIANTCLIENTSTATEEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a132">nglEnableVariantClientStateEXT</a>; +<a name="l00210"></a><a class="code" href="driver__opengl__extension_8cpp.html#a133">00210</a> NEL_PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a133">nglDisableVariantClientStateEXT</a>; +<a name="l00211"></a><a class="code" href="driver__opengl__extension_8cpp.html#a134">00211</a> NEL_PFNGLBINDLIGHTPARAMETEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a134">nglBindLightParameterEXT</a>; +<a name="l00212"></a><a class="code" href="driver__opengl__extension_8cpp.html#a135">00212</a> NEL_PFNGLBINDMATERIALPARAMETEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a135">nglBindMaterialParameterEXT</a>; +<a name="l00213"></a><a class="code" href="driver__opengl__extension_8cpp.html#a136">00213</a> NEL_PFNGLBINDTEXGENPARAMETEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a136">nglBindTexGenParameterEXT</a>; +<a name="l00214"></a><a class="code" href="driver__opengl__extension_8cpp.html#a137">00214</a> NEL_PFNGLBINDTEXTUREUNITPARAMETEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a137">nglBindTextureUnitParameterEXT</a>; +<a name="l00215"></a><a class="code" href="driver__opengl__extension_8cpp.html#a138">00215</a> NEL_PFNGLBINDPARAMETEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a138">nglBindParameterEXT</a>; +<a name="l00216"></a><a class="code" href="driver__opengl__extension_8cpp.html#a139">00216</a> NEL_PFNGLISVARIANTENABLEDEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a139">nglIsVariantEnabledEXT</a>; +<a name="l00217"></a><a class="code" href="driver__opengl__extension_8cpp.html#a140">00217</a> NEL_PFNGLGETVARIANTBOOLEANVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a140">nglGetVariantBooleanvEXT</a>; +<a name="l00218"></a><a class="code" href="driver__opengl__extension_8cpp.html#a141">00218</a> NEL_PFNGLGETVARIANTINTEGERVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a141">nglGetVariantIntegervEXT</a>; +<a name="l00219"></a><a class="code" href="driver__opengl__extension_8cpp.html#a142">00219</a> NEL_PFNGLGETVARIANTFLOATVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a142">nglGetVariantFloatvEXT</a>; +<a name="l00220"></a><a class="code" href="driver__opengl__extension_8cpp.html#a143">00220</a> NEL_PFNGLGETVARIANTPOINTERVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a143">nglGetVariantPointervEXT</a>; +<a name="l00221"></a><a class="code" href="driver__opengl__extension_8cpp.html#a144">00221</a> NEL_PFNGLGETINVARIANTBOOLEANVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a144">nglGetInvariantBooleanvEXT</a>; +<a name="l00222"></a><a class="code" href="driver__opengl__extension_8cpp.html#a145">00222</a> NEL_PFNGLGETINVARIANTINTEGERVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a145">nglGetInvariantIntegervEXT</a>; +<a name="l00223"></a><a class="code" href="driver__opengl__extension_8cpp.html#a146">00223</a> NEL_PFNGLGETINVARIANTFLOATVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a146">nglGetInvariantFloatvEXT</a>; +<a name="l00224"></a><a class="code" href="driver__opengl__extension_8cpp.html#a147">00224</a> NEL_PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a147">nglGetLocalConstantBooleanvEXT</a>; +<a name="l00225"></a><a class="code" href="driver__opengl__extension_8cpp.html#a148">00225</a> NEL_PFNGLGETLOCALCONSTANTINTEGERVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a148">nglGetLocalConstantIntegervEXT</a>; +<a name="l00226"></a><a class="code" href="driver__opengl__extension_8cpp.html#a149">00226</a> NEL_PFNGLGETLOCALCONSTANTFLOATVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a149">nglGetLocalConstantFloatvEXT</a>; +00227 +00228 +00229 <font class="comment">// SecondaryColor extension</font> +00230 <font class="comment">//========================</font> +<a name="l00231"></a><a class="code" href="driver__opengl__extension_8cpp.html#a150">00231</a> NEL_PFNGLSECONDARYCOLOR3BEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a150">nglSecondaryColor3bEXT</a>; +<a name="l00232"></a><a class="code" href="driver__opengl__extension_8cpp.html#a151">00232</a> NEL_PFNGLSECONDARYCOLOR3BVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a151">nglSecondaryColor3bvEXT</a>; +<a name="l00233"></a><a class="code" href="driver__opengl__extension_8cpp.html#a152">00233</a> NEL_PFNGLSECONDARYCOLOR3DEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a152">nglSecondaryColor3dEXT</a>; +<a name="l00234"></a><a class="code" href="driver__opengl__extension_8cpp.html#a153">00234</a> NEL_PFNGLSECONDARYCOLOR3DVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a153">nglSecondaryColor3dvEXT</a>; +<a name="l00235"></a><a class="code" href="driver__opengl__extension_8cpp.html#a154">00235</a> NEL_PFNGLSECONDARYCOLOR3FEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a154">nglSecondaryColor3fEXT</a>; +<a name="l00236"></a><a class="code" href="driver__opengl__extension_8cpp.html#a155">00236</a> NEL_PFNGLSECONDARYCOLOR3FVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a155">nglSecondaryColor3fvEXT</a>; +<a name="l00237"></a><a class="code" href="driver__opengl__extension_8cpp.html#a156">00237</a> NEL_PFNGLSECONDARYCOLOR3IEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a156">nglSecondaryColor3iEXT</a>; +<a name="l00238"></a><a class="code" href="driver__opengl__extension_8cpp.html#a157">00238</a> NEL_PFNGLSECONDARYCOLOR3IVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a157">nglSecondaryColor3ivEXT</a>; +<a name="l00239"></a><a class="code" href="driver__opengl__extension_8cpp.html#a158">00239</a> NEL_PFNGLSECONDARYCOLOR3SEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a158">nglSecondaryColor3sEXT</a>; +<a name="l00240"></a><a class="code" href="driver__opengl__extension_8cpp.html#a159">00240</a> NEL_PFNGLSECONDARYCOLOR3SVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a159">nglSecondaryColor3svEXT</a>; +<a name="l00241"></a><a class="code" href="driver__opengl__extension_8cpp.html#a160">00241</a> NEL_PFNGLSECONDARYCOLOR3UBEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a160">nglSecondaryColor3ubEXT</a>; +<a name="l00242"></a><a class="code" href="driver__opengl__extension_8cpp.html#a161">00242</a> NEL_PFNGLSECONDARYCOLOR3UBVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a161">nglSecondaryColor3ubvEXT</a>; +<a name="l00243"></a><a class="code" href="driver__opengl__extension_8cpp.html#a162">00243</a> NEL_PFNGLSECONDARYCOLOR3UIEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a162">nglSecondaryColor3uiEXT</a>; +<a name="l00244"></a><a class="code" href="driver__opengl__extension_8cpp.html#a163">00244</a> NEL_PFNGLSECONDARYCOLOR3UIVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a163">nglSecondaryColor3uivEXT</a>; +<a name="l00245"></a><a class="code" href="driver__opengl__extension_8cpp.html#a164">00245</a> NEL_PFNGLSECONDARYCOLOR3USEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a164">nglSecondaryColor3usEXT</a>; +<a name="l00246"></a><a class="code" href="driver__opengl__extension_8cpp.html#a165">00246</a> NEL_PFNGLSECONDARYCOLOR3USVEXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a165">nglSecondaryColor3usvEXT</a>; +<a name="l00247"></a><a class="code" href="driver__opengl__extension_8cpp.html#a166">00247</a> NEL_PFNGLSECONDARYCOLORPOINTEREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a166">nglSecondaryColorPointerEXT</a>; +00248 +00249 +00250 <font class="comment">// BlendColor extension</font> +00251 <font class="comment">//========================</font> +<a name="l00252"></a><a class="code" href="driver__opengl__extension_8cpp.html#a167">00252</a> NEL_PFNGLBLENDCOLOREXTPROC <a class="code" href="driver__opengl__extension_8cpp.html#a167">nglBlendColorEXT</a>; +00253 +00254 +00255 <font class="comment">// GL_ATI_vertex_array_object extension</font> +00256 <font class="comment">//========================</font> +<a name="l00257"></a><a class="code" href="driver__opengl__extension_8cpp.html#a168">00257</a> NEL_PFNGLNEWOBJECTBUFFERATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a168">nglNewObjectBufferATI</a>; +<a name="l00258"></a><a class="code" href="driver__opengl__extension_8cpp.html#a169">00258</a> NEL_PFNGLISOBJECTBUFFERATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a169">nglIsObjectBufferATI</a>; +<a name="l00259"></a><a class="code" href="driver__opengl__extension_8cpp.html#a170">00259</a> NEL_PFNGLUPDATEOBJECTBUFFERATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a170">nglUpdateObjectBufferATI</a>; +<a name="l00260"></a><a class="code" href="driver__opengl__extension_8cpp.html#a171">00260</a> NEL_PFNGLGETOBJECTBUFFERFVATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a171">nglGetObjectBufferfvATI</a>; +<a name="l00261"></a><a class="code" href="driver__opengl__extension_8cpp.html#a172">00261</a> NEL_PFNGLGETOBJECTBUFFERIVATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a172">nglGetObjectBufferivATI</a>; +<a name="l00262"></a><a class="code" href="driver__opengl__extension_8cpp.html#a173">00262</a> NEL_PFNGLDELETEOBJECTBUFFERATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a173">nglDeleteObjectBufferATI</a>; +<a name="l00263"></a><a class="code" href="driver__opengl__extension_8cpp.html#a174">00263</a> NEL_PFNGLARRAYOBJECTATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a174">nglArrayObjectATI</a>; +<a name="l00264"></a><a class="code" href="driver__opengl__extension_8cpp.html#a175">00264</a> NEL_PFNGLGETARRAYOBJECTFVATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a175">nglGetArrayObjectfvATI</a>; +<a name="l00265"></a><a class="code" href="driver__opengl__extension_8cpp.html#a176">00265</a> NEL_PFNGLGETARRAYOBJECTIVATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a176">nglGetArrayObjectivATI</a>; +<a name="l00266"></a><a class="code" href="driver__opengl__extension_8cpp.html#a177">00266</a> NEL_PFNGLVARIANTARRAYOBJECTATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a177">nglVariantArrayObjectATI</a>; +<a name="l00267"></a><a class="code" href="driver__opengl__extension_8cpp.html#a178">00267</a> NEL_PFNGLGETVARIANTARRAYOBJECTFVATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a178">nglGetVariantArrayObjectfvATI</a>; +<a name="l00268"></a><a class="code" href="driver__opengl__extension_8cpp.html#a179">00268</a> NEL_PFNGLGETVARIANTARRAYOBJECTIVATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a179">nglGetVariantArrayObjectivATI</a>; +00269 +00270 +00271 <font class="comment">// GL_ATI_envmap_bumpmap extension</font> +00272 <font class="comment">//========================</font> +<a name="l00273"></a><a class="code" href="driver__opengl__extension_8cpp.html#a180">00273</a> PFNGLTEXBUMPPARAMETERIVATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a180">nglTexBumpParameterivATI</a>; +<a name="l00274"></a><a class="code" href="driver__opengl__extension_8cpp.html#a181">00274</a> PFNGLTEXBUMPPARAMETERFVATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a181">nglTexBumpParameterfvATI</a>; +<a name="l00275"></a><a class="code" href="driver__opengl__extension_8cpp.html#a182">00275</a> PFNGLGETTEXBUMPPARAMETERIVATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a182">nglGetTexBumpParameterivATI</a>; +<a name="l00276"></a><a class="code" href="driver__opengl__extension_8cpp.html#a183">00276</a> PFNGLGETTEXBUMPPARAMETERFVATIPROC <a class="code" href="driver__opengl__extension_8cpp.html#a183">nglGetTexBumpParameterfvATI</a>; +00277 +00278 +00279 <font class="comment">// Pbuffer extension</font> +00280 <font class="comment">//==================</font> +00281 <font class="preprocessor">#ifdef NL_OS_WINDOWS</font> +00282 <font class="preprocessor"></font>PFNWGLCREATEPBUFFERARBPROC wglCreatePbufferARB; +00283 PFNWGLGETPUFFERDCARBPROC wglGetPbufferDCARB; +00284 PFNWGLRELEASEPUFFERDCARBPROC wglReleasePbufferDCARB; +00285 PFNWGLDESTROYPUFFERARBPROC wglDestroyPbufferARB; +00286 PFNWGLQUERYPBUFFERARBPROC wglQueryPbufferARB; +00287 <font class="preprocessor">#endif</font> +00288 <font class="preprocessor"></font> +00289 +00290 <font class="comment">// Get Pixel format extension</font> +00291 <font class="comment">//===========================</font> +00292 <font class="preprocessor">#ifdef NL_OS_WINDOWS</font> +00293 <font class="preprocessor"></font>PFNWGLGETPIXELFORMATATTRIBIVARBPROC wglGetPixelFormatAttribivARB; +00294 PFNWGLGETPIXELFORMATATTRIBFVARBPROC wglGetPixelFormatAttribfvARB; +00295 PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB; +00296 <font class="preprocessor">#endif</font> +00297 <font class="preprocessor"></font> +00298 +00299 <font class="comment">// WGL_ARB_extensions_string</font> +00300 <font class="preprocessor">#ifdef NL_OS_WINDOWS</font> +00301 <font class="preprocessor"></font>PFNWGFGETEXTENSIONSSTRINGARB wglGetExtensionsStringARB; +00302 <font class="preprocessor">#endif</font> +00303 <font class="preprocessor"></font> +00304 +00305 +00306 +00307 +00308 <font class="comment">// ***************************************************************************</font> +00309 <font class="comment">// ***************************************************************************</font> +00310 <font class="comment">// ***************************************************************************</font> +00311 <font class="comment">// ***************************************************************************</font> +00312 +00313 +00314 <font class="keyword">namespace </font>NL3D +00315 { +00316 +00317 +00318 <font class="comment">// ***************************************************************************</font> +00319 <font class="comment">// Extensions registrations, and Windows function Registration.</font> +00320 +00321 +00322 <font class="comment">// *********************************</font> +00323 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a323">setupARBMultiTexture</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00324 { +00325 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_ARB_multitexture"</font>)==NULL) +00326 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00327 +00328 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a0">nglActiveTextureARB</a>=(NEL_PFNGLACTIVETEXTUREARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glActiveTextureARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00329 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a1">nglClientActiveTextureARB</a>=(NEL_PFNGLCLIENTACTIVETEXTUREARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glClientActiveTextureARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00330 +00331 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a2">nglMultiTexCoord1sARB</a>=(NEL_PFNGLMULTITEXCOORD1SARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord1sARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00332 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a3">nglMultiTexCoord1iARB</a>=(NEL_PFNGLMULTITEXCOORD1IARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord1iARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00333 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a4">nglMultiTexCoord1fARB</a>=(NEL_PFNGLMULTITEXCOORD1FARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord1fARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00334 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a5">nglMultiTexCoord1dARB</a>=(NEL_PFNGLMULTITEXCOORD1DARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord1dARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00335 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a6">nglMultiTexCoord2sARB</a>=(NEL_PFNGLMULTITEXCOORD2SARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord2sARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00336 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a7">nglMultiTexCoord2iARB</a>=(NEL_PFNGLMULTITEXCOORD2IARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord2iARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00337 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a8">nglMultiTexCoord2fARB</a>=(NEL_PFNGLMULTITEXCOORD2FARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord2fARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00338 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a9">nglMultiTexCoord2dARB</a>=(NEL_PFNGLMULTITEXCOORD2DARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord2dARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00339 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a10">nglMultiTexCoord3sARB</a>=(NEL_PFNGLMULTITEXCOORD3SARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord3sARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00340 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a11">nglMultiTexCoord3iARB</a>=(NEL_PFNGLMULTITEXCOORD3IARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord3iARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00341 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a12">nglMultiTexCoord3fARB</a>=(NEL_PFNGLMULTITEXCOORD3FARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord3fARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00342 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a13">nglMultiTexCoord3dARB</a>=(NEL_PFNGLMULTITEXCOORD3DARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord3dARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00343 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a14">nglMultiTexCoord4sARB</a>=(NEL_PFNGLMULTITEXCOORD4SARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord4sARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00344 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a15">nglMultiTexCoord4iARB</a>=(NEL_PFNGLMULTITEXCOORD4IARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord4iARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00345 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a16">nglMultiTexCoord4fARB</a>=(NEL_PFNGLMULTITEXCOORD4FARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord4fARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00346 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a17">nglMultiTexCoord4dARB</a>=(NEL_PFNGLMULTITEXCOORD4DARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord4dARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00347 +00348 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a18">nglMultiTexCoord1svARB</a>=(NEL_PFNGLMULTITEXCOORD1SVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord1svARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00349 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a19">nglMultiTexCoord1ivARB</a>=(NEL_PFNGLMULTITEXCOORD1IVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord1ivARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00350 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a20">nglMultiTexCoord1fvARB</a>=(NEL_PFNGLMULTITEXCOORD1FVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord1fvARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00351 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a21">nglMultiTexCoord1dvARB</a>=(NEL_PFNGLMULTITEXCOORD1DVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord1dvARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00352 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a22">nglMultiTexCoord2svARB</a>=(NEL_PFNGLMULTITEXCOORD2SVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord2svARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00353 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a23">nglMultiTexCoord2ivARB</a>=(NEL_PFNGLMULTITEXCOORD2IVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord2ivARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00354 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a24">nglMultiTexCoord2fvARB</a>=(NEL_PFNGLMULTITEXCOORD2FVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord2fvARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00355 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a25">nglMultiTexCoord2dvARB</a>=(NEL_PFNGLMULTITEXCOORD2DVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord2dvARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00356 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a26">nglMultiTexCoord3svARB</a>=(NEL_PFNGLMULTITEXCOORD3SVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord3svARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00357 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a27">nglMultiTexCoord3ivARB</a>=(NEL_PFNGLMULTITEXCOORD3IVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord3ivARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00358 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a28">nglMultiTexCoord3fvARB</a>=(NEL_PFNGLMULTITEXCOORD3FVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord3fvARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00359 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a29">nglMultiTexCoord3dvARB</a>=(NEL_PFNGLMULTITEXCOORD3DVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord3dvARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00360 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a30">nglMultiTexCoord4svARB</a>=(NEL_PFNGLMULTITEXCOORD4SVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord4svARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00361 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a31">nglMultiTexCoord4ivARB</a>=(NEL_PFNGLMULTITEXCOORD4IVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord4ivARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00362 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a32">nglMultiTexCoord4fvARB</a>=(NEL_PFNGLMULTITEXCOORD4FVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord4fvARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00363 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a33">nglMultiTexCoord4dvARB</a>=(NEL_PFNGLMULTITEXCOORD4DVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glMultiTexCoord4dvARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00364 +00365 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00366 } +00367 +00368 +00369 <font class="comment">// *********************************</font> +00370 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a324">setupEXTTextureEnvCombine</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00371 { +00372 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_EXT_texture_env_combine"</font>)==NULL) +00373 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00374 +00375 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00376 } +00377 +00378 +00379 <font class="comment">// *********************************</font> +00380 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a325">setupARBTextureCompression</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00381 { +00382 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_ARB_texture_compression"</font>)==NULL) +00383 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00384 +00385 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a34">nglCompressedTexImage3DARB</a>=(NEL_PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glCompressedTexImage3DARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00386 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a35">nglCompressedTexImage2DARB</a>=(NEL_PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glCompressedTexImage2DARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00387 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a36">nglCompressedTexImage1DARB</a>=(NEL_PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glCompressedTexImage1DARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00388 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a37">nglCompressedTexSubImage3DARB</a>=(NEL_PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glCompressedTexSubImage3DARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00389 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a38">nglCompressedTexSubImage2DARB</a>=(NEL_PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glCompressedTexSubImage2DARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00390 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a39">nglCompressedTexSubImage1DARB</a>=(NEL_PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glCompressedTexSubImage1DARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00391 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a40">nglGetCompressedTexImageARB</a>=(NEL_PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetCompressedTexImageARB"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00392 +00393 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00394 } +00395 +00396 +00397 <font class="comment">// *********************************</font> +00398 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a326">setupNVVertexArrayRange</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00399 { +00400 <font class="comment">// \todo_yoyo: TODO_LINUX: for now, just return false.</font> +00401 <font class="preprocessor">#ifndef NL_OS_WINDOWS</font> +00402 <font class="preprocessor"></font> <font class="keywordflow">return</font> <font class="keyword">false</font>; +00403 <font class="preprocessor">#endif</font> +00404 <font class="preprocessor"></font> +00405 +00406 <font class="comment">// Test if VAR is present.</font> +00407 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_NV_vertex_array_range"</font>)==NULL) +00408 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00409 <font class="comment">// Tess Fence too.</font> +00410 <font class="keywordflow">if</font>( strstr(glext, <font class="stringliteral">"GL_NV_fence"</font>)==NULL ) +00411 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00412 +00413 +00414 <font class="comment">// Get VAR adress.</font> +00415 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a41">nglFlushVertexArrayRangeNV</a>=(NEL_PFNGLFLUSHVERTEXARRAYRANGENVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glFlushVertexArrayRangeNV"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00416 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a42">nglVertexArrayRangeNV</a>=(NEL_PFNGLVERTEXARRAYRANGENVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexArrayRangeNV"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00417 <font class="preprocessor">#ifdef NL_OS_WINDOWS</font> +00418 <font class="preprocessor"></font> <font class="keywordflow">if</font>(!(wglAllocateMemoryNV= (PFNWGLALLOCATEMEMORYNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"wglAllocateMemoryNV"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00419 <font class="keywordflow">if</font>(!(wglFreeMemoryNV= (PFNWGLFREEMEMORYNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"wglFreeMemoryNV"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00420 <font class="preprocessor">#endif</font> +00421 <font class="preprocessor"></font> +00422 <font class="comment">// Get fence adress.</font> +00423 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a43">nglDeleteFencesNV</a>= (NEL_PFNGLDELETEFENCESNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glDeleteFencesNV"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00424 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a44">nglGenFencesNV</a>= (NEL_PFNGLGENFENCESNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGenFencesNV"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00425 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a45">nglIsFenceNV</a>= (NEL_PFNGLISFENCENVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glIsFenceNV"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00426 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a46">nglTestFenceNV</a>= (NEL_PFNGLTESTFENCENVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glTestFenceNV"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00427 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a47">nglGetFenceivNV</a>= (NEL_PFNGLGETFENCEIVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetFenceivNV"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00428 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a48">nglFinishFenceNV</a>= (NEL_PFNGLFINISHFENCENVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glFinishFenceNV"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00429 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a49">nglSetFenceNV</a>= (NEL_PFNGLSETFENCENVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSetFenceNV"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00430 +00431 +00432 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00433 } +00434 +00435 +00436 <font class="comment">// *********************************</font> +00437 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a327">setupEXTTextureCompressionS3TC</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00438 { +00439 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_EXT_texture_compression_s3tc"</font>)==NULL) +00440 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00441 +00442 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00443 } +00444 +00445 +00446 <font class="comment">// *********************************</font> +00447 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a328">setupEXTVertexWeighting</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00448 { +00449 <font class="keywordflow">if</font>(strstr (glext, <font class="stringliteral">"GL_EXT_vertex_weighting"</font>)==NULL) +00450 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00451 +00452 +00453 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a50">nglVertexWeightfEXT</a>=(NEL_PFNGLVERTEXWEIGHTFEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexWeightfEXT"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00454 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a51">nglVertexWeightfvEXT</a>=(NEL_PFNGLVERTEXWEIGHTFVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexWeightfvEXT"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00455 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a52">nglVertexWeightPointerEXT</a>=(NEL_PFNGLVERTEXWEIGHTPOINTEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexWeightPointerEXT"</font>)))<font class="keywordflow">return</font> <font class="keyword">false</font>; +00456 +00457 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00458 } +00459 +00460 +00461 <font class="comment">// *********************************</font> +00462 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a329">setupEXTSeparateSpecularColor</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00463 { +00464 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_EXT_separate_specular_color"</font>)==NULL) +00465 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00466 +00467 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00468 } +00469 +00470 +00471 <font class="comment">// *********************************</font> +00472 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a330">setupNVTextureEnvCombine4</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00473 { +00474 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_NV_texture_env_combine4"</font>)==NULL) +00475 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00476 +00477 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00478 } +00479 +00480 <font class="comment">// *********************************</font> +00481 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a331">setupATIXTextureEnvCombine3</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00482 { +00483 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_ATIX_texture_env_combine3"</font>)==NULL) +00484 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00485 +00486 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00487 } +00488 +00489 <font class="comment">// *********************************</font> +00490 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a332">setupATIEnvMapBumpMap</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00491 { +00492 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_ATI_envmap_bumpmap"</font>)==NULL) +00493 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00494 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a180">nglTexBumpParameterivATI</a> = (PFNGLTEXBUMPPARAMETERIVATIPROC) <a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glTexBumpParameterivATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00495 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a181">nglTexBumpParameterfvATI</a> = (PFNGLTEXBUMPPARAMETERFVATIPROC) <a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glTexBumpParameterfvATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00496 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a182">nglGetTexBumpParameterivATI</a> = (PFNGLGETTEXBUMPPARAMETERIVATIPROC) <a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetTexBumpParameterivATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00497 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a183">nglGetTexBumpParameterfvATI</a> = (PFNGLGETTEXBUMPPARAMETERFVATIPROC) <a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetTexBumpParameterfvATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00498 +00499 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00500 } +00501 +00502 <font class="comment">// *********************************</font> +00503 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a333">setupARBTextureCubeMap</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00504 { +00505 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_ARB_texture_cube_map"</font>)==NULL) +00506 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00507 +00508 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00509 } +00510 +00511 +00512 <font class="comment">// *********************************</font> +00513 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a334">setupNVVertexProgram</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00514 { +00515 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_NV_vertex_program"</font>)==NULL) +00516 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00517 +00518 +00519 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a53">nglAreProgramsResidentNV</a>= (NEL_PFNGLAREPROGRAMSRESIDENTNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glAreProgramsResidentNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00520 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a54">nglBindProgramNV</a>= (NEL_PFNGLBINDPROGRAMNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glBindProgramNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00521 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a55">nglDeleteProgramsNV</a>= (NEL_PFNGLDELETEPROGRAMSNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glDeleteProgramsNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00522 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a56">nglExecuteProgramNV</a>= (NEL_PFNGLEXECUTEPROGRAMNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glExecuteProgramNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00523 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a57">nglGenProgramsNV</a>= (NEL_PFNGLGENPROGRAMSNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGenProgramsNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00524 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a58">nglGetProgramParameterdvNV</a>= (NEL_PFNGLGETPROGRAMPARAMETERDVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetProgramParameterdvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00525 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a59">nglGetProgramParameterfvNV</a>= (NEL_PFNGLGETPROGRAMPARAMETERFVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetProgramParameterfvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00526 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a60">nglGetProgramivNV</a>= (NEL_PFNGLGETPROGRAMIVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetProgramivNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00527 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a61">nglGetProgramStringNV</a>= (NEL_PFNGLGETPROGRAMSTRINGNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetProgramStringNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00528 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a62">nglGetTrackMatrixivNV</a>= (NEL_PFNGLGETTRACKMATRIXIVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetTrackMatrixivNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00529 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a63">nglGetVertexAttribdvNV</a>= (NEL_PFNGLGETVERTEXATTRIBDVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetVertexAttribdvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00530 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a64">nglGetVertexAttribfvNV</a>= (NEL_PFNGLGETVERTEXATTRIBFVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetVertexAttribfvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00531 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a65">nglGetVertexAttribivNV</a>= (NEL_PFNGLGETVERTEXATTRIBIVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetVertexAttribivNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00532 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a66">nglGetVertexAttribPointervNV</a>= (NEL_PFNGLGETVERTEXATTRIBPOINTERVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetVertexAttribPointervNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00533 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a67">nglIsProgramNV</a>= (NEL_PFNGLISPROGRAMNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glIsProgramNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00534 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a68">nglLoadProgramNV</a>= (NEL_PFNGLLOADPROGRAMNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glLoadProgramNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00535 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a69">nglProgramParameter4dNV</a>= (NEL_PFNGLPROGRAMPARAMETER4DNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glProgramParameter4dNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00536 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a70">nglProgramParameter4dvNV</a>= (NEL_PFNGLPROGRAMPARAMETER4DVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glProgramParameter4dvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00537 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a71">nglProgramParameter4fNV</a>= (NEL_PFNGLPROGRAMPARAMETER4FNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glProgramParameter4fNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00538 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a72">nglProgramParameter4fvNV</a>= (NEL_PFNGLPROGRAMPARAMETER4FVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glProgramParameter4fvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00539 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a73">nglProgramParameters4dvNV</a>= (NEL_PFNGLPROGRAMPARAMETERS4DVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glProgramParameters4dvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00540 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a74">nglProgramParameters4fvNV</a>= (NEL_PFNGLPROGRAMPARAMETERS4FVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glProgramParameters4fvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00541 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a75">nglRequestResidentProgramsNV</a>= (NEL_PFNGLREQUESTRESIDENTPROGRAMSNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glRequestResidentProgramsNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00542 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a76">nglTrackMatrixNV</a>= (NEL_PFNGLTRACKMATRIXNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glTrackMatrixNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00543 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a77">nglVertexAttribPointerNV</a>= (NEL_PFNGLVERTEXATTRIBPOINTERNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribPointerNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00544 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a78">nglVertexAttrib1dNV</a>= (NEL_PFNGLVERTEXATTRIB1DNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib1dNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00545 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a79">nglVertexAttrib1dvNV</a>= (NEL_PFNGLVERTEXATTRIB1DVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib1dvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00546 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a80">nglVertexAttrib1fNV</a>= (NEL_PFNGLVERTEXATTRIB1FNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib1fNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00547 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a81">nglVertexAttrib1fvNV</a>= (NEL_PFNGLVERTEXATTRIB1FVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib1fvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00548 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a82">nglVertexAttrib1sNV</a>= (NEL_PFNGLVERTEXATTRIB1SNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib1sNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00549 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a83">nglVertexAttrib1svNV</a>= (NEL_PFNGLVERTEXATTRIB1SVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib1svNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00550 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a84">nglVertexAttrib2dNV</a>= (NEL_PFNGLVERTEXATTRIB2DNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib2dNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00551 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a85">nglVertexAttrib2dvNV</a>= (NEL_PFNGLVERTEXATTRIB2DVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib2dvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00552 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a86">nglVertexAttrib2fNV</a>= (NEL_PFNGLVERTEXATTRIB2FNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib2fNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00553 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a87">nglVertexAttrib2fvNV</a>= (NEL_PFNGLVERTEXATTRIB2FVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib2fvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00554 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a88">nglVertexAttrib2sNV</a>= (NEL_PFNGLVERTEXATTRIB2SNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib2sNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00555 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a89">nglVertexAttrib2svNV</a>= (NEL_PFNGLVERTEXATTRIB2SVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib2svNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00556 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a90">nglVertexAttrib3dNV</a>= (NEL_PFNGLVERTEXATTRIB3DNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib3dNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00557 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a91">nglVertexAttrib3dvNV</a>= (NEL_PFNGLVERTEXATTRIB3DVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib3dvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00558 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a92">nglVertexAttrib3fNV</a>= (NEL_PFNGLVERTEXATTRIB3FNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib3fNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00559 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a93">nglVertexAttrib3fvNV</a>= (NEL_PFNGLVERTEXATTRIB3FVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib3fvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00560 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a94">nglVertexAttrib3sNV</a>= (NEL_PFNGLVERTEXATTRIB3SNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib3sNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00561 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a95">nglVertexAttrib3svNV</a>= (NEL_PFNGLVERTEXATTRIB3SVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib3svNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00562 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a96">nglVertexAttrib4dNV</a>= (NEL_PFNGLVERTEXATTRIB4DNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib4dNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00563 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a97">nglVertexAttrib4dvNV</a>= (NEL_PFNGLVERTEXATTRIB4DVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib4dvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00564 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a98">nglVertexAttrib4fNV</a>= (NEL_PFNGLVERTEXATTRIB4FNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib4fNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00565 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a99">nglVertexAttrib4fvNV</a>= (NEL_PFNGLVERTEXATTRIB4FVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib4fvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00566 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a100">nglVertexAttrib4sNV</a>= (NEL_PFNGLVERTEXATTRIB4SNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib4sNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00567 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a101">nglVertexAttrib4svNV</a>= (NEL_PFNGLVERTEXATTRIB4SVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib4svNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00568 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a102">nglVertexAttrib4ubvNV</a>= (NEL_PFNGLVERTEXATTRIB4UBVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttrib4ubvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00569 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a103">nglVertexAttribs1dvNV</a>= (NEL_PFNGLVERTEXATTRIBS1DVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs1dvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00570 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a104">nglVertexAttribs1fvNV</a>= (NEL_PFNGLVERTEXATTRIBS1FVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs1fvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00571 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a105">nglVertexAttribs1svNV</a>= (NEL_PFNGLVERTEXATTRIBS1SVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs1svNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00572 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a106">nglVertexAttribs2dvNV</a>= (NEL_PFNGLVERTEXATTRIBS2DVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs2dvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00573 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a107">nglVertexAttribs2fvNV</a>= (NEL_PFNGLVERTEXATTRIBS2FVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs2fvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00574 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a108">nglVertexAttribs2svNV</a>= (NEL_PFNGLVERTEXATTRIBS2SVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs2svNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00575 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a109">nglVertexAttribs3dvNV</a>= (NEL_PFNGLVERTEXATTRIBS3DVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs3dvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00576 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a110">nglVertexAttribs3fvNV</a>= (NEL_PFNGLVERTEXATTRIBS3FVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs3fvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00577 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a111">nglVertexAttribs3svNV</a>= (NEL_PFNGLVERTEXATTRIBS3SVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs3svNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00578 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a112">nglVertexAttribs4dvNV</a>= (NEL_PFNGLVERTEXATTRIBS4DVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs4dvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00579 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a113">nglVertexAttribs4fvNV</a>= (NEL_PFNGLVERTEXATTRIBS4FVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs4fvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00580 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a114">nglVertexAttribs4svNV</a>= (NEL_PFNGLVERTEXATTRIBS4SVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs4svNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00581 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a115">nglVertexAttribs4ubvNV</a>= (NEL_PFNGLVERTEXATTRIBS4UBVNVPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVertexAttribs4ubvNV"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00582 +00583 +00584 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00585 } +00586 +00587 <font class="comment">// *********************************</font> +00588 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a335">setupEXTVertexShader</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00589 { +00590 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_EXT_vertex_shader"</font>)==NULL) +00591 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00592 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a116">nglBeginVertexShaderEXT</a> = (NEL_PFNGLBEGINVERTEXSHADEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glBeginVertexShaderEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00593 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a117">nglEndVertexShaderEXT</a> = (NEL_PFNGLENDVERTEXSHADEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glEndVertexShaderEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00594 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a118">nglBindVertexShaderEXT</a> = (NEL_PFNGLBINDVERTEXSHADEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glBindVertexShaderEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00595 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a119">nglGenVertexShadersEXT</a> = (NEL_PFNGLGENVERTEXSHADERSEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGenVertexShadersEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00596 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a120">nglDeleteVertexShaderEXT</a> = (NEL_PFNGLDELETEVERTEXSHADEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glDeleteVertexShaderEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00597 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a121">nglShaderOp1EXT</a> = (NEL_PFNGLSHADEROP1EXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glShaderOp1EXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00598 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a122">nglShaderOp2EXT</a> = (NEL_PFNGLSHADEROP2EXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glShaderOp2EXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00599 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a123">nglShaderOp3EXT</a> = (NEL_PFNGLSHADEROP3EXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glShaderOp3EXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00600 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a124">nglSwizzleEXT</a> = (NEL_PFNGLSWIZZLEEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSwizzleEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00601 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a125">nglWriteMaskEXT</a> = (NEL_PFNGLWRITEMASKEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glWriteMaskEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00602 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a126">nglInsertComponentEXT</a> = (NEL_PFNGLINSERTCOMPONENTEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glInsertComponentEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00603 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a127">nglExtractComponentEXT</a> = (NEL_PFNGLEXTRACTCOMPONENTEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glExtractComponentEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00604 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a128">nglGenSymbolsEXT</a> = (NEL_PFNGLGENSYMBOLSEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGenSymbolsEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00605 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a129">nglSetInvariantEXT</a> = (NEL_PFNGLSETINVARIANTEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSetInvariantEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00606 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a130">nglSetLocalConstantEXT</a> = (NEL_PFNGLSETLOCALCONSTANTEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSetLocalConstantEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00607 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a131">nglVariantPointerEXT</a> = (NEL_PFNGLVARIANTPOINTEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVariantPointerEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00608 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a132">nglEnableVariantClientStateEXT</a> = (NEL_PFNGLENABLEVARIANTCLIENTSTATEEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glEnableVariantClientStateEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00609 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a133">nglDisableVariantClientStateEXT</a> = (NEL_PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glDisableVariantClientStateEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00610 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a134">nglBindLightParameterEXT</a> = (NEL_PFNGLBINDLIGHTPARAMETEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glBindLightParameterEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00611 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a135">nglBindMaterialParameterEXT</a> = (NEL_PFNGLBINDMATERIALPARAMETEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glBindMaterialParameterEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00612 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a136">nglBindTexGenParameterEXT</a> = (NEL_PFNGLBINDTEXGENPARAMETEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glBindTexGenParameterEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00613 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a137">nglBindTextureUnitParameterEXT</a> = (NEL_PFNGLBINDTEXTUREUNITPARAMETEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glBindTextureUnitParameterEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00614 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a138">nglBindParameterEXT</a> = (NEL_PFNGLBINDPARAMETEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glBindParameterEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00615 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a139">nglIsVariantEnabledEXT</a> = (NEL_PFNGLISVARIANTENABLEDEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glIsVariantEnabledEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00616 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a140">nglGetVariantBooleanvEXT</a> = (NEL_PFNGLGETVARIANTBOOLEANVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetVariantBooleanvEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00617 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a141">nglGetVariantIntegervEXT</a> = (NEL_PFNGLGETVARIANTINTEGERVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetVariantIntegervEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00618 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a142">nglGetVariantFloatvEXT</a> = (NEL_PFNGLGETVARIANTFLOATVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetVariantFloatvEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00619 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a143">nglGetVariantPointervEXT</a> = (NEL_PFNGLGETVARIANTPOINTERVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetVariantPointervEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00620 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a144">nglGetInvariantBooleanvEXT</a> = (NEL_PFNGLGETINVARIANTBOOLEANVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetInvariantBooleanvEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00621 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a145">nglGetInvariantIntegervEXT</a> = (NEL_PFNGLGETINVARIANTINTEGERVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetInvariantIntegervEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00622 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a146">nglGetInvariantFloatvEXT</a> = (NEL_PFNGLGETINVARIANTFLOATVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetInvariantFloatvEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00623 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a147">nglGetLocalConstantBooleanvEXT</a> = (NEL_PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetLocalConstantBooleanvEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00624 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a148">nglGetLocalConstantIntegervEXT</a> = (NEL_PFNGLGETLOCALCONSTANTINTEGERVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetLocalConstantIntegervEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00625 <font class="keywordflow">if</font> (!(<a class="code" href="driver__opengl__extension_8cpp.html#a149">nglGetLocalConstantFloatvEXT</a> = (NEL_PFNGLGETLOCALCONSTANTFLOATVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetLocalConstantFloatvEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00626 +00627 <font class="comment">// we require at least 128 instructions, 15 local register (r0, r1,..,r11) + 3 temporary vector for swizzle emulation + 1 vector for indexing temp + 3 temporary scalar for LOGG, EXPP and LIT emulation, 1 address register</font> +00628 <font class="comment">// we require 11 variants (4 textures + position + normal + primary color + secondary color + weight + palette skin + fog)</font> +00629 <font class="comment">// we also require 2 local constants (0 and 1)</font> +00630 <font class="comment">// 96 invariants (c[0], c[1] ..) + 1 invariants for fog emulation (fog coordinate must range from 0 to 1 with EXT_VERTEX_shader)</font> +00631 GLint numVSInst; +00632 glGetIntegerv(<a class="code" href="driver__opengl__extension__def_8h.html#a304">GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT</a>, &numVSInst); +00633 <font class="keywordflow">if</font> (numVSInst < 128) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00634 <font class="comment">//</font> +00635 GLint numVSLocals; +00636 glGetIntegerv(<a class="code" href="driver__opengl__extension__def_8h.html#a303">GL_MAX_VERTEX_SHADER_LOCALS_EXT</a>, &numVSLocals); +00637 <font class="keywordflow">if</font> (numVSLocals < 4 * (12 + 4) + 1 + 3) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00638 <font class="comment">//</font> +00639 GLint numVSLocalConstants; +00640 glGetIntegerv(<a class="code" href="driver__opengl__extension__def_8h.html#a302">GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT</a>, &numVSLocalConstants); +00641 <font class="keywordflow">if</font> (numVSLocalConstants < 2) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00642 <font class="comment">//</font> +00643 GLint numVSInvariants; +00644 glGetIntegerv(<a class="code" href="driver__opengl__extension__def_8h.html#a307">GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT</a>, &numVSInvariants); +00645 <font class="keywordflow">if</font> (numVSInvariants < 96 + 1) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00646 <font class="comment">// </font> +00647 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00648 +00649 } +00650 +00651 +00652 +00653 <font class="comment">// *********************************</font> +00654 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a336">setupEXTSecondaryColor</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00655 { +00656 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_EXT_secondary_color"</font>)==NULL) +00657 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00658 +00659 +00660 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a150">nglSecondaryColor3bEXT</a>= (NEL_PFNGLSECONDARYCOLOR3BEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3bEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00661 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a151">nglSecondaryColor3bvEXT</a>= (NEL_PFNGLSECONDARYCOLOR3BVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3bvEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00662 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a152">nglSecondaryColor3dEXT</a>= (NEL_PFNGLSECONDARYCOLOR3DEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3dEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00663 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a153">nglSecondaryColor3dvEXT</a>= (NEL_PFNGLSECONDARYCOLOR3DVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3dvEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00664 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a154">nglSecondaryColor3fEXT</a>= (NEL_PFNGLSECONDARYCOLOR3FEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3fEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00665 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a155">nglSecondaryColor3fvEXT</a>= (NEL_PFNGLSECONDARYCOLOR3FVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3fvEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00666 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a156">nglSecondaryColor3iEXT</a>= (NEL_PFNGLSECONDARYCOLOR3IEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3iEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00667 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a157">nglSecondaryColor3ivEXT</a>= (NEL_PFNGLSECONDARYCOLOR3IVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3ivEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00668 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a158">nglSecondaryColor3sEXT</a>= (NEL_PFNGLSECONDARYCOLOR3SEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3sEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00669 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a159">nglSecondaryColor3svEXT</a>= (NEL_PFNGLSECONDARYCOLOR3SVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3svEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00670 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a160">nglSecondaryColor3ubEXT</a>= (NEL_PFNGLSECONDARYCOLOR3UBEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3ubEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00671 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a161">nglSecondaryColor3ubvEXT</a>= (NEL_PFNGLSECONDARYCOLOR3UBVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3ubvEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00672 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a162">nglSecondaryColor3uiEXT</a>= (NEL_PFNGLSECONDARYCOLOR3UIEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3uiEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00673 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a163">nglSecondaryColor3uivEXT</a>= (NEL_PFNGLSECONDARYCOLOR3UIVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3uivEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00674 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a164">nglSecondaryColor3usEXT</a>= (NEL_PFNGLSECONDARYCOLOR3USEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3usEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00675 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a165">nglSecondaryColor3usvEXT</a>= (NEL_PFNGLSECONDARYCOLOR3USVEXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColor3usvEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00676 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a166">nglSecondaryColorPointerEXT</a>= (NEL_PFNGLSECONDARYCOLORPOINTEREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glSecondaryColorPointerEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00677 +00678 +00679 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00680 } +00681 +00682 <font class="comment">// *********************************</font> +00683 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a337">setupWGLARBPBuffer</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00684 { +00685 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"WGL_ARB_pbuffer"</font>)==NULL) +00686 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00687 +00688 <font class="preprocessor">#ifdef NL_OS_WINDOWS</font> +00689 <font class="preprocessor"></font> <font class="keywordflow">if</font>(!(wglCreatePbufferARB= (PFNWGLCREATEPBUFFERARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"wglCreatePbufferARB"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00690 <font class="keywordflow">if</font>(!(wglGetPbufferDCARB= (PFNWGLGETPUFFERDCARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"wglGetPbufferDCARB"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00691 <font class="keywordflow">if</font>(!(wglReleasePbufferDCARB= (PFNWGLRELEASEPUFFERDCARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"wglReleasePbufferDCARB"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00692 <font class="keywordflow">if</font>(!(wglDestroyPbufferARB= (PFNWGLDESTROYPUFFERARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"wglDestroyPbufferARB"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00693 <font class="keywordflow">if</font>(!(wglQueryPbufferARB= (PFNWGLQUERYPBUFFERARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"wglQueryPbufferARB"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00694 <font class="preprocessor">#endif</font> +00695 <font class="preprocessor"></font> +00696 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00697 } +00698 +00699 <font class="preprocessor">#ifdef NL_OS_WINDOWS</font> +00700 <font class="preprocessor"></font><font class="comment">// *********************************</font> +00701 <font class="keyword">static</font> <font class="keywordtype">bool</font> setupWGLARBPixelFormat (<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00702 { +00703 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"WGL_ARB_pixel_format"</font>)==NULL) +00704 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00705 +00706 <font class="keywordflow">if</font>(!(wglGetPixelFormatAttribivARB= (PFNWGLGETPIXELFORMATATTRIBIVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"wglGetPixelFormatAttribivARB"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00707 <font class="keywordflow">if</font>(!(wglGetPixelFormatAttribfvARB= (PFNWGLGETPIXELFORMATATTRIBFVARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"wglGetPixelFormatAttribfvARB"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00708 <font class="keywordflow">if</font>(!(wglChoosePixelFormatARB= (PFNWGLCHOOSEPIXELFORMATARBPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"wglChoosePixelFormatARB"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00709 +00710 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00711 } +00712 <font class="preprocessor">#endif</font> +00713 <font class="preprocessor"></font> +00714 <font class="comment">// *********************************</font> +00715 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a338">setupNVTextureShader</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00716 { +00717 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_NV_texture_shader"</font>)==NULL) +00718 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00719 +00720 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00721 } +00722 +00723 +00724 <font class="comment">// *********************************</font> +00725 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a339">setupEXTBlendColor</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00726 { +00727 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_EXT_blend_color"</font>)==NULL) +00728 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00729 +00730 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a167">nglBlendColorEXT</a>= (NEL_PFNGLBLENDCOLOREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glBlendColorEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00731 +00732 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00733 } +00734 +00735 +00736 <font class="comment">// *********************************</font> +00737 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a340">setupNVVertexArrayRange2</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00738 { +00739 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_NV_vertex_array_range2"</font>)==NULL) +00740 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00741 +00742 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00743 } +00744 +00745 +00746 <font class="comment">// *********************************</font> +00747 <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="namespaceNL3D.html#a341">setupATIVertexArrayObject</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> *glext) +00748 { +00749 <font class="keywordflow">if</font>(strstr(glext, <font class="stringliteral">"GL_ATI_vertex_array_object"</font>)==NULL) +00750 <font class="keywordflow">return</font> <font class="keyword">false</font>; +00751 +00752 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a167">nglBlendColorEXT</a>= (NEL_PFNGLBLENDCOLOREXTPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glBlendColorEXT"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00753 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a168">nglNewObjectBufferATI</a>= (NEL_PFNGLNEWOBJECTBUFFERATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glNewObjectBufferATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00754 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a169">nglIsObjectBufferATI</a>= (NEL_PFNGLISOBJECTBUFFERATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glIsObjectBufferATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00755 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a170">nglUpdateObjectBufferATI</a>= (NEL_PFNGLUPDATEOBJECTBUFFERATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glUpdateObjectBufferATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00756 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a171">nglGetObjectBufferfvATI</a>= (NEL_PFNGLGETOBJECTBUFFERFVATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetObjectBufferfvATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00757 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a172">nglGetObjectBufferivATI</a>= (NEL_PFNGLGETOBJECTBUFFERIVATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetObjectBufferivATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00758 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a173">nglDeleteObjectBufferATI</a>= (NEL_PFNGLDELETEOBJECTBUFFERATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glDeleteObjectBufferATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00759 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a174">nglArrayObjectATI</a>= (NEL_PFNGLARRAYOBJECTATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glArrayObjectATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00760 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a175">nglGetArrayObjectfvATI</a>= (NEL_PFNGLGETARRAYOBJECTFVATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetArrayObjectfvATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00761 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a176">nglGetArrayObjectivATI</a>= (NEL_PFNGLGETARRAYOBJECTIVATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetArrayObjectivATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00762 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a177">nglVariantArrayObjectATI</a>= (NEL_PFNGLVARIANTARRAYOBJECTATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glVariantArrayObjectATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00763 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a178">nglGetVariantArrayObjectfvATI</a>= (NEL_PFNGLGETVARIANTARRAYOBJECTFVATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetVariantArrayObjectfvATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00764 <font class="keywordflow">if</font>(!(<a class="code" href="driver__opengl__extension_8cpp.html#a179">nglGetVariantArrayObjectivATI</a>= (NEL_PFNGLGETVARIANTARRAYOBJECTIVATIPROC)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"glGetVariantArrayObjectivATI"</font>))) <font class="keywordflow">return</font> <font class="keyword">false</font>; +00765 +00766 <font class="keywordflow">return</font> <font class="keyword">true</font>; +00767 } +00768 +00769 +00770 +00771 <font class="comment">// ***************************************************************************</font> +00772 <font class="comment">// Extension Check.</font> +00773 <font class="keywordtype">void</font> <a class="code" href="namespaceNL3D.html#a342">registerGlExtensions</a>(CGlExtensions &ext) +00774 { +00775 <font class="comment">// OpenGL 1.2 ??</font> +00776 <font class="keyword">const</font> <font class="keywordtype">char</font> *glVersion= (<font class="keyword">const</font> <font class="keywordtype">char</font> *) glGetString (GL_VERSION); +00777 sint a=0, b=0; +00778 <font class="comment">// 1.2*** ???</font> +00779 sscanf(glVersion, <font class="stringliteral">"%d.%d"</font>, &a, &b); +00780 ext.Version1_2= a>=1 && b>=2; +00781 +00782 +00783 <font class="comment">// Extensions.</font> +00784 <font class="keyword">const</font> <font class="keywordtype">char</font> *glext= (<font class="keyword">const</font> <font class="keywordtype">char</font>*)glGetString(GL_EXTENSIONS); +00785 GLint ntext; +00786 +00787 <a class="code" href="debug_8h.html#a0">nldebug</a>(<font class="stringliteral">"GLExt: %s"</font>, glext); +00788 +00789 +00790 <font class="comment">// Check ARBMultiTexture</font> +00791 ext.ARBMultiTexture= <a class="code" href="namespaceNL3D.html#a323">setupARBMultiTexture</a>(glext); +00792 <font class="keywordflow">if</font>(ext.ARBMultiTexture) +00793 { +00794 glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB, &ntext); +00795 <font class="comment">// We could have more than IDRV_MAT_MAXTEXTURES but the interface only </font> +00796 <font class="comment">// support IDRV_MAT_MAXTEXTURES texture stages so take min</font> +00797 ext.NbTextureStages= (ntext<((GLint)<a class="code" href="namespaceNL3D.html#a94">IDRV_MAT_MAXTEXTURES</a>)?ntext:<a class="code" href="namespaceNL3D.html#a94">IDRV_MAT_MAXTEXTURES</a>); +00798 } +00799 +00800 <font class="comment">// Check EXTTextureEnvCombine</font> +00801 ext.EXTTextureEnvCombine= <a class="code" href="namespaceNL3D.html#a324">setupEXTTextureEnvCombine</a>(glext); +00802 +00803 <font class="comment">// Check ARBTextureCompression</font> +00804 ext.ARBTextureCompression= <a class="code" href="namespaceNL3D.html#a325">setupARBTextureCompression</a>(glext); +00805 +00806 <font class="comment">// Check NVVertexArrayRange</font> +00807 <font class="comment">// Disable feature ???</font> +00808 <font class="keywordflow">if</font>(!ext.DisableHardwareVertexArrayAGP) +00809 ext.NVVertexArrayRange= <a class="code" href="namespaceNL3D.html#a326">setupNVVertexArrayRange</a>(glext); +00810 <font class="keywordflow">if</font>(ext.NVVertexArrayRange) +00811 { +00812 GLint nverts; +00813 glGetIntegerv((GLenum)GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV, &nverts); +00814 ext.NVVertexArrayRangeMaxVertex= nverts; +00815 } +00816 +00817 <font class="comment">// Compression S3TC OK iff ARBTextureCompression.</font> +00818 ext.EXTTextureCompressionS3TC= (ext.ARBTextureCompression && <a class="code" href="namespaceNL3D.html#a327">setupEXTTextureCompressionS3TC</a>(glext)); +00819 +00820 <font class="comment">// Check if NVidia GL_EXT_vertex_weighting is available.</font> +00821 ext.EXTVertexWeighting= <a class="code" href="namespaceNL3D.html#a328">setupEXTVertexWeighting</a>(glext); +00822 +00823 <font class="comment">// Check EXTSeparateSpecularColor.</font> +00824 ext.EXTSeparateSpecularColor= <a class="code" href="namespaceNL3D.html#a329">setupEXTSeparateSpecularColor</a>(glext); +00825 +00826 <font class="comment">// Check NVTextureEnvCombine4.</font> +00827 ext.NVTextureEnvCombine4= <a class="code" href="namespaceNL3D.html#a330">setupNVTextureEnvCombine4</a>(glext); +00828 +00829 +00830 <font class="comment">// Check for cube mapping</font> +00831 ext.ARBTextureCubeMap = <a class="code" href="namespaceNL3D.html#a333">setupARBTextureCubeMap</a>(glext); +00832 +00833 <font class="comment">// Check vertex program</font> +00834 <font class="comment">// Disable feature ???</font> +00835 <font class="keywordflow">if</font>(!ext.DisableHardwareVertexProgram) +00836 { +00837 ext.NVVertexProgram = <a class="code" href="namespaceNL3D.html#a334">setupNVVertexProgram</a>(glext); +00838 ext.EXTVertexShader = <a class="code" href="namespaceNL3D.html#a335">setupEXTVertexShader</a>(glext); +00839 } +00840 +00841 +00842 +00843 <font class="comment">// Check texture shaders</font> +00844 <font class="comment">// Disable feature ???</font> +00845 <font class="keywordflow">if</font>(!ext.DisableHardwareTextureShader) +00846 ext.NVTextureShader = <a class="code" href="namespaceNL3D.html#a338">setupNVTextureShader</a>(glext); +00847 +00848 <font class="comment">// For now, the only way to know if emulation, is to test some extension which exist only on GeForce3.</font> +00849 <font class="comment">// if GL_NV_texture_shader is not here, then we are not on GeForce3.</font> +00850 ext.NVVertexProgramEmulated= ext.NVVertexProgram && (strstr(glext, <font class="stringliteral">"GL_NV_texture_shader"</font>)==NULL); +00851 +00852 <font class="comment">// Check EXTSecondaryColor</font> +00853 ext.EXTSecondaryColor= <a class="code" href="namespaceNL3D.html#a336">setupEXTSecondaryColor</a>(glext); +00854 +00855 <font class="comment">// Check EXTBlendColor</font> +00856 ext.EXTBlendColor= <a class="code" href="namespaceNL3D.html#a339">setupEXTBlendColor</a>(glext); +00857 +00858 <font class="comment">// Check NVVertexArrayRange2</font> +00859 ext.NVVertexArrayRange2= <a class="code" href="namespaceNL3D.html#a340">setupNVVertexArrayRange2</a>(glext); +00860 <font class="comment">// if supported</font> +00861 <font class="keywordflow">if</font>(ext.NVVertexArrayRange2) +00862 <font class="comment">// VBHard swap without flush of the VAR.</font> +00863 ext.NVStateVARWithoutFlush= <a class="code" href="driver__opengl__extension__def_8h.html#a332">GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV</a>; +00864 <font class="keywordflow">else</font> +00865 <font class="comment">// VBHard with unusefull flush of the VAR.</font> +00866 ext.NVStateVARWithoutFlush= GL_VERTEX_ARRAY_RANGE_NV; +00867 +00868 +00869 <font class="comment">// ATI extensions</font> +00870 <font class="comment">// -------------</font> +00871 +00872 <font class="comment">// Check ATIVertexArrayObject</font> +00873 <font class="comment">// Disable feature ???</font> +00874 <font class="keywordflow">if</font>(!ext.DisableHardwareVertexArrayAGP) +00875 ext.ATIVertexArrayObject= <a class="code" href="namespaceNL3D.html#a341">setupATIVertexArrayObject</a>(glext); +00876 <font class="comment">// Check ATIXTextureEnvCombine3.</font> +00877 ext.ATIXTextureEnvCombine3= <a class="code" href="namespaceNL3D.html#a331">setupATIXTextureEnvCombine3</a>(glext); +00878 <font class="comment">// Check ATIEnvMapBumpMap</font> +00879 ext.ATIEnvMapBumpMap = <a class="code" href="namespaceNL3D.html#a332">setupATIEnvMapBumpMap</a>(glext); +00880 } +00881 +00882 +00883 <font class="preprocessor">#ifdef NL_OS_WINDOWS</font> +00884 <font class="preprocessor"></font><font class="comment">// ***************************************************************************</font> +00885 <font class="keywordtype">void</font> registerWGlExtensions(CGlExtensions &ext, HDC hDC) +00886 { +00887 <font class="comment">// Get proc adress</font> +00888 <font class="keywordflow">if</font>(!(wglGetExtensionsStringARB=(PFNWGFGETEXTENSIONSSTRINGARB)<a class="code" href="driver__opengl__extension_8cpp.html#a184">nelglGetProcAddress</a>(<font class="stringliteral">"wglGetExtensionsStringARB"</font>))) +00889 { +00890 <a class="code" href="debug_8h.html#a2">nlwarning</a> (<font class="stringliteral">"wglGetExtensionsStringARB not supported"</font>); +00891 <font class="keywordflow">return</font>; +00892 } +00893 +00894 <font class="comment">// Get extension string</font> +00895 <font class="keyword">const</font> <font class="keywordtype">char</font> *glext = wglGetExtensionsStringARB (hDC); +00896 <font class="keywordflow">if</font> (glext == NULL) +00897 { +00898 <a class="code" href="debug_8h.html#a2">nlwarning</a> (<font class="stringliteral">"wglGetExtensionsStringARB failed"</font>); +00899 <font class="keywordflow">return</font>; +00900 } +00901 +00902 <a class="code" href="debug_8h.html#a0">nldebug</a>(<font class="stringliteral">"WGLExt: %s"</font>, glext); +00903 +00904 <font class="comment">// Check for pbuffer</font> +00905 ext.WGLARBPBuffer= <a class="code" href="namespaceNL3D.html#a337">setupWGLARBPBuffer</a>(glext); +00906 +00907 <font class="comment">// Check for pixel format</font> +00908 ext.WGLARBPixelFormat= setupWGLARBPixelFormat(glext); +00909 } +00910 <font class="preprocessor">#endif // NL_OS_WINDOWS</font> +00911 <font class="preprocessor"></font> +00912 +00913 } +00914 +00915 +00916 +00917 +</pre></div> + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |