mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 00:21:57 +00:00
glew-cmake release from glew-1.5.5
This commit is contained in:
parent
7ef404254a
commit
8dc5cb7c2c
@ -1,278 +1,278 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions are met:
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
this list of conditions and the following disclaimer.
|
this list of conditions and the following disclaimer.
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
this list of conditions and the following disclaimer in the documentation
|
this list of conditions and the following disclaimer in the documentation
|
||||||
and/or other materials provided with the distribution.
|
and/or other materials provided with the distribution.
|
||||||
* The name of the author may be used to endorse or promote products
|
* The name of the author may be used to endorse or promote products
|
||||||
derived from this software without specific prior written permission.
|
derived from this software without specific prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
THE POSSIBILITY OF SUCH DAMAGE.
|
THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
-->
|
-->
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
||||||
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<link href="glew.css" type="text/css" rel="stylesheet">
|
<link href="glew.css" type="text/css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#fff0d0">
|
<body bgcolor="#fff0d0">
|
||||||
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">1.5.4</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/">1.5.5</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
||||||
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
||||||
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
||||||
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
||||||
<tr><td align="center">Advanced Usage</td></tr>
|
<tr><td align="center">Advanced Usage</td></tr>
|
||||||
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
||||||
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td valign="bottom">
|
<td valign="bottom">
|
||||||
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Last Update: 04-21-10</i></td></tr>
|
<tr><td align="center"><i>Last Update: 07-13-10</i></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
||||||
height="35" border="0" alt="OpenGL Logo"></a>
|
height="35" border="0" alt="OpenGL Logo"></a>
|
||||||
<a href="http://sourceforge.net"> <img
|
<a href="http://sourceforge.net"> <img
|
||||||
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
||||||
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--- <tr><td align="center"><a
|
<!--- <tr><td align="center"><a
|
||||||
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
||||||
src="http://images.sourceforge.net/images/project-support.jpg"
|
src="http://images.sourceforge.net/images/project-support.jpg"
|
||||||
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td bgcolor="#ffffff" align="left" valign="top">
|
<td bgcolor="#ffffff" align="left" valign="top">
|
||||||
|
|
||||||
<h1>The OpenGL Extension Wrangler Library</h1>
|
<h1>The OpenGL Extension Wrangler Library</h1>
|
||||||
|
|
||||||
<!-- end header.html -->
|
<!-- end header.html -->
|
||||||
|
|
||||||
|
|
||||||
<h2>Automatic Code Generation</h2>
|
<h2>Automatic Code Generation</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Starting from release 1.1.0, the source code and parts of the
|
Starting from release 1.1.0, the source code and parts of the
|
||||||
documentation are automatically generated from the extension
|
documentation are automatically generated from the extension
|
||||||
specifications in a two-step process. In the first step,
|
specifications in a two-step process. In the first step,
|
||||||
specification files from the OpenGL registry are downloaded and
|
specification files from the OpenGL registry are downloaded and
|
||||||
parsed. Skeleton descriptors are created for each extension. These
|
parsed. Skeleton descriptors are created for each extension. These
|
||||||
descriptors contain all necessary information for creating the source
|
descriptors contain all necessary information for creating the source
|
||||||
code and documentation in a simple and compact format, including the
|
code and documentation in a simple and compact format, including the
|
||||||
name of the extension, url link to the specification, tokens, function
|
name of the extension, url link to the specification, tokens, function
|
||||||
declarations, typedefs and struct definitions. In the second step,
|
declarations, typedefs and struct definitions. In the second step,
|
||||||
the header files as well as the library and glewinfo source are
|
the header files as well as the library and glewinfo source are
|
||||||
generated from the descriptor files. The code generation scripts are
|
generated from the descriptor files. The code generation scripts are
|
||||||
located in the <tt>auto</tt> subdirectory.
|
located in the <tt>auto</tt> subdirectory.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The code generation scripts require GNU make, wget, and perl. On
|
The code generation scripts require GNU make, wget, and perl. On
|
||||||
Windows, the simplest way to get access to these tools is to install
|
Windows, the simplest way to get access to these tools is to install
|
||||||
<a href="http://www.cygwin.com/">Cygwin</a>, but make sure that the
|
<a href="http://www.cygwin.com/">Cygwin</a>, but make sure that the
|
||||||
root directory is mounted in binary mode. The makefile in the
|
root directory is mounted in binary mode. The makefile in the
|
||||||
<tt>auto</tt> directory provides the following build targets:
|
<tt>auto</tt> directory provides the following build targets:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<table border=0 cellpadding=0 cellspacing=0> <!-- bgcolor="#f0f0f0" -->
|
<table border=0 cellpadding=0 cellspacing=0> <!-- bgcolor="#f0f0f0" -->
|
||||||
<tr><td align="right" valign="top" width="25%"><tt>make</tt></td>
|
<tr><td align="right" valign="top" width="25%"><tt>make</tt></td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td align=left>Create the source files from the descriptors. If the
|
<td align=left>Create the source files from the descriptors. If the
|
||||||
descriptors do not exist, create them from the spec files. If the spec
|
descriptors do not exist, create them from the spec files. If the spec
|
||||||
files do not exist, download them from the OpenGL repository.</td></tr>
|
files do not exist, download them from the OpenGL repository.</td></tr>
|
||||||
<tr><td align="right" valign="top"><tt>make clean</tt></td>
|
<tr><td align="right" valign="top"><tt>make clean</tt></td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td align=left>Delete the source files.</td></tr>
|
<td align=left>Delete the source files.</td></tr>
|
||||||
<tr><td align="right" valign="top"><tt>make clobber</tt></td>
|
<tr><td align="right" valign="top"><tt>make clobber</tt></td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td align=left>Delete the source files and the descriptors.</td></tr>
|
<td align=left>Delete the source files and the descriptors.</td></tr>
|
||||||
<tr><td align="right" valign="top"><tt>make destroy</tt></td>
|
<tr><td align="right" valign="top"><tt>make destroy</tt></td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td align=left>Delete the source files, the descriptors, and the spec files.</td></tr>
|
<td align=left>Delete the source files, the descriptors, and the spec files.</td></tr>
|
||||||
<tr><td align="right" valign="top"><tt>make custom</tt></td>
|
<tr><td align="right" valign="top"><tt>make custom</tt></td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td align=left>Create the source files for the extensions
|
<td align=left>Create the source files for the extensions
|
||||||
listed in <tt>auto/custom.txt</tt>. See "Custom Code
|
listed in <tt>auto/custom.txt</tt>. See "Custom Code
|
||||||
Generation" below for more details.</td></tr>
|
Generation" below for more details.</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
<h3>Adding a New Extension</h3>
|
<h3>Adding a New Extension</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
To add a new extension, create a descriptor file for the extension in
|
To add a new extension, create a descriptor file for the extension in
|
||||||
<tt>auto/core</tt> and rerun the code generation scripts by typing
|
<tt>auto/core</tt> and rerun the code generation scripts by typing
|
||||||
<tt>make clean; make</tt> in the <tt>auto</tt> directory.
|
<tt>make clean; make</tt> in the <tt>auto</tt> directory.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The format of the descriptor file is given below. Items in
|
The format of the descriptor file is given below. Items in
|
||||||
brackets are optional.
|
brackets are optional.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
<Extension Name><br>
|
<Extension Name><br>
|
||||||
[<URL of Specification File>]<br>
|
[<URL of Specification File>]<br>
|
||||||
[<Token Name> <Token Value>]<br>
|
[<Token Name> <Token Value>]<br>
|
||||||
[<Token Name> <Token Value>]<br>
|
[<Token Name> <Token Value>]<br>
|
||||||
...<br>
|
...<br>
|
||||||
[<Typedef>]<br>
|
[<Typedef>]<br>
|
||||||
[<Typedef>]<br>
|
[<Typedef>]<br>
|
||||||
...<br>
|
...<br>
|
||||||
[<Function Signature>]<br>
|
[<Function Signature>]<br>
|
||||||
[<Function Signature>]<br>
|
[<Function Signature>]<br>
|
||||||
...<br>
|
...<br>
|
||||||
<!-- [<Function Definition>]<br>
|
<!-- [<Function Definition>]<br>
|
||||||
[<Function Definition>]<br>
|
[<Function Definition>]<br>
|
||||||
...<br> -->
|
...<br> -->
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<p>
|
<p>
|
||||||
Note that <tt>Function Definitions</tt> are copied to the header files
|
Note that <tt>Function Definitions</tt> are copied to the header files
|
||||||
without changes and have to be terminated with a semicolon. In
|
without changes and have to be terminated with a semicolon. In
|
||||||
contrast, <tt>Tokens</tt>, <tt>Function signatures</tt>, and
|
contrast, <tt>Tokens</tt>, <tt>Function signatures</tt>, and
|
||||||
<tt>Typedefs</tt> should not be terminated with a semicolon.
|
<tt>Typedefs</tt> should not be terminated with a semicolon.
|
||||||
</p>
|
</p>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Take a look at one of the files in <tt>auto/core</tt> for an
|
Take a look at one of the files in <tt>auto/core</tt> for an
|
||||||
example. Note that typedefs and function signatures should not be
|
example. Note that typedefs and function signatures should not be
|
||||||
terminated with a semicolon.
|
terminated with a semicolon.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>Custom Code Generation</h3>
|
<h3>Custom Code Generation</h3>
|
||||||
<p>
|
<p>
|
||||||
Starting from GLEW 1.3.0, it is possible to control which extensions
|
Starting from GLEW 1.3.0, it is possible to control which extensions
|
||||||
to include in the libarary by specifying a list in
|
to include in the libarary by specifying a list in
|
||||||
<tt>auto/custom.txt</tt>. This is useful when you do not need all the
|
<tt>auto/custom.txt</tt>. This is useful when you do not need all the
|
||||||
extensions and would like to reduce the size of the source files.
|
extensions and would like to reduce the size of the source files.
|
||||||
Type <tt>make clean; make custom</tt> in the <tt>auto</tt> directory
|
Type <tt>make clean; make custom</tt> in the <tt>auto</tt> directory
|
||||||
to rerun the scripts with the custom list of extensions.
|
to rerun the scripts with the custom list of extensions.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
For example, the following is the list of extensions needed to get GLEW and the
|
For example, the following is the list of extensions needed to get GLEW and the
|
||||||
utilities to compile.
|
utilities to compile.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
WGL_ARB_extensions_string<br>
|
WGL_ARB_extensions_string<br>
|
||||||
WGL_ARB_multisample<br>
|
WGL_ARB_multisample<br>
|
||||||
WGL_ARB_pixel_format<br>
|
WGL_ARB_pixel_format<br>
|
||||||
WGL_ARB_pbuffer<br>
|
WGL_ARB_pbuffer<br>
|
||||||
WGL_EXT_extensions_string<br>
|
WGL_EXT_extensions_string<br>
|
||||||
WGL_ATI_pixel_format_float<br>
|
WGL_ATI_pixel_format_float<br>
|
||||||
WGL_NV_float_buffer<br>
|
WGL_NV_float_buffer<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Multiple Rendering Contexts (GLEW MX)</h2>
|
<h2>Multiple Rendering Contexts (GLEW MX)</h2>
|
||||||
|
|
||||||
<p>Starting with release 1.2.0, thread-safe support for multiple
|
<p>Starting with release 1.2.0, thread-safe support for multiple
|
||||||
rendering contexts, possibly with different capabilities, is
|
rendering contexts, possibly with different capabilities, is
|
||||||
available. Since this is not required by most users, it is not added
|
available. Since this is not required by most users, it is not added
|
||||||
to the binary releases to maintain compatibility between different
|
to the binary releases to maintain compatibility between different
|
||||||
versions. To include multi-context support, you have to do the
|
versions. To include multi-context support, you have to do the
|
||||||
following:</p>
|
following:</p>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Compile and use GLEW with the <tt>GLEW_MX</tt> preprocessor token
|
<li>Compile and use GLEW with the <tt>GLEW_MX</tt> preprocessor token
|
||||||
defined.</li>
|
defined.</li>
|
||||||
<li>For each rendering context, create a <tt>GLEWContext</tt> object
|
<li>For each rendering context, create a <tt>GLEWContext</tt> object
|
||||||
that will be available as long as the rendering context exists.</li>
|
that will be available as long as the rendering context exists.</li>
|
||||||
<li>Define a macro or function called <tt>glewGetContext()</tt> that
|
<li>Define a macro or function called <tt>glewGetContext()</tt> that
|
||||||
returns a pointer to the <tt>GLEWContext</tt> object associated with
|
returns a pointer to the <tt>GLEWContext</tt> object associated with
|
||||||
the rendering context from which OpenGL/WGL/GLX calls are issued. This
|
the rendering context from which OpenGL/WGL/GLX calls are issued. This
|
||||||
dispatch mechanism is primitive, but generic.
|
dispatch mechanism is primitive, but generic.
|
||||||
<li>Make sure that you call <tt>glewInit()</tt> after creating the
|
<li>Make sure that you call <tt>glewInit()</tt> after creating the
|
||||||
<tt>GLEWContext</tt> object in each rendering context. Note, that the
|
<tt>GLEWContext</tt> object in each rendering context. Note, that the
|
||||||
<tt>GLEWContext</tt> pointer returned by <tt>glewGetContext()</tt> has
|
<tt>GLEWContext</tt> pointer returned by <tt>glewGetContext()</tt> has
|
||||||
to reside in global or thread-local memory.
|
to reside in global or thread-local memory.
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p>Note that according to the <a
|
<p>Note that according to the <a
|
||||||
href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/ntopnglr_6yer.asp">MSDN
|
href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/ntopnglr_6yer.asp">MSDN
|
||||||
WGL documentation</a>, you have to initialize the entry points for
|
WGL documentation</a>, you have to initialize the entry points for
|
||||||
every rendering context that use pixel formats with different
|
every rendering context that use pixel formats with different
|
||||||
capabilities For example, the pixel formats provided by the generic
|
capabilities For example, the pixel formats provided by the generic
|
||||||
software OpenGL implementation by Microsoft vs. the hardware
|
software OpenGL implementation by Microsoft vs. the hardware
|
||||||
accelerated pixel formats have different capabilities. <b>GLEW by
|
accelerated pixel formats have different capabilities. <b>GLEW by
|
||||||
default ignores this requirement, and does not define per-context
|
default ignores this requirement, and does not define per-context
|
||||||
entry points (you can however do this using the steps described
|
entry points (you can however do this using the steps described
|
||||||
above).</b> Assuming a global namespace for the entry points works in
|
above).</b> Assuming a global namespace for the entry points works in
|
||||||
most situations, because typically all hardware accelerated pixel
|
most situations, because typically all hardware accelerated pixel
|
||||||
formats provide the same entry points and capabilities. This means
|
formats provide the same entry points and capabilities. This means
|
||||||
that unless you use the multi-context version of GLEW, you need to
|
that unless you use the multi-context version of GLEW, you need to
|
||||||
call <tt>glewInit()</tt> only once in your program, or more precisely,
|
call <tt>glewInit()</tt> only once in your program, or more precisely,
|
||||||
once per process.</p>
|
once per process.</p>
|
||||||
|
|
||||||
<h2>Separate Namespace</h2>
|
<h2>Separate Namespace</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
To avoid name clashes when linking with libraries that include the
|
To avoid name clashes when linking with libraries that include the
|
||||||
same symbols, extension entry points are declared in a separate
|
same symbols, extension entry points are declared in a separate
|
||||||
namespace (release 1.1.0 and up). This is achieved by aliasing OpenGL
|
namespace (release 1.1.0 and up). This is achieved by aliasing OpenGL
|
||||||
function names to their GLEW equivalents. For instance,
|
function names to their GLEW equivalents. For instance,
|
||||||
<tt>glFancyFunction</tt> is simply an alias to
|
<tt>glFancyFunction</tt> is simply an alias to
|
||||||
<tt>glewFancyFunction</tt>. The separate namespace does not effect
|
<tt>glewFancyFunction</tt>. The separate namespace does not effect
|
||||||
token and function pointer definitions.
|
token and function pointer definitions.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Known Issues</h2>
|
<h2>Known Issues</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
GLEW requires GLX 1.2 for compatibility with GLUT.
|
GLEW requires GLX 1.2 for compatibility with GLUT.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<!-- begin footer.html -->
|
<!-- begin footer.html -->
|
||||||
</td></tr></table></body>
|
</td></tr></table></body>
|
||||||
<!-- end footer.html -->
|
<!-- end footer.html -->
|
||||||
|
|
||||||
|
564
doc/basic.html
564
doc/basic.html
@ -1,282 +1,282 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions are met:
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
this list of conditions and the following disclaimer.
|
this list of conditions and the following disclaimer.
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
this list of conditions and the following disclaimer in the documentation
|
this list of conditions and the following disclaimer in the documentation
|
||||||
and/or other materials provided with the distribution.
|
and/or other materials provided with the distribution.
|
||||||
* The name of the author may be used to endorse or promote products
|
* The name of the author may be used to endorse or promote products
|
||||||
derived from this software without specific prior written permission.
|
derived from this software without specific prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
THE POSSIBILITY OF SUCH DAMAGE.
|
THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
-->
|
-->
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
||||||
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<link href="glew.css" type="text/css" rel="stylesheet">
|
<link href="glew.css" type="text/css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#fff0d0">
|
<body bgcolor="#fff0d0">
|
||||||
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">1.5.4</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/">1.5.5</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
||||||
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
||||||
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
||||||
<tr><td align="center">Basic Usage</td></tr>
|
<tr><td align="center">Basic Usage</td></tr>
|
||||||
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
||||||
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
||||||
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td valign="bottom">
|
<td valign="bottom">
|
||||||
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Last Update: 04-21-10</i></td></tr>
|
<tr><td align="center"><i>Last Update: 07-13-10</i></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
||||||
height="35" border="0" alt="OpenGL Logo"></a>
|
height="35" border="0" alt="OpenGL Logo"></a>
|
||||||
<a href="http://sourceforge.net"> <img
|
<a href="http://sourceforge.net"> <img
|
||||||
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
||||||
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--- <tr><td align="center"><a
|
<!--- <tr><td align="center"><a
|
||||||
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
||||||
src="http://images.sourceforge.net/images/project-support.jpg"
|
src="http://images.sourceforge.net/images/project-support.jpg"
|
||||||
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td bgcolor="#ffffff" align="left" valign="top">
|
<td bgcolor="#ffffff" align="left" valign="top">
|
||||||
|
|
||||||
<h1>The OpenGL Extension Wrangler Library</h1>
|
<h1>The OpenGL Extension Wrangler Library</h1>
|
||||||
|
|
||||||
<!-- end header.html -->
|
<!-- end header.html -->
|
||||||
|
|
||||||
|
|
||||||
<h2>Initializing GLEW</h2>
|
<h2>Initializing GLEW</h2>
|
||||||
<p>
|
<p>
|
||||||
First you need to create a valid OpenGL rendering context and call
|
First you need to create a valid OpenGL rendering context and call
|
||||||
<tt>glewInit()</tt> to initialize the extension entry points. If
|
<tt>glewInit()</tt> to initialize the extension entry points. If
|
||||||
<tt>glewInit()</tt> returns <tt>GLEW_OK</tt>, the initialization
|
<tt>glewInit()</tt> returns <tt>GLEW_OK</tt>, the initialization
|
||||||
succeeded and you can use the available extensions as well as core
|
succeeded and you can use the available extensions as well as core
|
||||||
OpenGL functionality. For example:
|
OpenGL functionality. For example:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
#include <GL/glew.h><br>
|
#include <GL/glew.h><br>
|
||||||
#include <GL/glut.h><br>
|
#include <GL/glut.h><br>
|
||||||
...<br>
|
...<br>
|
||||||
glutInit(&argc, argv);<br>
|
glutInit(&argc, argv);<br>
|
||||||
glutCreateWindow("GLEW Test");<br>
|
glutCreateWindow("GLEW Test");<br>
|
||||||
GLenum err = glewInit();<br>
|
GLenum err = glewInit();<br>
|
||||||
if (GLEW_OK != err)<br>
|
if (GLEW_OK != err)<br>
|
||||||
{<br>
|
{<br>
|
||||||
/* Problem: glewInit failed, something is seriously wrong. */<br>
|
/* Problem: glewInit failed, something is seriously wrong. */<br>
|
||||||
fprintf(stderr, "Error: %s\n", glewGetErrorString(err));<br>
|
fprintf(stderr, "Error: %s\n", glewGetErrorString(err));<br>
|
||||||
...<br>
|
...<br>
|
||||||
}<br>
|
}<br>
|
||||||
fprintf(stdout, "Status: Using GLEW %s\n", glewGetString(GLEW_VERSION));<br>
|
fprintf(stdout, "Status: Using GLEW %s\n", glewGetString(GLEW_VERSION));<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Checking for Extensions</h2>
|
<h2>Checking for Extensions</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Starting from GLEW 1.1.0, you can find out if a particular extension
|
Starting from GLEW 1.1.0, you can find out if a particular extension
|
||||||
is available on your platform by querying globally defined variables
|
is available on your platform by querying globally defined variables
|
||||||
of the form <tt>GLEW_{extension_name}</tt>:
|
of the form <tt>GLEW_{extension_name}</tt>:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
if (GLEW_ARB_vertex_program)<br>
|
if (GLEW_ARB_vertex_program)<br>
|
||||||
{<br>
|
{<br>
|
||||||
/* It is safe to use the ARB_vertex_program extension here. */<br>
|
/* It is safe to use the ARB_vertex_program extension here. */<br>
|
||||||
glGenProgramsARB(...);<br>
|
glGenProgramsARB(...);<br>
|
||||||
}<br>
|
}<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<b>In GLEW 1.0.x, a global structure was used for this task. To ensure
|
<b>In GLEW 1.0.x, a global structure was used for this task. To ensure
|
||||||
binary compatibility between releases, the struct was replaced with a
|
binary compatibility between releases, the struct was replaced with a
|
||||||
set of variables.</b>
|
set of variables.</b>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
You can also check for core OpenGL functionality. For example, to
|
You can also check for core OpenGL functionality. For example, to
|
||||||
see if OpenGL 1.3 is supported, do the following:
|
see if OpenGL 1.3 is supported, do the following:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
if (GLEW_VERSION_1_3)<br>
|
if (GLEW_VERSION_1_3)<br>
|
||||||
{<br>
|
{<br>
|
||||||
/* Yay! OpenGL 1.3 is supported! */<br>
|
/* Yay! OpenGL 1.3 is supported! */<br>
|
||||||
}<br>
|
}<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
In general, you can check if <tt>GLEW_{extension_name}</tt> or
|
In general, you can check if <tt>GLEW_{extension_name}</tt> or
|
||||||
<tt>GLEW_VERSION_{version}</tt> is true or false.
|
<tt>GLEW_VERSION_{version}</tt> is true or false.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
It is also possible to perform extension checks from string
|
It is also possible to perform extension checks from string
|
||||||
input. Starting from the 1.3.0 release, use <tt>glewIsSupported</tt>
|
input. Starting from the 1.3.0 release, use <tt>glewIsSupported</tt>
|
||||||
to check if the required core or extension functionality is
|
to check if the required core or extension functionality is
|
||||||
available:
|
available:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
if (glewIsSupported("GL_VERSION_1_4 GL_ARB_point_sprite"))<br>
|
if (glewIsSupported("GL_VERSION_1_4 GL_ARB_point_sprite"))<br>
|
||||||
{<br>
|
{<br>
|
||||||
/* Great, we have OpenGL 1.4 + point sprites. */<br>
|
/* Great, we have OpenGL 1.4 + point sprites. */<br>
|
||||||
}<br>
|
}<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
For extensions only, <tt>glewGetExtension</tt> provides a slower alternative
|
For extensions only, <tt>glewGetExtension</tt> provides a slower alternative
|
||||||
(GLEW 1.0.x-1.2.x). <b>Note that in the 1.3.0 release </b>
|
(GLEW 1.0.x-1.2.x). <b>Note that in the 1.3.0 release </b>
|
||||||
<tt>glewGetExtension</tt> <b>was replaced with </b>
|
<tt>glewGetExtension</tt> <b>was replaced with </b>
|
||||||
<tt>glewIsSupported</tt>.
|
<tt>glewIsSupported</tt>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
if (glewGetExtension("GL_ARB_fragment_program"))<br>
|
if (glewGetExtension("GL_ARB_fragment_program"))<br>
|
||||||
{<br>
|
{<br>
|
||||||
/* Looks like ARB_fragment_program is supported. */<br>
|
/* Looks like ARB_fragment_program is supported. */<br>
|
||||||
}<br>
|
}<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Experimental Drivers</h2>
|
<h2>Experimental Drivers</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
GLEW obtains information on the supported extensions from the graphics
|
GLEW obtains information on the supported extensions from the graphics
|
||||||
driver. Experimental or pre-release drivers, however, might not
|
driver. Experimental or pre-release drivers, however, might not
|
||||||
report every available extension through the standard mechanism, in
|
report every available extension through the standard mechanism, in
|
||||||
which case GLEW will report it unsupported. To circumvent this
|
which case GLEW will report it unsupported. To circumvent this
|
||||||
situation, the <tt>glewExperimental</tt> global switch can be turned
|
situation, the <tt>glewExperimental</tt> global switch can be turned
|
||||||
on by setting it to <tt>GL_TRUE</tt> before calling
|
on by setting it to <tt>GL_TRUE</tt> before calling
|
||||||
<tt>glewInit()</tt>, which ensures that all extensions with valid
|
<tt>glewInit()</tt>, which ensures that all extensions with valid
|
||||||
entry points will be exposed.
|
entry points will be exposed.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Platform Specific Extensions</h2>
|
<h2>Platform Specific Extensions</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Platform specific extensions are separated into two header files:
|
Platform specific extensions are separated into two header files:
|
||||||
<tt>wglew.h</tt> and <tt>glxew.h</tt>, which define the available
|
<tt>wglew.h</tt> and <tt>glxew.h</tt>, which define the available
|
||||||
<tt>WGL</tt> and <tt>GLX</tt> extensions. To determine if a certain
|
<tt>WGL</tt> and <tt>GLX</tt> extensions. To determine if a certain
|
||||||
extension is supported, query <tt>WGLEW_{extension name}</tt> or
|
extension is supported, query <tt>WGLEW_{extension name}</tt> or
|
||||||
<tt>GLXEW_{extension_name}</tt>. For example:
|
<tt>GLXEW_{extension_name}</tt>. For example:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
#include <GL/wglew.h><br>
|
#include <GL/wglew.h><br>
|
||||||
<br>
|
<br>
|
||||||
if (WGLEW_ARB_pbuffer)<br>
|
if (WGLEW_ARB_pbuffer)<br>
|
||||||
{<br>
|
{<br>
|
||||||
/* OK, we can use pbuffers. */<br>
|
/* OK, we can use pbuffers. */<br>
|
||||||
}<br>
|
}<br>
|
||||||
else<br>
|
else<br>
|
||||||
{<br>
|
{<br>
|
||||||
/* Sorry, pbuffers will not work on this platform. */<br>
|
/* Sorry, pbuffers will not work on this platform. */<br>
|
||||||
}<br>
|
}<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Alternatively, use <tt>wglewIsSupported</tt> or
|
Alternatively, use <tt>wglewIsSupported</tt> or
|
||||||
<tt>glxewIsSupported</tt> to check for extensions from a string:
|
<tt>glxewIsSupported</tt> to check for extensions from a string:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
if (wglewIsSupported("WGL_ARB_pbuffer"))<br>
|
if (wglewIsSupported("WGL_ARB_pbuffer"))<br>
|
||||||
{<br>
|
{<br>
|
||||||
/* OK, we can use pbuffers. */<br>
|
/* OK, we can use pbuffers. */<br>
|
||||||
}<br>
|
}<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Utilities</h2>
|
<h2>Utilities</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
GLEW provides two command-line utilities: one for creating a list of
|
GLEW provides two command-line utilities: one for creating a list of
|
||||||
available extensions and visuals; and another for verifying extension
|
available extensions and visuals; and another for verifying extension
|
||||||
entry points.
|
entry points.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>visualinfo: extensions and visuals</h3>
|
<h3>visualinfo: extensions and visuals</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<tt>visualinfo</tt> is an extended version of <tt>glxinfo</tt>. The
|
<tt>visualinfo</tt> is an extended version of <tt>glxinfo</tt>. The
|
||||||
Windows version creates a file called <tt>visualinfo.txt</tt>, which
|
Windows version creates a file called <tt>visualinfo.txt</tt>, which
|
||||||
contains a list of available OpenGL, WGL, and GLU extensions as well
|
contains a list of available OpenGL, WGL, and GLU extensions as well
|
||||||
as a table of visuals aka. pixel formats. Pbuffer and MRT capable
|
as a table of visuals aka. pixel formats. Pbuffer and MRT capable
|
||||||
visuals are also included. For additional usage information, type
|
visuals are also included. For additional usage information, type
|
||||||
<tt>visualinfo -h</tt>.
|
<tt>visualinfo -h</tt>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>glewinfo: extension verification utility</h3>
|
<h3>glewinfo: extension verification utility</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<tt>glewinfo</tt> allows you to verify the entry points for the
|
<tt>glewinfo</tt> allows you to verify the entry points for the
|
||||||
extensions supported on your platform. The Windows version
|
extensions supported on your platform. The Windows version
|
||||||
reports the results to a text file called <tt>glewinfo.txt</tt>. The
|
reports the results to a text file called <tt>glewinfo.txt</tt>. The
|
||||||
Unix version prints the results to <tt>stdout</tt>.
|
Unix version prints the results to <tt>stdout</tt>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>Windows usage:</p>
|
<p>Windows usage:</p>
|
||||||
<blockquote><pre>glewinfo [-pf <id>]</pre></blockquote>
|
<blockquote><pre>glewinfo [-pf <id>]</pre></blockquote>
|
||||||
|
|
||||||
<p>where <tt><id></tt> is the pixel format id for which the
|
<p>where <tt><id></tt> is the pixel format id for which the
|
||||||
capabilities are displayed.</p>
|
capabilities are displayed.</p>
|
||||||
|
|
||||||
<p>Unix usage:</p>
|
<p>Unix usage:</p>
|
||||||
<blockquote><pre>glewinfo [-display <dpy>] [-visual <id>]</pre></blockquote>
|
<blockquote><pre>glewinfo [-display <dpy>] [-visual <id>]</pre></blockquote>
|
||||||
|
|
||||||
<p>where <tt><dpy></tt> is the X11 display and <tt><id></tt> is
|
<p>where <tt><dpy></tt> is the X11 display and <tt><id></tt> is
|
||||||
the visual id for which the capabilities are displayed.</p>
|
the visual id for which the capabilities are displayed.</p>
|
||||||
|
|
||||||
<!-- begin footer.html -->
|
<!-- begin footer.html -->
|
||||||
</td></tr></table></body>
|
</td></tr></table></body>
|
||||||
<!-- end footer.html -->
|
<!-- end footer.html -->
|
||||||
|
|
||||||
|
254
doc/credits.html
254
doc/credits.html
@ -1,127 +1,127 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions are met:
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
this list of conditions and the following disclaimer.
|
this list of conditions and the following disclaimer.
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
this list of conditions and the following disclaimer in the documentation
|
this list of conditions and the following disclaimer in the documentation
|
||||||
and/or other materials provided with the distribution.
|
and/or other materials provided with the distribution.
|
||||||
* The name of the author may be used to endorse or promote products
|
* The name of the author may be used to endorse or promote products
|
||||||
derived from this software without specific prior written permission.
|
derived from this software without specific prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
THE POSSIBILITY OF SUCH DAMAGE.
|
THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
-->
|
-->
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
||||||
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<link href="glew.css" type="text/css" rel="stylesheet">
|
<link href="glew.css" type="text/css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#fff0d0">
|
<body bgcolor="#fff0d0">
|
||||||
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">1.5.4</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/">1.5.5</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
||||||
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
||||||
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
||||||
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
||||||
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
||||||
<tr><td align="center">Credits & Copyright</td></tr>
|
<tr><td align="center">Credits & Copyright</td></tr>
|
||||||
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td valign="bottom">
|
<td valign="bottom">
|
||||||
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Last Update: 04-21-10</i></td></tr>
|
<tr><td align="center"><i>Last Update: 07-13-10</i></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
||||||
height="35" border="0" alt="OpenGL Logo"></a>
|
height="35" border="0" alt="OpenGL Logo"></a>
|
||||||
<a href="http://sourceforge.net"> <img
|
<a href="http://sourceforge.net"> <img
|
||||||
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
||||||
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--- <tr><td align="center"><a
|
<!--- <tr><td align="center"><a
|
||||||
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
||||||
src="http://images.sourceforge.net/images/project-support.jpg"
|
src="http://images.sourceforge.net/images/project-support.jpg"
|
||||||
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td bgcolor="#ffffff" align="left" valign="top">
|
<td bgcolor="#ffffff" align="left" valign="top">
|
||||||
|
|
||||||
<h1>The OpenGL Extension Wrangler Library</h1>
|
<h1>The OpenGL Extension Wrangler Library</h1>
|
||||||
|
|
||||||
<!-- end header.html -->
|
<!-- end header.html -->
|
||||||
|
|
||||||
|
|
||||||
<h2>Credits</h2>
|
<h2>Credits</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
GLEW was developed by <a href="http://www.cs.utah.edu/~ikits/">Milan
|
GLEW was developed by <a href="http://www.cs.utah.edu/~ikits/">Milan
|
||||||
Ikits</a> and <a
|
Ikits</a> and <a
|
||||||
href="http://wwwvis.informatik.uni-stuttgart.de/~magallon/">Marcelo
|
href="http://wwwvis.informatik.uni-stuttgart.de/~magallon/">Marcelo
|
||||||
Magallon</a>. They also perform occasional maintainance to make sure
|
Magallon</a>. They also perform occasional maintainance to make sure
|
||||||
that GLEW stays in mint condition. Aaron Lefohn, Joe Kniss, and Chris
|
that GLEW stays in mint condition. Aaron Lefohn, Joe Kniss, and Chris
|
||||||
Wyman were the first users and also assisted with the design and
|
Wyman were the first users and also assisted with the design and
|
||||||
debugging process. The acronym GLEW originates from Aaron Lefohn.
|
debugging process. The acronym GLEW originates from Aaron Lefohn.
|
||||||
Pasi Kärkkäinen identified and fixed several problems with
|
Pasi Kärkkäinen identified and fixed several problems with
|
||||||
GLX and SDL. Nate Robins created the <tt>wglinfo</tt> utility, to
|
GLX and SDL. Nate Robins created the <tt>wglinfo</tt> utility, to
|
||||||
which modifications were made by Michael Wimmer.
|
which modifications were made by Michael Wimmer.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Copyright</h2>
|
<h2>Copyright</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
GLEW is originally derived from the EXTGL project by Lev Povalahev.
|
GLEW is originally derived from the EXTGL project by Lev Povalahev.
|
||||||
The source code is licensed under the <a href="glew.txt">Modified BSD
|
The source code is licensed under the <a href="glew.txt">Modified BSD
|
||||||
License</a>, the <a href="mesa.txt">Mesa 3-D License</a> (MIT
|
License</a>, the <a href="mesa.txt">Mesa 3-D License</a> (MIT
|
||||||
License), and the <a href="khronos.txt">Khronos License</a> (MIT
|
License), and the <a href="khronos.txt">Khronos License</a> (MIT
|
||||||
License). The automatic code generation scripts are released under
|
License). The automatic code generation scripts are released under
|
||||||
the <a href="gpl.txt">GNU GPL</a>.
|
the <a href="gpl.txt">GNU GPL</a>.
|
||||||
</p>
|
</p>
|
||||||
<!-- begin footer.html -->
|
<!-- begin footer.html -->
|
||||||
</td></tr></table></body>
|
</td></tr></table></body>
|
||||||
<!-- end footer.html -->
|
<!-- end footer.html -->
|
||||||
|
|
||||||
|
374
doc/glew.css
374
doc/glew.css
@ -1,187 +1,187 @@
|
|||||||
h1
|
h1
|
||||||
{
|
{
|
||||||
color: black;
|
color: black;
|
||||||
font: 23px "Verdana", "Arial", "Helvetica", sans-serif;
|
font: 23px "Verdana", "Arial", "Helvetica", sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2
|
h2
|
||||||
{
|
{
|
||||||
color: black;
|
color: black;
|
||||||
font: 18px "Verdana", "Arial", "Helvetica", sans-serif;
|
font: 18px "Verdana", "Arial", "Helvetica", sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
margin-top: 18px;
|
margin-top: 18px;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3
|
h3
|
||||||
{
|
{
|
||||||
color: black;
|
color: black;
|
||||||
font: 17px "Verdana", "Arial", "Helvetica", sans-serif;
|
font: 17px "Verdana", "Arial", "Helvetica", sans-serif;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
small
|
small
|
||||||
{
|
{
|
||||||
font: 8pt "Verdana", "Arial", "Helvetica", sans-serif;
|
font: 8pt "Verdana", "Arial", "Helvetica", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
body
|
body
|
||||||
{
|
{
|
||||||
color: black;
|
color: black;
|
||||||
font: 10pt "Verdana", "Arial", "Helvetica", sans-serif;
|
font: 10pt "Verdana", "Arial", "Helvetica", sans-serif;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
td
|
td
|
||||||
{
|
{
|
||||||
color: black;
|
color: black;
|
||||||
font: 10pt "Verdana", "Arial", "Helvetica", sans-serif;
|
font: 10pt "Verdana", "Arial", "Helvetica", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
tt
|
tt
|
||||||
{
|
{
|
||||||
color: rgb(0,120,0);
|
color: rgb(0,120,0);
|
||||||
}
|
}
|
||||||
/* color: maroon; */
|
/* color: maroon; */
|
||||||
|
|
||||||
td.num
|
td.num
|
||||||
{
|
{
|
||||||
color: lightgrey;
|
color: lightgrey;
|
||||||
font: 10pt "Verdana", "Arial", "Helvetica", sans-serif;
|
font: 10pt "Verdana", "Arial", "Helvetica", sans-serif;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote
|
blockquote
|
||||||
{
|
{
|
||||||
color: rgb(0,120,0);
|
color: rgb(0,120,0);
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
margin-right: 40px;
|
margin-right: 40px;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
border-top: 0px;
|
border-top: 0px;
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre
|
pre
|
||||||
{
|
{
|
||||||
color: rgb(0,120,0);
|
color: rgb(0,120,0);
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
margin-right: 40px;
|
margin-right: 40px;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
border-top: 0px;
|
border-top: 0px;
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
p
|
p
|
||||||
{
|
{
|
||||||
color: black;
|
color: black;
|
||||||
font: 10pt "Verdana", "Arial", "Helvetica", sans-serif;
|
font: 10pt "Verdana", "Arial", "Helvetica", sans-serif;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.right
|
p.right
|
||||||
{
|
{
|
||||||
color: black;
|
color: black;
|
||||||
font: 10pt "Verdana", "Arial", "Helvetica", sans-serif;
|
font: 10pt "Verdana", "Arial", "Helvetica", sans-serif;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.pre
|
p.pre
|
||||||
{
|
{
|
||||||
color: rgb(0,120,0);
|
color: rgb(0,120,0);
|
||||||
font: 10pt "Courier New", "Courier", monospace;
|
font: 10pt "Courier New", "Courier", monospace;
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
margin-right: 40px;
|
margin-right: 40px;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
padding-left: 6px;
|
padding-left: 6px;
|
||||||
padding-right: 6px;
|
padding-right: 6px;
|
||||||
border-top: 0px;
|
border-top: 0px;
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:link
|
a:link
|
||||||
{
|
{
|
||||||
color: rgb(0,0,139);
|
color: rgb(0,0,139);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited
|
a:visited
|
||||||
{
|
{
|
||||||
color: rgb(220,20,60);
|
color: rgb(220,20,60);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover
|
a:hover
|
||||||
{
|
{
|
||||||
color: rgb(220,20,60);
|
color: rgb(220,20,60);
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
background: "#e8e8e8";
|
background: "#e8e8e8";
|
||||||
}
|
}
|
||||||
|
|
||||||
ul
|
ul
|
||||||
{
|
{
|
||||||
list-style-type: disc;
|
list-style-type: disc;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
padding-bottom: 3px;
|
padding-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.none
|
ul.none
|
||||||
{
|
{
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol
|
ol
|
||||||
{
|
{
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
padding-bottom: 12px;
|
padding-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr
|
hr
|
||||||
{
|
{
|
||||||
color: maroon;
|
color: maroon;
|
||||||
background-color: maroon;
|
background-color: maroon;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
}
|
}
|
||||||
|
1031
doc/glew.html
1031
doc/glew.html
File diff suppressed because it is too large
Load Diff
56
doc/glew.txt
56
doc/glew.txt
@ -1,28 +1,28 @@
|
|||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions are met:
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
this list of conditions and the following disclaimer.
|
this list of conditions and the following disclaimer.
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
this list of conditions and the following disclaimer in the documentation
|
this list of conditions and the following disclaimer in the documentation
|
||||||
and/or other materials provided with the distribution.
|
and/or other materials provided with the distribution.
|
||||||
* The name of the author may be used to endorse or promote products
|
* The name of the author may be used to endorse or promote products
|
||||||
derived from this software without specific prior written permission.
|
derived from this software without specific prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
THE POSSIBILITY OF SUCH DAMAGE.
|
THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
335
doc/glxew.html
335
doc/glxew.html
@ -1,166 +1,169 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions are met:
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
this list of conditions and the following disclaimer.
|
this list of conditions and the following disclaimer.
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
this list of conditions and the following disclaimer in the documentation
|
this list of conditions and the following disclaimer in the documentation
|
||||||
and/or other materials provided with the distribution.
|
and/or other materials provided with the distribution.
|
||||||
* The name of the author may be used to endorse or promote products
|
* The name of the author may be used to endorse or promote products
|
||||||
derived from this software without specific prior written permission.
|
derived from this software without specific prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
THE POSSIBILITY OF SUCH DAMAGE.
|
THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
-->
|
-->
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
||||||
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<link href="glew.css" type="text/css" rel="stylesheet">
|
<link href="glew.css" type="text/css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#fff0d0">
|
<body bgcolor="#fff0d0">
|
||||||
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">1.5.4</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/">1.5.5</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
||||||
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
||||||
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
||||||
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
||||||
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
||||||
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
||||||
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td valign="bottom">
|
<td valign="bottom">
|
||||||
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Last Update: 04-21-10</i></td></tr>
|
<tr><td align="center"><i>Last Update: 07-13-10</i></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
||||||
height="35" border="0" alt="OpenGL Logo"></a>
|
height="35" border="0" alt="OpenGL Logo"></a>
|
||||||
<a href="http://sourceforge.net"> <img
|
<a href="http://sourceforge.net"> <img
|
||||||
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
||||||
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--- <tr><td align="center"><a
|
<!--- <tr><td align="center"><a
|
||||||
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
||||||
src="http://images.sourceforge.net/images/project-support.jpg"
|
src="http://images.sourceforge.net/images/project-support.jpg"
|
||||||
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td bgcolor="#ffffff" align="left" valign="top">
|
<td bgcolor="#ffffff" align="left" valign="top">
|
||||||
|
|
||||||
<h1>The OpenGL Extension Wrangler Library</h1>
|
<h1>The OpenGL Extension Wrangler Library</h1>
|
||||||
|
|
||||||
<!-- end header.html -->
|
<!-- end header.html -->
|
||||||
|
|
||||||
|
|
||||||
<h2>Supported GLX Extensions</h2>
|
<h2>Supported GLX Extensions</h2>
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="1" cellspacing="0" align="center">
|
<table border="0" width="100%" cellpadding="1" cellspacing="0" align="center">
|
||||||
<tr><td class="num">1</td><td> </td><td><a href="http://www.opengl.org/registry/specs/3DFX/3dfx_multisample.txt">3DFX_multisample</a></td></tr>
|
<tr><td class="num">1</td><td> </td><td><a href="http://www.opengl.org/registry/specs/3DFX/3dfx_multisample.txt">3DFX_multisample</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">2</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/glx_create_context.txt">ARB_create_context</a></td></tr>
|
<tr><td class="num">2</td><td> </td><td><a href="http://www.opengl.org/registry/specs/AMD/glx_gpu_association.txt">AMD_gpu_association</a></td></tr>
|
||||||
<tr><td class="num">3</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/glx_create_context.txt">ARB_create_context_profile</a></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">4</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt">ARB_fbconfig_float</a></td></tr>
|
<tr><td class="num">3</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/glx_create_context.txt">ARB_create_context</a></td></tr>
|
||||||
<tr><td class="num">5</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt">ARB_framebuffer_sRGB</a></td></tr>
|
<tr><td class="num">4</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/glx_create_context.txt">ARB_create_context_profile</a></td></tr>
|
||||||
<tr><td class="num">6</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/ARB/get_proc_address.txt">ARB_get_proc_address</a></td></tr>
|
<tr><td class="num">5</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt">ARB_fbconfig_float</a></td></tr>
|
||||||
<tr><td class="num">7</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/multisample.txt">ARB_multisample</a></td></tr>
|
<tr><td class="num">6</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt">ARB_framebuffer_sRGB</a></td></tr>
|
||||||
<tr><td class="num">8</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/vertex_buffer_object.txt">ARB_vertex_buffer_object</a></td></tr>
|
<tr><td class="num">7</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/ARB/get_proc_address.txt">ARB_get_proc_address</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td class="num">8</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/multisample.txt">ARB_multisample</a></td></tr>
|
||||||
<tr><td class="num">9</td><td> </td><td>ATI_pixel_format_float</td></tr>
|
<tr><td class="num">9</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/vertex_buffer_object.txt">ARB_vertex_buffer_object</a></td></tr>
|
||||||
<tr><td class="num">10</td><td> </td><td>ATI_render_texture</td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td class="num">10</td><td> </td><td>ATI_pixel_format_float</td></tr>
|
||||||
<tr><td class="num">11</td><td> </td><td><a href="http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt">EXT_fbconfig_packed_float</a></td></tr>
|
<tr><td class="num">11</td><td> </td><td>ATI_render_texture</td></tr>
|
||||||
<tr><td class="num">12</td><td> </td><td><a href="http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt">EXT_framebuffer_sRGB</a></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">13</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/import_context.txt">EXT_import_context</a></td></tr>
|
<tr><td class="num">12</td><td> </td><td><a href="http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt">EXT_fbconfig_packed_float</a></td></tr>
|
||||||
<tr><td class="num">14</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/scene_marker.txt">EXT_scene_marker</a></td></tr>
|
<tr><td class="num">13</td><td> </td><td><a href="http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt">EXT_framebuffer_sRGB</a></td></tr>
|
||||||
<tr><td class="num">15</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/swap_control.txt">EXT_swap_control</a></td></tr>
|
<tr><td class="num">14</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/import_context.txt">EXT_import_context</a></td></tr>
|
||||||
<tr><td class="num">16</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/texture_from_pixmap.txt">EXT_texture_from_pixmap</a></td></tr>
|
<tr><td class="num">15</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/scene_marker.txt">EXT_scene_marker</a></td></tr>
|
||||||
<tr><td class="num">17</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/visual_info.txt">EXT_visual_info</a></td></tr>
|
<tr><td class="num">16</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/swap_control.txt">EXT_swap_control</a></td></tr>
|
||||||
<tr><td class="num">18</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/visual_rating.txt">EXT_visual_rating</a></td></tr>
|
<tr><td class="num">17</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/texture_from_pixmap.txt">EXT_texture_from_pixmap</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td class="num">18</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/visual_info.txt">EXT_visual_info</a></td></tr>
|
||||||
<tr><td class="num">19</td><td> </td><td><a href="http://www.opengl.org/registry/specs/INTEL/swap_event.txt">INTEL_swap_event</a></td></tr>
|
<tr><td class="num">19</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/visual_rating.txt">EXT_visual_rating</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">20</td><td> </td><td><a href="http://www.opengl.org/registry/specs/MESA/agp_offset.txt">MESA_agp_offset</a></td></tr>
|
<tr><td class="num">20</td><td> </td><td><a href="http://www.opengl.org/registry/specs/INTEL/swap_event.txt">INTEL_swap_event</a></td></tr>
|
||||||
<tr><td class="num">21</td><td> </td><td><a href="http://www.opengl.org/registry/specs/MESA/copy_sub_buffer.txt">MESA_copy_sub_buffer</a></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">22</td><td> </td><td><a href="http://www.opengl.org/registry/specs/MESA/pixmap_colormap.txt">MESA_pixmap_colormap</a></td></tr>
|
<tr><td class="num">21</td><td> </td><td><a href="http://www.opengl.org/registry/specs/MESA/agp_offset.txt">MESA_agp_offset</a></td></tr>
|
||||||
<tr><td class="num">23</td><td> </td><td><a href="http://www.opengl.org/registry/specs/MESA/release_buffers.txt">MESA_release_buffers</a></td></tr>
|
<tr><td class="num">22</td><td> </td><td><a href="http://www.opengl.org/registry/specs/MESA/copy_sub_buffer.txt">MESA_copy_sub_buffer</a></td></tr>
|
||||||
<tr><td class="num">24</td><td> </td><td><a href="http://www.opengl.org/registry/specs/MESA/set_3dfx_mode.txt">MESA_set_3dfx_mode</a></td></tr>
|
<tr><td class="num">23</td><td> </td><td><a href="http://www.opengl.org/registry/specs/MESA/pixmap_colormap.txt">MESA_pixmap_colormap</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td class="num">24</td><td> </td><td><a href="http://www.opengl.org/registry/specs/MESA/release_buffers.txt">MESA_release_buffers</a></td></tr>
|
||||||
<tr><td class="num">25</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/copy_image.txt">NV_copy_image</a></td></tr>
|
<tr><td class="num">25</td><td> </td><td><a href="http://www.opengl.org/registry/specs/MESA/set_3dfx_mode.txt">MESA_set_3dfx_mode</a></td></tr>
|
||||||
<tr><td class="num">26</td><td> </td><td><a href="http://cvs1.nvidia.com/inc/GL/glxtokens.h">NV_float_buffer</a></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">27</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/present_video.txt">NV_present_video</a></td></tr>
|
<tr><td class="num">26</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/copy_image.txt">NV_copy_image</a></td></tr>
|
||||||
<tr><td class="num">28</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/glx_swap_group.txt">NV_swap_group</a></td></tr>
|
<tr><td class="num">27</td><td> </td><td><a href="http://cvs1.nvidia.com/inc/GL/glxtokens.h">NV_float_buffer</a></td></tr>
|
||||||
<tr><td class="num">29</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt">NV_vertex_array_range</a></td></tr>
|
<tr><td class="num">28</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/multisample_coverage.txt">NV_multisample_coverage</a></td></tr>
|
||||||
<tr><td class="num">30</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/glx_video_out.txt">NV_video_output</a></td></tr>
|
<tr><td class="num">29</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/present_video.txt">NV_present_video</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td class="num">30</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/glx_swap_group.txt">NV_swap_group</a></td></tr>
|
||||||
<tr><td class="num">31</td><td> </td><td><a href="http://www.opengl.org/registry/specs/OML/glx_swap_method.txt">OML_swap_method</a></td></tr>
|
<tr><td class="num">31</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt">NV_vertex_array_range</a></td></tr>
|
||||||
<tr><td class="num">32</td><td> </td><td><a href="http://www.opengl.org/registry/specs/OML/glx_sync_control.txt">OML_sync_control</a></td></tr>
|
<tr><td class="num">32</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/glx_video_out.txt">NV_video_output</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">33</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIS/blended_overlay.txt">SGIS_blended_overlay</a></td></tr>
|
<tr><td class="num">33</td><td> </td><td><a href="http://www.opengl.org/registry/specs/OML/glx_swap_method.txt">OML_swap_method</a></td></tr>
|
||||||
<tr><td class="num">34</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIS/color_range.txt">SGIS_color_range</a></td></tr>
|
<tr><td class="num">34</td><td> </td><td><a href="http://www.opengl.org/registry/specs/OML/glx_sync_control.txt">OML_sync_control</a></td></tr>
|
||||||
<tr><td class="num">35</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIS/multisample.txt">SGIS_multisample</a></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">36</td><td> </td><td>SGIS_shared_multisample</td></tr>
|
<tr><td class="num">35</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIS/blended_overlay.txt">SGIS_blended_overlay</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td class="num">36</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIS/color_range.txt">SGIS_color_range</a></td></tr>
|
||||||
<tr><td class="num">37</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIX/fbconfig.txt">SGIX_fbconfig</a></td></tr>
|
<tr><td class="num">37</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIS/multisample.txt">SGIS_multisample</a></td></tr>
|
||||||
<tr><td class="num">38</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/SGIX/hyperpipe_group.txt">SGIX_hyperpipe</a></td></tr>
|
<tr><td class="num">38</td><td> </td><td>SGIS_shared_multisample</td></tr>
|
||||||
<tr><td class="num">39</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIX/pbuffer.txt">SGIX_pbuffer</a></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">40</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_barrier.txt">SGIX_swap_barrier</a></td></tr>
|
<tr><td class="num">39</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIX/fbconfig.txt">SGIX_fbconfig</a></td></tr>
|
||||||
<tr><td class="num">41</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_group.txt">SGIX_swap_group</a></td></tr>
|
<tr><td class="num">40</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/SGIX/hyperpipe_group.txt">SGIX_hyperpipe</a></td></tr>
|
||||||
<tr><td class="num">42</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIX/video_resize.txt">SGIX_video_resize</a></td></tr>
|
<tr><td class="num">41</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIX/pbuffer.txt">SGIX_pbuffer</a></td></tr>
|
||||||
<tr><td class="num">43</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIX/visual_select_group.txt">SGIX_visual_select_group</a></td></tr>
|
<tr><td class="num">42</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_barrier.txt">SGIX_swap_barrier</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td class="num">43</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_group.txt">SGIX_swap_group</a></td></tr>
|
||||||
<tr><td class="num">44</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGI/cushion.txt">SGI_cushion</a></td></tr>
|
<tr><td class="num">44</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIX/video_resize.txt">SGIX_video_resize</a></td></tr>
|
||||||
<tr><td class="num">45</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGI/make_current_read.txt">SGI_make_current_read</a></td></tr>
|
<tr><td class="num">45</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGIX/visual_select_group.txt">SGIX_visual_select_group</a></td></tr>
|
||||||
<tr><td class="num">46</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGI/swap_control.txt">SGI_swap_control</a></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">47</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGI/video_sync.txt">SGI_video_sync</a></td></tr>
|
<tr><td class="num">46</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGI/cushion.txt">SGI_cushion</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td class="num">47</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGI/make_current_read.txt">SGI_make_current_read</a></td></tr>
|
||||||
<tr><td class="num">48</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SUN/get_transparent_index.txt">SUN_get_transparent_index</a></td></tr>
|
<tr><td class="num">48</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGI/swap_control.txt">SGI_swap_control</a></td></tr>
|
||||||
<tr><td class="num">49</td><td> </td><td><a href="http://wwws.sun.com/software/graphics/opengl/extensions/glx_sun_video_resize.txt">SUN_video_resize</a></td></tr>
|
<tr><td class="num">49</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SGI/video_sync.txt">SGI_video_sync</a></td></tr>
|
||||||
</table>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<!-- begin footer.html -->
|
<tr><td class="num">50</td><td> </td><td><a href="http://www.opengl.org/registry/specs/SUN/get_transparent_index.txt">SUN_get_transparent_index</a></td></tr>
|
||||||
</td></tr></table></body>
|
<tr><td class="num">51</td><td> </td><td><a href="http://wwws.sun.com/software/graphics/opengl/extensions/glx_sun_video_resize.txt">SUN_video_resize</a></td></tr>
|
||||||
<!-- end footer.html -->
|
</table>
|
||||||
|
<!-- begin footer.html -->
|
||||||
|
</td></tr></table></body>
|
||||||
|
<!-- end footer.html -->
|
||||||
|
|
||||||
|
680
doc/gpl.txt
680
doc/gpl.txt
@ -1,340 +1,340 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
|
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
Preamble
|
Preamble
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
The licenses for most software are designed to take away your
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
License is intended to guarantee your freedom to share and change free
|
License is intended to guarantee your freedom to share and change free
|
||||||
software--to make sure the software is free for all its users. This
|
software--to make sure the software is free for all its users. This
|
||||||
General Public License applies to most of the Free Software
|
General Public License applies to most of the Free Software
|
||||||
Foundation's software and to any other program whose authors commit to
|
Foundation's software and to any other program whose authors commit to
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
the GNU Library General Public License instead.) You can apply it to
|
the GNU Library General Public License instead.) You can apply it to
|
||||||
your programs, too.
|
your programs, too.
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
When we speak of free software, we are referring to freedom, not
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
have the freedom to distribute copies of free software (and charge for
|
have the freedom to distribute copies of free software (and charge for
|
||||||
this service if you wish), that you receive source code or can get it
|
this service if you wish), that you receive source code or can get it
|
||||||
if you want it, that you can change the software or use pieces of it
|
if you want it, that you can change the software or use pieces of it
|
||||||
in new free programs; and that you know you can do these things.
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
To protect your rights, we need to make restrictions that forbid
|
To protect your rights, we need to make restrictions that forbid
|
||||||
anyone to deny you these rights or to ask you to surrender the rights.
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
These restrictions translate to certain responsibilities for you if you
|
These restrictions translate to certain responsibilities for you if you
|
||||||
distribute copies of the software, or if you modify it.
|
distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
For example, if you distribute copies of such a program, whether
|
||||||
gratis or for a fee, you must give the recipients all the rights that
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
you have. You must make sure that they, too, receive or can get the
|
you have. You must make sure that they, too, receive or can get the
|
||||||
source code. And you must show them these terms so they know their
|
source code. And you must show them these terms so they know their
|
||||||
rights.
|
rights.
|
||||||
|
|
||||||
We protect your rights with two steps: (1) copyright the software, and
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
(2) offer you this license which gives you legal permission to copy,
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
distribute and/or modify the software.
|
distribute and/or modify the software.
|
||||||
|
|
||||||
Also, for each author's protection and ours, we want to make certain
|
Also, for each author's protection and ours, we want to make certain
|
||||||
that everyone understands that there is no warranty for this free
|
that everyone understands that there is no warranty for this free
|
||||||
software. If the software is modified by someone else and passed on, we
|
software. If the software is modified by someone else and passed on, we
|
||||||
want its recipients to know that what they have is not the original, so
|
want its recipients to know that what they have is not the original, so
|
||||||
that any problems introduced by others will not reflect on the original
|
that any problems introduced by others will not reflect on the original
|
||||||
authors' reputations.
|
authors' reputations.
|
||||||
|
|
||||||
Finally, any free program is threatened constantly by software
|
Finally, any free program is threatened constantly by software
|
||||||
patents. We wish to avoid the danger that redistributors of a free
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
program will individually obtain patent licenses, in effect making the
|
program will individually obtain patent licenses, in effect making the
|
||||||
program proprietary. To prevent this, we have made it clear that any
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
patent must be licensed for everyone's free use or not licensed at all.
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
The precise terms and conditions for copying, distribution and
|
||||||
modification follow.
|
modification follow.
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
0. This License applies to any program or other work which contains
|
0. This License applies to any program or other work which contains
|
||||||
a notice placed by the copyright holder saying it may be distributed
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
under the terms of this General Public License. The "Program", below,
|
under the terms of this General Public License. The "Program", below,
|
||||||
refers to any such program or work, and a "work based on the Program"
|
refers to any such program or work, and a "work based on the Program"
|
||||||
means either the Program or any derivative work under copyright law:
|
means either the Program or any derivative work under copyright law:
|
||||||
that is to say, a work containing the Program or a portion of it,
|
that is to say, a work containing the Program or a portion of it,
|
||||||
either verbatim or with modifications and/or translated into another
|
either verbatim or with modifications and/or translated into another
|
||||||
language. (Hereinafter, translation is included without limitation in
|
language. (Hereinafter, translation is included without limitation in
|
||||||
the term "modification".) Each licensee is addressed as "you".
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
Activities other than copying, distribution and modification are not
|
Activities other than copying, distribution and modification are not
|
||||||
covered by this License; they are outside its scope. The act of
|
covered by this License; they are outside its scope. The act of
|
||||||
running the Program is not restricted, and the output from the Program
|
running the Program is not restricted, and the output from the Program
|
||||||
is covered only if its contents constitute a work based on the
|
is covered only if its contents constitute a work based on the
|
||||||
Program (independent of having been made by running the Program).
|
Program (independent of having been made by running the Program).
|
||||||
Whether that is true depends on what the Program does.
|
Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
1. You may copy and distribute verbatim copies of the Program's
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
source code as you receive it, in any medium, provided that you
|
source code as you receive it, in any medium, provided that you
|
||||||
conspicuously and appropriately publish on each copy an appropriate
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
copyright notice and disclaimer of warranty; keep intact all the
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
notices that refer to this License and to the absence of any warranty;
|
notices that refer to this License and to the absence of any warranty;
|
||||||
and give any other recipients of the Program a copy of this License
|
and give any other recipients of the Program a copy of this License
|
||||||
along with the Program.
|
along with the Program.
|
||||||
|
|
||||||
You may charge a fee for the physical act of transferring a copy, and
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
you may at your option offer warranty protection in exchange for a fee.
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
2. You may modify your copy or copies of the Program or any portion
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
of it, thus forming a work based on the Program, and copy and
|
of it, thus forming a work based on the Program, and copy and
|
||||||
distribute such modifications or work under the terms of Section 1
|
distribute such modifications or work under the terms of Section 1
|
||||||
above, provided that you also meet all of these conditions:
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
a) You must cause the modified files to carry prominent notices
|
a) You must cause the modified files to carry prominent notices
|
||||||
stating that you changed the files and the date of any change.
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
b) You must cause any work that you distribute or publish, that in
|
b) You must cause any work that you distribute or publish, that in
|
||||||
whole or in part contains or is derived from the Program or any
|
whole or in part contains or is derived from the Program or any
|
||||||
part thereof, to be licensed as a whole at no charge to all third
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
parties under the terms of this License.
|
parties under the terms of this License.
|
||||||
|
|
||||||
c) If the modified program normally reads commands interactively
|
c) If the modified program normally reads commands interactively
|
||||||
when run, you must cause it, when started running for such
|
when run, you must cause it, when started running for such
|
||||||
interactive use in the most ordinary way, to print or display an
|
interactive use in the most ordinary way, to print or display an
|
||||||
announcement including an appropriate copyright notice and a
|
announcement including an appropriate copyright notice and a
|
||||||
notice that there is no warranty (or else, saying that you provide
|
notice that there is no warranty (or else, saying that you provide
|
||||||
a warranty) and that users may redistribute the program under
|
a warranty) and that users may redistribute the program under
|
||||||
these conditions, and telling the user how to view a copy of this
|
these conditions, and telling the user how to view a copy of this
|
||||||
License. (Exception: if the Program itself is interactive but
|
License. (Exception: if the Program itself is interactive but
|
||||||
does not normally print such an announcement, your work based on
|
does not normally print such an announcement, your work based on
|
||||||
the Program is not required to print an announcement.)
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
These requirements apply to the modified work as a whole. If
|
These requirements apply to the modified work as a whole. If
|
||||||
identifiable sections of that work are not derived from the Program,
|
identifiable sections of that work are not derived from the Program,
|
||||||
and can be reasonably considered independent and separate works in
|
and can be reasonably considered independent and separate works in
|
||||||
themselves, then this License, and its terms, do not apply to those
|
themselves, then this License, and its terms, do not apply to those
|
||||||
sections when you distribute them as separate works. But when you
|
sections when you distribute them as separate works. But when you
|
||||||
distribute the same sections as part of a whole which is a work based
|
distribute the same sections as part of a whole which is a work based
|
||||||
on the Program, the distribution of the whole must be on the terms of
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
this License, whose permissions for other licensees extend to the
|
this License, whose permissions for other licensees extend to the
|
||||||
entire whole, and thus to each and every part regardless of who wrote it.
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
Thus, it is not the intent of this section to claim rights or contest
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
your rights to work written entirely by you; rather, the intent is to
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
exercise the right to control the distribution of derivative or
|
exercise the right to control the distribution of derivative or
|
||||||
collective works based on the Program.
|
collective works based on the Program.
|
||||||
|
|
||||||
In addition, mere aggregation of another work not based on the Program
|
In addition, mere aggregation of another work not based on the Program
|
||||||
with the Program (or with a work based on the Program) on a volume of
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
a storage or distribution medium does not bring the other work under
|
a storage or distribution medium does not bring the other work under
|
||||||
the scope of this License.
|
the scope of this License.
|
||||||
|
|
||||||
3. You may copy and distribute the Program (or a work based on it,
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
under Section 2) in object code or executable form under the terms of
|
under Section 2) in object code or executable form under the terms of
|
||||||
Sections 1 and 2 above provided that you also do one of the following:
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
a) Accompany it with the complete corresponding machine-readable
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
source code, which must be distributed under the terms of Sections
|
source code, which must be distributed under the terms of Sections
|
||||||
1 and 2 above on a medium customarily used for software interchange; or,
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
b) Accompany it with a written offer, valid for at least three
|
b) Accompany it with a written offer, valid for at least three
|
||||||
years, to give any third party, for a charge no more than your
|
years, to give any third party, for a charge no more than your
|
||||||
cost of physically performing source distribution, a complete
|
cost of physically performing source distribution, a complete
|
||||||
machine-readable copy of the corresponding source code, to be
|
machine-readable copy of the corresponding source code, to be
|
||||||
distributed under the terms of Sections 1 and 2 above on a medium
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
customarily used for software interchange; or,
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
c) Accompany it with the information you received as to the offer
|
c) Accompany it with the information you received as to the offer
|
||||||
to distribute corresponding source code. (This alternative is
|
to distribute corresponding source code. (This alternative is
|
||||||
allowed only for noncommercial distribution and only if you
|
allowed only for noncommercial distribution and only if you
|
||||||
received the program in object code or executable form with such
|
received the program in object code or executable form with such
|
||||||
an offer, in accord with Subsection b above.)
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
The source code for a work means the preferred form of the work for
|
The source code for a work means the preferred form of the work for
|
||||||
making modifications to it. For an executable work, complete source
|
making modifications to it. For an executable work, complete source
|
||||||
code means all the source code for all modules it contains, plus any
|
code means all the source code for all modules it contains, plus any
|
||||||
associated interface definition files, plus the scripts used to
|
associated interface definition files, plus the scripts used to
|
||||||
control compilation and installation of the executable. However, as a
|
control compilation and installation of the executable. However, as a
|
||||||
special exception, the source code distributed need not include
|
special exception, the source code distributed need not include
|
||||||
anything that is normally distributed (in either source or binary
|
anything that is normally distributed (in either source or binary
|
||||||
form) with the major components (compiler, kernel, and so on) of the
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
operating system on which the executable runs, unless that component
|
operating system on which the executable runs, unless that component
|
||||||
itself accompanies the executable.
|
itself accompanies the executable.
|
||||||
|
|
||||||
If distribution of executable or object code is made by offering
|
If distribution of executable or object code is made by offering
|
||||||
access to copy from a designated place, then offering equivalent
|
access to copy from a designated place, then offering equivalent
|
||||||
access to copy the source code from the same place counts as
|
access to copy the source code from the same place counts as
|
||||||
distribution of the source code, even though third parties are not
|
distribution of the source code, even though third parties are not
|
||||||
compelled to copy the source along with the object code.
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
4. You may not copy, modify, sublicense, or distribute the Program
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
except as expressly provided under this License. Any attempt
|
except as expressly provided under this License. Any attempt
|
||||||
otherwise to copy, modify, sublicense or distribute the Program is
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
void, and will automatically terminate your rights under this License.
|
void, and will automatically terminate your rights under this License.
|
||||||
However, parties who have received copies, or rights, from you under
|
However, parties who have received copies, or rights, from you under
|
||||||
this License will not have their licenses terminated so long as such
|
this License will not have their licenses terminated so long as such
|
||||||
parties remain in full compliance.
|
parties remain in full compliance.
|
||||||
|
|
||||||
5. You are not required to accept this License, since you have not
|
5. You are not required to accept this License, since you have not
|
||||||
signed it. However, nothing else grants you permission to modify or
|
signed it. However, nothing else grants you permission to modify or
|
||||||
distribute the Program or its derivative works. These actions are
|
distribute the Program or its derivative works. These actions are
|
||||||
prohibited by law if you do not accept this License. Therefore, by
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
modifying or distributing the Program (or any work based on the
|
modifying or distributing the Program (or any work based on the
|
||||||
Program), you indicate your acceptance of this License to do so, and
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
all its terms and conditions for copying, distributing or modifying
|
all its terms and conditions for copying, distributing or modifying
|
||||||
the Program or works based on it.
|
the Program or works based on it.
|
||||||
|
|
||||||
6. Each time you redistribute the Program (or any work based on the
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
Program), the recipient automatically receives a license from the
|
Program), the recipient automatically receives a license from the
|
||||||
original licensor to copy, distribute or modify the Program subject to
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
these terms and conditions. You may not impose any further
|
these terms and conditions. You may not impose any further
|
||||||
restrictions on the recipients' exercise of the rights granted herein.
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
You are not responsible for enforcing compliance by third parties to
|
You are not responsible for enforcing compliance by third parties to
|
||||||
this License.
|
this License.
|
||||||
|
|
||||||
7. If, as a consequence of a court judgment or allegation of patent
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
infringement or for any other reason (not limited to patent issues),
|
infringement or for any other reason (not limited to patent issues),
|
||||||
conditions are imposed on you (whether by court order, agreement or
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
excuse you from the conditions of this License. If you cannot
|
excuse you from the conditions of this License. If you cannot
|
||||||
distribute so as to satisfy simultaneously your obligations under this
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
License and any other pertinent obligations, then as a consequence you
|
License and any other pertinent obligations, then as a consequence you
|
||||||
may not distribute the Program at all. For example, if a patent
|
may not distribute the Program at all. For example, if a patent
|
||||||
license would not permit royalty-free redistribution of the Program by
|
license would not permit royalty-free redistribution of the Program by
|
||||||
all those who receive copies directly or indirectly through you, then
|
all those who receive copies directly or indirectly through you, then
|
||||||
the only way you could satisfy both it and this License would be to
|
the only way you could satisfy both it and this License would be to
|
||||||
refrain entirely from distribution of the Program.
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
If any portion of this section is held invalid or unenforceable under
|
If any portion of this section is held invalid or unenforceable under
|
||||||
any particular circumstance, the balance of the section is intended to
|
any particular circumstance, the balance of the section is intended to
|
||||||
apply and the section as a whole is intended to apply in other
|
apply and the section as a whole is intended to apply in other
|
||||||
circumstances.
|
circumstances.
|
||||||
|
|
||||||
It is not the purpose of this section to induce you to infringe any
|
It is not the purpose of this section to induce you to infringe any
|
||||||
patents or other property right claims or to contest validity of any
|
patents or other property right claims or to contest validity of any
|
||||||
such claims; this section has the sole purpose of protecting the
|
such claims; this section has the sole purpose of protecting the
|
||||||
integrity of the free software distribution system, which is
|
integrity of the free software distribution system, which is
|
||||||
implemented by public license practices. Many people have made
|
implemented by public license practices. Many people have made
|
||||||
generous contributions to the wide range of software distributed
|
generous contributions to the wide range of software distributed
|
||||||
through that system in reliance on consistent application of that
|
through that system in reliance on consistent application of that
|
||||||
system; it is up to the author/donor to decide if he or she is willing
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
to distribute software through any other system and a licensee cannot
|
to distribute software through any other system and a licensee cannot
|
||||||
impose that choice.
|
impose that choice.
|
||||||
|
|
||||||
This section is intended to make thoroughly clear what is believed to
|
This section is intended to make thoroughly clear what is believed to
|
||||||
be a consequence of the rest of this License.
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
8. If the distribution and/or use of the Program is restricted in
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
original copyright holder who places the Program under this License
|
original copyright holder who places the Program under this License
|
||||||
may add an explicit geographical distribution limitation excluding
|
may add an explicit geographical distribution limitation excluding
|
||||||
those countries, so that distribution is permitted only in or among
|
those countries, so that distribution is permitted only in or among
|
||||||
countries not thus excluded. In such case, this License incorporates
|
countries not thus excluded. In such case, this License incorporates
|
||||||
the limitation as if written in the body of this License.
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
9. The Free Software Foundation may publish revised and/or new versions
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
of the General Public License from time to time. Such new versions will
|
of the General Public License from time to time. Such new versions will
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
address new problems or concerns.
|
address new problems or concerns.
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the Program
|
Each version is given a distinguishing version number. If the Program
|
||||||
specifies a version number of this License which applies to it and "any
|
specifies a version number of this License which applies to it and "any
|
||||||
later version", you have the option of following the terms and conditions
|
later version", you have the option of following the terms and conditions
|
||||||
either of that version or of any later version published by the Free
|
either of that version or of any later version published by the Free
|
||||||
Software Foundation. If the Program does not specify a version number of
|
Software Foundation. If the Program does not specify a version number of
|
||||||
this License, you may choose any version ever published by the Free Software
|
this License, you may choose any version ever published by the Free Software
|
||||||
Foundation.
|
Foundation.
|
||||||
|
|
||||||
10. If you wish to incorporate parts of the Program into other free
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
programs whose distribution conditions are different, write to the author
|
programs whose distribution conditions are different, write to the author
|
||||||
to ask for permission. For software which is copyrighted by the Free
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
make exceptions for this. Our decision will be guided by the two goals
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
of preserving the free status of all derivatives of our free software and
|
of preserving the free status of all derivatives of our free software and
|
||||||
of promoting the sharing and reuse of software generally.
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
NO WARRANTY
|
NO WARRANTY
|
||||||
|
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
REPAIR OR CORRECTION.
|
REPAIR OR CORRECTION.
|
||||||
|
|
||||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
If you develop a new program, and you want it to be of the greatest
|
||||||
possible use to the public, the best way to achieve this is to make it
|
possible use to the public, the best way to achieve this is to make it
|
||||||
free software which everyone can redistribute and change under these terms.
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
To do so, attach the following notices to the program. It is safest
|
||||||
to attach them to the start of each source file to most effectively
|
to attach them to the start of each source file to most effectively
|
||||||
convey the exclusion of warranty; and each file should have at least
|
convey the exclusion of warranty; and each file should have at least
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
Copyright (C) <year> <name of author>
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
If the program is interactive, make it output a short notice like this
|
If the program is interactive, make it output a short notice like this
|
||||||
when it starts in an interactive mode:
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
Gnomovision version 69, Copyright (C) year name of author
|
Gnomovision version 69, Copyright (C) year name of author
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it
|
||||||
under certain conditions; type `show c' for details.
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
parts of the General Public License. Of course, the commands you use may
|
parts of the General Public License. Of course, the commands you use may
|
||||||
be called something other than `show w' and `show c'; they could even be
|
be called something other than `show w' and `show c'; they could even be
|
||||||
mouse-clicks or menu items--whatever suits your program.
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or your
|
You should also get your employer (if you work as a programmer) or your
|
||||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
necessary. Here is a sample; alter the names:
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
<signature of Ty Coon>, 1 April 1989
|
<signature of Ty Coon>, 1 April 1989
|
||||||
Ty Coon, President of Vice
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
This General Public License does not permit incorporating your program into
|
This General Public License does not permit incorporating your program into
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
consider it more useful to permit linking proprietary applications with the
|
consider it more useful to permit linking proprietary applications with the
|
||||||
library. If this is what you want to do, use the GNU Library General
|
library. If this is what you want to do, use the GNU Library General
|
||||||
Public License instead of this License.
|
Public License instead of this License.
|
||||||
|
405
doc/index.html
405
doc/index.html
@ -1,202 +1,203 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions are met:
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
this list of conditions and the following disclaimer.
|
this list of conditions and the following disclaimer.
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
this list of conditions and the following disclaimer in the documentation
|
this list of conditions and the following disclaimer in the documentation
|
||||||
and/or other materials provided with the distribution.
|
and/or other materials provided with the distribution.
|
||||||
* The name of the author may be used to endorse or promote products
|
* The name of the author may be used to endorse or promote products
|
||||||
derived from this software without specific prior written permission.
|
derived from this software without specific prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
THE POSSIBILITY OF SUCH DAMAGE.
|
THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
-->
|
-->
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
||||||
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<link href="glew.css" type="text/css" rel="stylesheet">
|
<link href="glew.css" type="text/css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#fff0d0">
|
<body bgcolor="#fff0d0">
|
||||||
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">1.5.4</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/">1.5.5</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
||||||
<tr><td align="center">Download</td></tr>
|
<tr><td align="center">Download</td></tr>
|
||||||
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
||||||
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
||||||
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
||||||
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
||||||
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td valign="bottom">
|
<td valign="bottom">
|
||||||
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Last Update: 04-21-10</i></td></tr>
|
<tr><td align="center"><i>Last Update: 07-13-10</i></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
||||||
height="35" border="0" alt="OpenGL Logo"></a>
|
height="35" border="0" alt="OpenGL Logo"></a>
|
||||||
<a href="http://sourceforge.net"> <img
|
<a href="http://sourceforge.net"> <img
|
||||||
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
||||||
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--- <tr><td align="center"><a
|
<!--- <tr><td align="center"><a
|
||||||
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
||||||
src="http://images.sourceforge.net/images/project-support.jpg"
|
src="http://images.sourceforge.net/images/project-support.jpg"
|
||||||
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td bgcolor="#ffffff" align="left" valign="top">
|
<td bgcolor="#ffffff" align="left" valign="top">
|
||||||
|
|
||||||
<h1>The OpenGL Extension Wrangler Library</h1>
|
<h1>The OpenGL Extension Wrangler Library</h1>
|
||||||
|
|
||||||
<!-- end header.html -->
|
<!-- end header.html -->
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
||||||
open-source C/C++ extension loading library. GLEW provides efficient
|
open-source C/C++ extension loading library. GLEW provides efficient
|
||||||
run-time mechanisms for determining which OpenGL extensions are
|
run-time mechanisms for determining which OpenGL extensions are
|
||||||
supported on the target platform. OpenGL core and extension
|
supported on the target platform. OpenGL core and extension
|
||||||
functionality is exposed in a single header file. GLEW has been
|
functionality is exposed in a single header file. GLEW has been
|
||||||
tested on a variety of operating systems, including Windows, Linux,
|
tested on a variety of operating systems, including Windows, Linux,
|
||||||
Mac OS X, FreeBSD, Irix, and Solaris.
|
Mac OS X, FreeBSD, Irix, and Solaris.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Download Center</h2>
|
<h2>Download Center</h2>
|
||||||
<p>
|
<p>
|
||||||
<a href="http://sourceforge.net/projects/glew/">GLEW</a> is distributed
|
<a href="http://sourceforge.net/projects/glew/">GLEW</a> is distributed
|
||||||
as source and precompiled binaries. The latest release is
|
as source and precompiled binaries. The latest release is
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">1.5.4</a>
|
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/">1.5.5</a>
|
||||||
[04-21-10]:
|
[07-13-10]:
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<table border="1" cellpadding="5" cellspacing="0" bgcolor="#f0f0f0" align="center">
|
<table border="1" cellpadding="5" cellspacing="0" bgcolor="#f0f0f0" align="center">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellpadding="3" cellspacing="0">
|
<table border="0" cellpadding="3" cellspacing="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td align="right"><b>Source</b></td>
|
<td align="right"><b>Source</b></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/glew-1.5.4.zip/download">ZIP</a> |
|
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/glew-1.5.5.zip/download">ZIP</a> |
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/glew-1.5.4.tgz/download">TGZ</a></td>
|
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/glew-1.5.5.tgz/download">TGZ</a></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td align="right"><b>Binaries</b></td>
|
<td align="right"><b>Binaries</b></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/glew-1.5.4-win32.zip/download">Windows 32-bit</a> |
|
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/glew-1.5.5-win32.zip/download">Windows 32-bit</a> |
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/glew-1.5.4-win64.zip/download">64-bit</a>
|
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/glew-1.5.5-win64.zip/download">64-bit</a>
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<p></p>
|
<p></p>
|
||||||
<p>
|
<p>
|
||||||
An up-to-date copy is also available from the <a
|
An up-to-date copy is also available from the <a
|
||||||
href="http://glew.svn.sourceforge.net/svnroot/glew/trunk/glew/">project
|
href="http://glew.svn.sourceforge.net/svnroot/glew/trunk/glew/">project
|
||||||
repository</a>:
|
repository</a>:
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<tt>svn co https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew glew</tt>
|
<tt>svn co https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew glew</tt>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Supported Extensions</h2>
|
<h2>Supported Extensions</h2>
|
||||||
<p>
|
<p>
|
||||||
The latest release contains support for OpenGL 3.3, OpenGL 4.0 and the following extensions:
|
The latest release contains support for OpenGL 3.3, OpenGL 4.0 and the following extensions:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="glew.html">OpenGL extensions</a>
|
<li><a href="glew.html">OpenGL extensions</a>
|
||||||
<li><a href="wglew.html">WGL extensions</a>
|
<li><a href="wglew.html">WGL extensions</a>
|
||||||
<li><a href="glxew.html">GLX extensions</a>
|
<li><a href="glxew.html">GLX extensions</a>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>News</h2>
|
<h2>News</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>[04-21-10] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">GLEW 1.5.4</a> adds support for OpenGL 3.3, OpenGL 4.0 and new extensions, fixes bugs</li>
|
<li>[07-13-10] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/">GLEW 1.5.5</a> fixes minor bugs and adds new extensions</li>
|
||||||
<li>[02-28-10] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.3/">GLEW 1.5.3</a> fixes minor bugs and adds three new extensions</li>
|
<li>[04-21-10] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">GLEW 1.5.4</a> adds support for OpenGL 3.3, OpenGL 4.0 and new extensions, fixes bugs</li>
|
||||||
<li>[12-31-09] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.2/">GLEW 1.5.2</a> adds support for OpenGL 3.1, OpenGL 3.2 and new extensions</li>
|
<li>[02-28-10] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.3/">GLEW 1.5.3</a> fixes minor bugs and adds three new extensions</li>
|
||||||
<li>[11-03-08] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=637800">GLEW 1.5.1</a> adds support for OpenGL 3.0 and 31 new extensions</li>
|
<li>[12-31-09] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.2/">GLEW 1.5.2</a> adds support for OpenGL 3.1, OpenGL 3.2 and new extensions</li>
|
||||||
<li>[12-27-07] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=564464">GLEW 1.5.0</a> is released under less restrictive licenses</li>
|
<li>[11-03-08] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=637800">GLEW 1.5.1</a> adds support for OpenGL 3.0 and 31 new extensions</li>
|
||||||
<li>[04-27-07] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=504079">GLEW 1.4.0</a> is released</li>
|
<li>[12-27-07] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=564464">GLEW 1.5.0</a> is released under less restrictive licenses</li>
|
||||||
<li>[03-08-07] GLEW is included in the <a href="http://developer.nvidia.com/object/sdk_home.html">NVIDIA OpenGL SDK</a></li>
|
<li>[04-27-07] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=504079">GLEW 1.4.0</a> is released</li>
|
||||||
<li>[03-04-07] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=491113">GLEW 1.3.6</a> is released</li>
|
<li>[03-08-07] GLEW is included in the <a href="http://developer.nvidia.com/object/sdk_home.html">NVIDIA OpenGL SDK</a></li>
|
||||||
<li>[02-28-07] <a href="http://glew.svn.sourceforge.net/svnroot/glew/trunk/glew/">Repository</a> is migrated to SVN</li>
|
<li>[03-04-07] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=491113">GLEW 1.3.6</a> is released</li>
|
||||||
<li>[02-25-07] GLEW is included in the <a href="http://www.opengl.org/sdk/">OpenGL SDK</a></li>
|
<li>[02-28-07] <a href="http://glew.svn.sourceforge.net/svnroot/glew/trunk/glew/">Repository</a> is migrated to SVN</li>
|
||||||
<li>[11-21-06] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=465334">GLEW 1.3.5</a> adds OpenGL 2.1 and NVIDIA G80 extensions</li>
|
<li>[02-25-07] GLEW is included in the <a href="http://www.opengl.org/sdk/">OpenGL SDK</a></li>
|
||||||
<li>[03-04-06] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=398455">GLEW 1.3.4</a> adds support for five new extensions</li>
|
<li>[11-21-06] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=465334">GLEW 1.3.5</a> adds OpenGL 2.1 and NVIDIA G80 extensions</li>
|
||||||
<li>[05-16-05] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=327647">GLEW 1.3.3</a> is released</li>
|
<li>[03-04-06] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=398455">GLEW 1.3.4</a> adds support for five new extensions</li>
|
||||||
<li>[03-16-05] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=313345">GLEW 1.3.2</a> adds support for GL_APPLE_pixel_buffer</li>
|
<li>[05-16-05] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=327647">GLEW 1.3.3</a> is released</li>
|
||||||
<li>[02-11-05] <a href="http://gljava.sourceforge.net/">gljava</a> and <a href="http://sdljava.sourceforge.net/">sdljava</a> provide a Java binding to OpenGL via GLEW</li>
|
<li>[03-16-05] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=313345">GLEW 1.3.2</a> adds support for GL_APPLE_pixel_buffer</li>
|
||||||
<li>[02-02-05] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=302049">GLEW 1.3.1</a> adds support for <a href="http://www.opengl.org/documentation/extensions/EXT_framebuffer_object.txt">GL_EXT_framebuffer_object</a></li>
|
<li>[02-11-05] <a href="http://gljava.sourceforge.net/">gljava</a> and <a href="http://sdljava.sourceforge.net/">sdljava</a> provide a Java binding to OpenGL via GLEW</li>
|
||||||
<li>[01-04-05] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=294527">GLEW 1.3.0</a> adds core OpenGL 2.0 support plus many enhancements</li>
|
<li>[02-02-05] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=302049">GLEW 1.3.1</a> adds support for <a href="http://www.opengl.org/documentation/extensions/EXT_framebuffer_object.txt">GL_EXT_framebuffer_object</a></li>
|
||||||
<li>[12-22-04] <a href="http://glewpy.sf.net/">GLEWpy</a> Python wrapper announced</li>
|
<li>[01-04-05] <a href="https://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=294527">GLEW 1.3.0</a> adds core OpenGL 2.0 support plus many enhancements</li>
|
||||||
<li>[12-12-04] <a href="https://sourceforge.net/mail/?group_id=67586">Mailing lists</a> created on sourceforge</li>
|
<li>[12-22-04] <a href="http://glewpy.sf.net/">GLEWpy</a> Python wrapper announced</li>
|
||||||
<li>[12-06-04] <a href="http://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=287948">GLEW 1.2.5</a> adds new extensions and support for FreeBSD</li>
|
<li>[12-12-04] <a href="https://sourceforge.net/mail/?group_id=67586">Mailing lists</a> created on sourceforge</li>
|
||||||
</ul>
|
<li>[12-06-04] <a href="http://sourceforge.net/project/showfiles.php?group_id=67586&package_id=67942&release_id=287948">GLEW 1.2.5</a> adds new extensions and support for FreeBSD</li>
|
||||||
|
</ul>
|
||||||
<h2>Links</h2>
|
|
||||||
<ul>
|
<h2>Links</h2>
|
||||||
<li><a href="http://www.opengl.org/sdk/">OpenGL Software Development Kit</a></li>
|
<ul>
|
||||||
<li><a href="http://www.opengl.org/resources/features/OGLextensions/">All About OpenGL Extensions</a></li>
|
<li><a href="http://www.opengl.org/sdk/">OpenGL Software Development Kit</a></li>
|
||||||
<li><a href="http://www.opengl.org/registry/">OpenGL Extension Registry</a></li>
|
<li><a href="http://www.opengl.org/resources/features/OGLextensions/">All About OpenGL Extensions</a></li>
|
||||||
<li><a href="http://ati.amd.com/developer/sdk/radeonSDK/html/info/Prog3D.html">ATI OpenGL Extension Specifications</a></li>
|
<li><a href="http://www.opengl.org/registry/">OpenGL Extension Registry</a></li>
|
||||||
<li><a href="http://developer.apple.com/graphicsimaging/opengl/extensions.html">APPLE OpenGL Extensions Guide</a></li>
|
<li><a href="http://ati.amd.com/developer/sdk/radeonSDK/html/info/Prog3D.html">ATI OpenGL Extension Specifications</a></li>
|
||||||
<li><a href="http://developer.nvidia.com/object/nvidia_opengl_specs.html">NVIDIA OpenGL Extension Specifications</a></li>
|
<li><a href="http://developer.apple.com/graphicsimaging/opengl/extensions.html">APPLE OpenGL Extensions Guide</a></li>
|
||||||
</ul>
|
<li><a href="http://developer.nvidia.com/object/nvidia_opengl_specs.html">NVIDIA OpenGL Extension Specifications</a></li>
|
||||||
|
</ul>
|
||||||
<!-- begin footer.html -->
|
|
||||||
</td></tr></table></body>
|
<!-- begin footer.html -->
|
||||||
<!-- end footer.html -->
|
</td></tr></table></body>
|
||||||
|
<!-- end footer.html -->
|
||||||
|
|
||||||
|
456
doc/install.html
456
doc/install.html
@ -1,228 +1,228 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions are met:
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
this list of conditions and the following disclaimer.
|
this list of conditions and the following disclaimer.
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
this list of conditions and the following disclaimer in the documentation
|
this list of conditions and the following disclaimer in the documentation
|
||||||
and/or other materials provided with the distribution.
|
and/or other materials provided with the distribution.
|
||||||
* The name of the author may be used to endorse or promote products
|
* The name of the author may be used to endorse or promote products
|
||||||
derived from this software without specific prior written permission.
|
derived from this software without specific prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
THE POSSIBILITY OF SUCH DAMAGE.
|
THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
-->
|
-->
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
||||||
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<link href="glew.css" type="text/css" rel="stylesheet">
|
<link href="glew.css" type="text/css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#fff0d0">
|
<body bgcolor="#fff0d0">
|
||||||
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">1.5.4</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/">1.5.5</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
||||||
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
||||||
<tr><td align="center">Installation</td></tr>
|
<tr><td align="center">Installation</td></tr>
|
||||||
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
||||||
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
||||||
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
||||||
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td valign="bottom">
|
<td valign="bottom">
|
||||||
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Last Update: 04-21-10</i></td></tr>
|
<tr><td align="center"><i>Last Update: 07-13-10</i></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
||||||
height="35" border="0" alt="OpenGL Logo"></a>
|
height="35" border="0" alt="OpenGL Logo"></a>
|
||||||
<a href="http://sourceforge.net"> <img
|
<a href="http://sourceforge.net"> <img
|
||||||
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
||||||
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--- <tr><td align="center"><a
|
<!--- <tr><td align="center"><a
|
||||||
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
||||||
src="http://images.sourceforge.net/images/project-support.jpg"
|
src="http://images.sourceforge.net/images/project-support.jpg"
|
||||||
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td bgcolor="#ffffff" align="left" valign="top">
|
<td bgcolor="#ffffff" align="left" valign="top">
|
||||||
|
|
||||||
<h1>The OpenGL Extension Wrangler Library</h1>
|
<h1>The OpenGL Extension Wrangler Library</h1>
|
||||||
|
|
||||||
<!-- end header.html -->
|
<!-- end header.html -->
|
||||||
|
|
||||||
|
|
||||||
<h2>Installation</h2>
|
<h2>Installation</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
To use the shared library version of GLEW, you need to copy the
|
To use the shared library version of GLEW, you need to copy the
|
||||||
headers and libraries into their destination directories. On Windows
|
headers and libraries into their destination directories. On Windows
|
||||||
this typically boils down to copying:
|
this typically boils down to copying:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0" align="center"> <!-- bgcolor="#f0f0f0" -->
|
<table border="0" cellpadding="0" cellspacing="0" align="center"> <!-- bgcolor="#f0f0f0" -->
|
||||||
<tr><td align="left"><tt>bin/glew32.dll</tt></td><td> to </td>
|
<tr><td align="left"><tt>bin/glew32.dll</tt></td><td> to </td>
|
||||||
<td align="left"><tt>%SystemRoot%/system32</tt></td></tr>
|
<td align="left"><tt>%SystemRoot%/system32</tt></td></tr>
|
||||||
<tr><td align="left"><tt>lib/glew32.lib</tt></td><td> to </td>
|
<tr><td align="left"><tt>lib/glew32.lib</tt></td><td> to </td>
|
||||||
<td align="left"><tt>{VC Root}/Lib</tt></td></tr>
|
<td align="left"><tt>{VC Root}/Lib</tt></td></tr>
|
||||||
<tr><td align="left"><tt>include/GL/glew.h</tt></td><td> to </td>
|
<tr><td align="left"><tt>include/GL/glew.h</tt></td><td> to </td>
|
||||||
<td align="left"><tt>{VC Root}/Include/GL</tt></td></tr>
|
<td align="left"><tt>{VC Root}/Include/GL</tt></td></tr>
|
||||||
<tr><td align="left"><tt>include/GL/wglew.h</tt></td><td> to </td>
|
<tr><td align="left"><tt>include/GL/wglew.h</tt></td><td> to </td>
|
||||||
<td align="left"><tt>{VC Root}/Include/GL</tt></td></tr>
|
<td align="left"><tt>{VC Root}/Include/GL</tt></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<p>
|
<p>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
where <tt>{VC Root}</tt> is the Visual C++ root directory, typically
|
where <tt>{VC Root}</tt> is the Visual C++ root directory, typically
|
||||||
<tt>C:/Program Files/Microsoft Visual Studio/VC98</tt> for Visual
|
<tt>C:/Program Files/Microsoft Visual Studio/VC98</tt> for Visual
|
||||||
Studio 6.0 or <tt>C:/Program Files/Microsoft Visual
|
Studio 6.0 or <tt>C:/Program Files/Microsoft Visual
|
||||||
Studio .NET 2003/Vc7/PlatformSDK</tt> for Visual Studio .NET.
|
Studio .NET 2003/Vc7/PlatformSDK</tt> for Visual Studio .NET.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
On Unix, typing <tt>make install</tt> will attempt to install GLEW
|
On Unix, typing <tt>make install</tt> will attempt to install GLEW
|
||||||
into <tt>/usr/include/GL</tt> and <tt>/usr/lib</tt>. You can
|
into <tt>/usr/include/GL</tt> and <tt>/usr/lib</tt>. You can
|
||||||
customize the installation target via the <tt>GLEW_DEST</tt>
|
customize the installation target via the <tt>GLEW_DEST</tt>
|
||||||
environment variable if you do not have write access to these
|
environment variable if you do not have write access to these
|
||||||
directories.
|
directories.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Building Your Project with GLEW</h2>
|
<h2>Building Your Project with GLEW</h2>
|
||||||
<p>
|
<p>
|
||||||
There are two ways to build your project with GLEW.
|
There are two ways to build your project with GLEW.
|
||||||
</p>
|
</p>
|
||||||
<h3>Including the source files / project file</h3>
|
<h3>Including the source files / project file</h3>
|
||||||
<p>
|
<p>
|
||||||
The simpler but less flexible way is to include <tt>glew.h</tt> and
|
The simpler but less flexible way is to include <tt>glew.h</tt> and
|
||||||
<tt>glew.c</tt> into your project. On Windows, you also need to
|
<tt>glew.c</tt> into your project. On Windows, you also need to
|
||||||
define the <tt>GLEW_STATIC</tt> preprocessor token when building a
|
define the <tt>GLEW_STATIC</tt> preprocessor token when building a
|
||||||
static library or executable, and the <tt>GLEW_BUILD</tt> preprocessor
|
static library or executable, and the <tt>GLEW_BUILD</tt> preprocessor
|
||||||
token when building a dll. You also need to replace
|
token when building a dll. You also need to replace
|
||||||
<tt><GL/gl.h></tt> and <tt><GL/glu.h></tt> with
|
<tt><GL/gl.h></tt> and <tt><GL/glu.h></tt> with
|
||||||
<tt><glew.h></tt> in your code and set the appropriate include
|
<tt><glew.h></tt> in your code and set the appropriate include
|
||||||
flag (<tt>-I</tt>) to tell the compiler where to look for it. For
|
flag (<tt>-I</tt>) to tell the compiler where to look for it. For
|
||||||
example:
|
example:
|
||||||
</p>
|
</p>
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
#include <glew.h><br>
|
#include <glew.h><br>
|
||||||
#include <GL/glut.h><br>
|
#include <GL/glut.h><br>
|
||||||
<gl, glu, and glut functionality is available here><br>
|
<gl, glu, and glut functionality is available here><br>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Depending on where you put <tt>glew.h</tt> you may also need to change
|
Depending on where you put <tt>glew.h</tt> you may also need to change
|
||||||
the include directives in <tt>glew.c</tt>. Note that if you are using
|
the include directives in <tt>glew.c</tt>. Note that if you are using
|
||||||
GLEW together with GLUT, you have to include <tt>glew.h</tt> first.
|
GLEW together with GLUT, you have to include <tt>glew.h</tt> first.
|
||||||
In addition, <tt>glew.h</tt> includes <tt>glu.h</tt>, so you do not
|
In addition, <tt>glew.h</tt> includes <tt>glu.h</tt>, so you do not
|
||||||
need to include it separately.
|
need to include it separately.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
On Windows, you also have the option of adding the supplied project
|
On Windows, you also have the option of adding the supplied project
|
||||||
file <tt>glew_static.dsp</tt> to your workspace (solution) and compile
|
file <tt>glew_static.dsp</tt> to your workspace (solution) and compile
|
||||||
it together with your other projects. In this case you also need to
|
it together with your other projects. In this case you also need to
|
||||||
change the <tt>GLEW_BUILD</tt> preprocessor constant to
|
change the <tt>GLEW_BUILD</tt> preprocessor constant to
|
||||||
<tt>GLEW_STATIC</tt> when building a static library or executable,
|
<tt>GLEW_STATIC</tt> when building a static library or executable,
|
||||||
otherwise you get build errors.
|
otherwise you get build errors.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<b>Note that GLEW does not use the C
|
<b>Note that GLEW does not use the C
|
||||||
runtime library, so it does not matter which version (single-threaded,
|
runtime library, so it does not matter which version (single-threaded,
|
||||||
multi-threaded or multi-threaded DLL) it is linked with (without
|
multi-threaded or multi-threaded DLL) it is linked with (without
|
||||||
debugging information). It is, however, always a good idea to compile all
|
debugging information). It is, however, always a good idea to compile all
|
||||||
your projects including GLEW with the same C runtime settings.</b>
|
your projects including GLEW with the same C runtime settings.</b>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>Using GLEW as a shared library</h3>
|
<h3>Using GLEW as a shared library</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Alternatively, you can use the provided project files / makefile to
|
Alternatively, you can use the provided project files / makefile to
|
||||||
build a separate shared library you can link your projects with later.
|
build a separate shared library you can link your projects with later.
|
||||||
In this case the best practice is to install <tt>glew.h</tt>,
|
In this case the best practice is to install <tt>glew.h</tt>,
|
||||||
<tt>glew32.lib</tt>, and <tt>glew32.dll</tt> / <tt>libGLEW.so</tt> to
|
<tt>glew32.lib</tt>, and <tt>glew32.dll</tt> / <tt>libGLEW.so</tt> to
|
||||||
where the OpenGL equivalents <tt>gl.h</tt>, <tt>opengl32.lib</tt>, and
|
where the OpenGL equivalents <tt>gl.h</tt>, <tt>opengl32.lib</tt>, and
|
||||||
<tt>opengl32.dll</tt> / <tt>libGL.so</tt> are located. Note that you
|
<tt>opengl32.dll</tt> / <tt>libGL.so</tt> are located. Note that you
|
||||||
need administrative privileges to do this. If you do not have
|
need administrative privileges to do this. If you do not have
|
||||||
administrator access and your system administrator will not do it for
|
administrator access and your system administrator will not do it for
|
||||||
you, you can install GLEW into your own lib and include subdirectories
|
you, you can install GLEW into your own lib and include subdirectories
|
||||||
and tell the compiler where to find it. Then you can just replace
|
and tell the compiler where to find it. Then you can just replace
|
||||||
<tt><GL/gl.h></tt> with <tt><GL/glew.h></tt> in your
|
<tt><GL/gl.h></tt> with <tt><GL/glew.h></tt> in your
|
||||||
program:
|
program:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
#include <GL/glew.h><br>
|
#include <GL/glew.h><br>
|
||||||
#include <GL/glut.h><br>
|
#include <GL/glut.h><br>
|
||||||
<gl, glu, and glut functionality is available here><br>
|
<gl, glu, and glut functionality is available here><br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
or:
|
or:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="pre">
|
<p class="pre">
|
||||||
#include <GL/glew.h><br>
|
#include <GL/glew.h><br>
|
||||||
<gl and glu functionality is available here><br>
|
<gl and glu functionality is available here><br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Remember to link your project with <tt>glew32.lib</tt>,
|
Remember to link your project with <tt>glew32.lib</tt>,
|
||||||
<tt>glu32.lib</tt>, and <tt>opengl32.lib</tt> on Windows and
|
<tt>glu32.lib</tt>, and <tt>opengl32.lib</tt> on Windows and
|
||||||
<tt>libGLEW.so</tt>, <tt>libGLU.so</tt>, and <tt>libGL.so</tt> on
|
<tt>libGLEW.so</tt>, <tt>libGLU.so</tt>, and <tt>libGL.so</tt> on
|
||||||
Unix (<tt>-lGLEW -lGLU -lGL</tt>).
|
Unix (<tt>-lGLEW -lGLU -lGL</tt>).
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
It is important to keep in mind that <tt>glew.h</tt> includes neither
|
It is important to keep in mind that <tt>glew.h</tt> includes neither
|
||||||
<tt>windows.h</tt> nor <tt>gl.h</tt>. Also, GLEW will warn you by
|
<tt>windows.h</tt> nor <tt>gl.h</tt>. Also, GLEW will warn you by
|
||||||
issuing a preprocessor error in case you have included <tt>gl.h</tt>,
|
issuing a preprocessor error in case you have included <tt>gl.h</tt>,
|
||||||
<tt>glext.h</tt>, or <tt>glATI.h</tt> before <tt>glew.h</tt>.
|
<tt>glext.h</tt>, or <tt>glATI.h</tt> before <tt>glew.h</tt>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<!-- begin footer.html -->
|
<!-- begin footer.html -->
|
||||||
</td></tr></table></body>
|
</td></tr></table></body>
|
||||||
<!-- end footer.html -->
|
<!-- end footer.html -->
|
||||||
|
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
Copyright (c) 2007 The Khronos Group Inc.
|
Copyright (c) 2007 The Khronos Group Inc.
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
copy of this software and/or associated documentation files (the
|
copy of this software and/or associated documentation files (the
|
||||||
"Materials"), to deal in the Materials without restriction, including
|
"Materials"), to deal in the Materials without restriction, including
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
distribute, sublicense, and/or sell copies of the Materials, and to
|
distribute, sublicense, and/or sell copies of the Materials, and to
|
||||||
permit persons to whom the Materials are furnished to do so, subject to
|
permit persons to whom the Materials are furnished to do so, subject to
|
||||||
the following conditions:
|
the following conditions:
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included
|
The above copyright notice and this permission notice shall be included
|
||||||
in all copies or substantial portions of the Materials.
|
in all copies or substantial portions of the Materials.
|
||||||
|
|
||||||
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
||||||
|
1434
doc/log.html
1434
doc/log.html
File diff suppressed because it is too large
Load Diff
42
doc/mesa.txt
42
doc/mesa.txt
@ -1,21 +1,21 @@
|
|||||||
Mesa 3-D graphics library
|
Mesa 3-D graphics library
|
||||||
Version: 7.0
|
Version: 7.0
|
||||||
|
|
||||||
Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
|
Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
copy of this software and associated documentation files (the "Software"),
|
copy of this software and associated documentation files (the "Software"),
|
||||||
to deal in the Software without restriction, including without limitation
|
to deal in the Software without restriction, including without limitation
|
||||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
and/or sell copies of the Software, and to permit persons to whom the
|
and/or sell copies of the Software, and to permit persons to whom the
|
||||||
Software is furnished to do so, subject to the following conditions:
|
Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included
|
The above copyright notice and this permission notice shall be included
|
||||||
in all copies or substantial portions of the Software.
|
in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
313
doc/wglew.html
313
doc/wglew.html
@ -1,156 +1,157 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions are met:
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
this list of conditions and the following disclaimer.
|
this list of conditions and the following disclaimer.
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
this list of conditions and the following disclaimer in the documentation
|
this list of conditions and the following disclaimer in the documentation
|
||||||
and/or other materials provided with the distribution.
|
and/or other materials provided with the distribution.
|
||||||
* The name of the author may be used to endorse or promote products
|
* The name of the author may be used to endorse or promote products
|
||||||
derived from this software without specific prior written permission.
|
derived from this software without specific prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
THE POSSIBILITY OF SUCH DAMAGE.
|
THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
-->
|
-->
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
||||||
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
<!-- <img src="new.png" height="12" alt="NEW!"> -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<link href="glew.css" type="text/css" rel="stylesheet">
|
<link href="glew.css" type="text/css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="#fff0d0">
|
<body bgcolor="#fff0d0">
|
||||||
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">1.5.4</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/">1.5.5</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
||||||
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
||||||
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
||||||
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
<tr><td align="center"><a href="basic.html">Basic Usage</a></td></tr>
|
||||||
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
<tr><td align="center"><a href="advanced.html">Advanced Usage</a></td></tr>
|
||||||
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
<tr><td align="center"><a href="credits.html">Credits & Copyright</a></td></tr>
|
||||||
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
<tr><td align="center"><a href="log.html">Change Log</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/projects/glew/">Project Page</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/mail/?group_id=67586">Mailing Lists</a></td></tr>
|
||||||
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
<tr><td align="center"><a href="http://sourceforge.net/tracker/?group_id=67586">Bug Tracker</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td valign="bottom">
|
<td valign="bottom">
|
||||||
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Last Update: 04-21-10</i></td></tr>
|
<tr><td align="center"><i>Last Update: 07-13-10</i></td></tr>
|
||||||
<tr><td align="center">
|
<tr><td align="center">
|
||||||
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
<a href="http://www.opengl.org"> <img src="./ogl_sm.jpg" width="68"
|
||||||
height="35" border="0" alt="OpenGL Logo"></a>
|
height="35" border="0" alt="OpenGL Logo"></a>
|
||||||
<a href="http://sourceforge.net"> <img
|
<a href="http://sourceforge.net"> <img
|
||||||
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
src="http://sourceforge.net/sflogo.php?group_id=67586&type=1"
|
||||||
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--- <tr><td align="center"><a
|
<!--- <tr><td align="center"><a
|
||||||
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
href="http://sourceforge.net/donate/index.php?group_id=67586"><img
|
||||||
src="http://images.sourceforge.net/images/project-support.jpg"
|
src="http://images.sourceforge.net/images/project-support.jpg"
|
||||||
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
width="88" height="32" border="0" alt="Support This Project"></a></td></tr> -->
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td bgcolor="#ffffff" align="left" valign="top">
|
<td bgcolor="#ffffff" align="left" valign="top">
|
||||||
|
|
||||||
<h1>The OpenGL Extension Wrangler Library</h1>
|
<h1>The OpenGL Extension Wrangler Library</h1>
|
||||||
|
|
||||||
<!-- end header.html -->
|
<!-- end header.html -->
|
||||||
|
|
||||||
|
|
||||||
<h2>Supported WGL Extensions</h2>
|
<h2>Supported WGL Extensions</h2>
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="1" cellspacing="0" align="center">
|
<table border="0" width="100%" cellpadding="1" cellspacing="0" align="center">
|
||||||
<tr><td class="num">1</td><td> </td><td><a href="http://www.opengl.org/registry/specs/3DFX/3dfx_multisample.txt">3DFX_multisample</a></td></tr>
|
<tr><td class="num">1</td><td> </td><td><a href="http://www.opengl.org/registry/specs/3DFX/3dfx_multisample.txt">3DFX_multisample</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">2</td><td> </td><td><a href="http://www.opengl.org/registry/specs/3DL/stereo_control.txt">3DL_stereo_control</a></td></tr>
|
<tr><td class="num">2</td><td> </td><td><a href="http://www.opengl.org/registry/specs/3DL/stereo_control.txt">3DL_stereo_control</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">3</td><td> </td><td><a href="http://www.opengl.org/registry/specs/AMD/wgl_gpu_association.txt">AMD_gpu_association</a></td></tr>
|
<tr><td class="num">3</td><td> </td><td><a href="http://www.opengl.org/registry/specs/AMD/wgl_gpu_association.txt">AMD_gpu_association</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">4</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_buffer_region.txt">ARB_buffer_region</a></td></tr>
|
<tr><td class="num">4</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_buffer_region.txt">ARB_buffer_region</a></td></tr>
|
||||||
<tr><td class="num">5</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt">ARB_create_context</a></td></tr>
|
<tr><td class="num">5</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt">ARB_create_context</a></td></tr>
|
||||||
<tr><td class="num">6</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt">ARB_create_context_profile</a></td></tr>
|
<tr><td class="num">6</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt">ARB_create_context_profile</a></td></tr>
|
||||||
<tr><td class="num">7</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_extensions_string.txt">ARB_extensions_string</a></td></tr>
|
<tr><td class="num">7</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_extensions_string.txt">ARB_extensions_string</a></td></tr>
|
||||||
<tr><td class="num">8</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt">ARB_framebuffer_sRGB</a></td></tr>
|
<tr><td class="num">8</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt">ARB_framebuffer_sRGB</a></td></tr>
|
||||||
<tr><td class="num">9</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_make_current_read.txt">ARB_make_current_read</a></td></tr>
|
<tr><td class="num">9</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_make_current_read.txt">ARB_make_current_read</a></td></tr>
|
||||||
<tr><td class="num">10</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/multisample.txt">ARB_multisample</a></td></tr>
|
<tr><td class="num">10</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/multisample.txt">ARB_multisample</a></td></tr>
|
||||||
<tr><td class="num">11</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_pbuffer.txt">ARB_pbuffer</a></td></tr>
|
<tr><td class="num">11</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_pbuffer.txt">ARB_pbuffer</a></td></tr>
|
||||||
<tr><td class="num">12</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_pixel_format.txt">ARB_pixel_format</a></td></tr>
|
<tr><td class="num">12</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_pixel_format.txt">ARB_pixel_format</a></td></tr>
|
||||||
<tr><td class="num">13</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt">ARB_pixel_format_float</a></td></tr>
|
<tr><td class="num">13</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt">ARB_pixel_format_float</a></td></tr>
|
||||||
<tr><td class="num">14</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_render_texture.txt">ARB_render_texture</a></td></tr>
|
<tr><td class="num">14</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ARB/wgl_render_texture.txt">ARB_render_texture</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">15</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ATI/pixel_format_float.txt">ATI_pixel_format_float</a></td></tr>
|
<tr><td class="num">15</td><td> </td><td><a href="http://www.opengl.org/registry/specs/ATI/pixel_format_float.txt">ATI_pixel_format_float</a></td></tr>
|
||||||
<tr><td class="num">16</td><td> </td><td>ATI_render_texture_rectangle</td></tr>
|
<tr><td class="num">16</td><td> </td><td>ATI_render_texture_rectangle</td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">17</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_depth_float.txt">EXT_depth_float</a></td></tr>
|
<tr><td class="num">17</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_depth_float.txt">EXT_depth_float</a></td></tr>
|
||||||
<tr><td class="num">18</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_display_color_table.txt">EXT_display_color_table</a></td></tr>
|
<tr><td class="num">18</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_display_color_table.txt">EXT_display_color_table</a></td></tr>
|
||||||
<tr><td class="num">19</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_extensions_string.txt">EXT_extensions_string</a></td></tr>
|
<tr><td class="num">19</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_extensions_string.txt">EXT_extensions_string</a></td></tr>
|
||||||
<tr><td class="num">20</td><td> </td><td><a href="http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt">EXT_framebuffer_sRGB</a></td></tr>
|
<tr><td class="num">20</td><td> </td><td><a href="http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt">EXT_framebuffer_sRGB</a></td></tr>
|
||||||
<tr><td class="num">21</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_make_current_read.txt">EXT_make_current_read</a></td></tr>
|
<tr><td class="num">21</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_make_current_read.txt">EXT_make_current_read</a></td></tr>
|
||||||
<tr><td class="num">22</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_multisample.txt">EXT_multisample</a></td></tr>
|
<tr><td class="num">22</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_multisample.txt">EXT_multisample</a></td></tr>
|
||||||
<tr><td class="num">23</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_pbuffer.txt">EXT_pbuffer</a></td></tr>
|
<tr><td class="num">23</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_pbuffer.txt">EXT_pbuffer</a></td></tr>
|
||||||
<tr><td class="num">24</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_pixel_format.txt">EXT_pixel_format</a></td></tr>
|
<tr><td class="num">24</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_pixel_format.txt">EXT_pixel_format</a></td></tr>
|
||||||
<tr><td class="num">25</td><td> </td><td><a href="http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt">EXT_pixel_format_packed_float</a></td></tr>
|
<tr><td class="num">25</td><td> </td><td><a href="http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt">EXT_pixel_format_packed_float</a></td></tr>
|
||||||
<tr><td class="num">26</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_swap_control.txt">EXT_swap_control</a></td></tr>
|
<tr><td class="num">26</td><td> </td><td><a href="http://www.opengl.org/registry/specs/EXT/wgl_swap_control.txt">EXT_swap_control</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">27</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_digital_video_control.txt">I3D_digital_video_control</a></td></tr>
|
<tr><td class="num">27</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_digital_video_control.txt">I3D_digital_video_control</a></td></tr>
|
||||||
<tr><td class="num">28</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_gamma.txt">I3D_gamma</a></td></tr>
|
<tr><td class="num">28</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_gamma.txt">I3D_gamma</a></td></tr>
|
||||||
<tr><td class="num">29</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_genlock.txt">I3D_genlock</a></td></tr>
|
<tr><td class="num">29</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_genlock.txt">I3D_genlock</a></td></tr>
|
||||||
<tr><td class="num">30</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_image_buffer.txt">I3D_image_buffer</a></td></tr>
|
<tr><td class="num">30</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_image_buffer.txt">I3D_image_buffer</a></td></tr>
|
||||||
<tr><td class="num">31</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_swap_frame_lock.txt">I3D_swap_frame_lock</a></td></tr>
|
<tr><td class="num">31</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_swap_frame_lock.txt">I3D_swap_frame_lock</a></td></tr>
|
||||||
<tr><td class="num">32</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_swap_frame_usage.txt">I3D_swap_frame_usage</a></td></tr>
|
<tr><td class="num">32</td><td> </td><td><a href="http://www.opengl.org/registry/specs/I3D/wgl_swap_frame_usage.txt">I3D_swap_frame_usage</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">33</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/copy_image.txt">NV_copy_image</a></td></tr>
|
<tr><td class="num">33</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/copy_image.txt">NV_copy_image</a></td></tr>
|
||||||
<tr><td class="num">34</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/float_buffer.txt">NV_float_buffer</a></td></tr>
|
<tr><td class="num">34</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/float_buffer.txt">NV_float_buffer</a></td></tr>
|
||||||
<tr><td class="num">35</td><td> </td><td><a href="http://developer.download.nvidia.com/opengl/specs/WGL_nv_gpu_affinity.txt">NV_gpu_affinity</a></td></tr>
|
<tr><td class="num">35</td><td> </td><td><a href="http://developer.download.nvidia.com/opengl/specs/WGL_nv_gpu_affinity.txt">NV_gpu_affinity</a></td></tr>
|
||||||
<tr><td class="num">36</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/present_video.txt">NV_present_video</a></td></tr>
|
<tr><td class="num">36</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/multisample_coverage.txt">NV_multisample_coverage</a></td></tr>
|
||||||
<tr><td class="num">37</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/render_depth_texture.txt">NV_render_depth_texture</a></td></tr>
|
<tr><td class="num">37</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/present_video.txt">NV_present_video</a></td></tr>
|
||||||
<tr><td class="num">38</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/render_texture_rectangle.txt">NV_render_texture_rectangle</a></td></tr>
|
<tr><td class="num">38</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/render_depth_texture.txt">NV_render_depth_texture</a></td></tr>
|
||||||
<tr><td class="num">39</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/wgl_swap_group.txt">NV_swap_group</a></td></tr>
|
<tr><td class="num">39</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/render_texture_rectangle.txt">NV_render_texture_rectangle</a></td></tr>
|
||||||
<tr><td class="num">40</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt">NV_vertex_array_range</a></td></tr>
|
<tr><td class="num">40</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/wgl_swap_group.txt">NV_swap_group</a></td></tr>
|
||||||
<tr><td class="num">41</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/wgl_video_out.txt">NV_video_output</a></td></tr>
|
<tr><td class="num">41</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt">NV_vertex_array_range</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td class="num">42</td><td> </td><td><a href="http://www.opengl.org/registry/specs/NV/wgl_video_out.txt">NV_video_output</a></td></tr>
|
||||||
<tr><td class="num">42</td><td> </td><td><a href="http://www.opengl.org/registry/specs/OML/wgl_sync_control.txt">OML_sync_control</a></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
</table>
|
<tr><td class="num">43</td><td> </td><td><a href="http://www.opengl.org/registry/specs/OML/wgl_sync_control.txt">OML_sync_control</a></td></tr>
|
||||||
<!-- begin footer.html -->
|
</table>
|
||||||
</td></tr></table></body>
|
<!-- begin footer.html -->
|
||||||
<!-- end footer.html -->
|
</td></tr></table></body>
|
||||||
|
<!-- end footer.html -->
|
||||||
|
|
||||||
|
29138
include/GL/glew.h
29138
include/GL/glew.h
File diff suppressed because it is too large
Load Diff
2986
include/GL/glxew.h
2986
include/GL/glxew.h
File diff suppressed because it is too large
Load Diff
2507
include/GL/wglew.h
2507
include/GL/wglew.h
File diff suppressed because it is too large
Load Diff
28919
src/glew.c
28919
src/glew.c
File diff suppressed because it is too large
Load Diff
17036
src/glewinfo.c
17036
src/glewinfo.c
File diff suppressed because it is too large
Load Diff
2346
src/visualinfo.c
2346
src/visualinfo.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user