updated extension info

This commit is contained in:
Brian Paul
2006-09-21 22:53:15 +00:00
parent 60955d7f96
commit bb0862968e

View File

@@ -34,11 +34,15 @@ To add a new GL extension to Mesa you have to do at least the following.
corresponding Python scripts. corresponding Python scripts.
</li> </li>
<li> <li>
Find an existing extension that's similar to the new one and search Add a new entry to the <code>gl_extensions</code> struct in mtypes.h
the sources for code related to that extension. </li>
Implement new code as needed. <li>
In general, new state variables will be added to mtypes.h. If the Update the <code>extensions.c</code> file.
extension is rather large, try to implement it in a new source file. </li>
<li>
From this point, the best way to proceed is to find another extension,
similar to the new one, that's already implemented in Mesa and use it
as an example.
</li> </li>
<li> <li>
If the new extension adds new GL state, the functions in get.c, enable.c If the new extension adds new GL state, the functions in get.c, enable.c