android: radeonsi/gfx10: generate gfx10_format_table.h (v2)
[mesa.git] / docs / devinfo.html
index c6e97c68a62e5126ef9b11d14190eeee6b573bf3..0f1d5ac612b6698f53d05d60fc782cb3e0aa3691 100644 (file)
@@ -8,7 +8,7 @@
 <body>
 
 <div class="header">
-  <h1>The Mesa 3D Graphics Library</h1>
+  The Mesa 3D Graphics Library
 </div>
 
 <iframe src="contents.html"></iframe>
 
 <p>
 To add a new GL extension to Mesa you have to do at least the following.
+</p>
 
 <ul>
 <li>
-   If glext.h doesn't define the extension, edit include/GL/gl.h and add
-   code like this:
+   If <code>glext.h</code> doesn't define the extension, edit
+   <code>include/GL/gl.h</code> and add code like this:
    <pre>
      #ifndef GL_EXT_the_extension_name
      #define GL_EXT_the_extension_name 1
@@ -40,18 +41,18 @@ To add a new GL extension to Mesa you have to do at least the following.
    </pre>
 </li>
 <li>
-   In the src/mapi/glapi/gen/ directory, add the new extension functions and
-   enums to the gl_API.xml file.
+   In the <code>src/mapi/glapi/gen/</code> directory, add the new extension
+   functions and enums to the <code>gl_API.xml</code> file.
    Then, a bunch of source files must be regenerated by executing the
    corresponding Python scripts.
 </li>
 <li>
-   Add a new entry to the <code>gl_extensions</code> struct in mtypes.h
-   if the extension requires driver capabilities not already exposed by
-   another extension.
+   Add a new entry to the <code>gl_extensions</code> struct in
+   <code>mtypes.h</code> if the extension requires driver capabilities not
+   already exposed by another extension.
 </li>
 <li>
-   Add a new entry to the src/mesa/main/extensions_table.h file.
+   Add a new entry to the <code>src/mesa/main/extensions_table.h</code> file.
 </li>
 <li>
    From this point, the best way to proceed is to find another extension,
@@ -59,21 +60,22 @@ To add a new GL extension to Mesa you have to do at least the following.
    as an example.
 </li>
 <li>
-   If the new extension adds new GL state, the functions in get.c, enable.c
-   and attrib.c will most likely require new code.
+   If the new extension adds new GL state, the functions in
+   <code>get.c</code>, <code>enable.c</code> and <code>attrib.c</code>
+   will most likely require new code.
 </li>
 <li>
    To determine if the new extension is active in the current context,
-   use the auto-generated _mesa_has_##name_str() function defined in
-   src/mesa/main/extensions.h.
+   use the auto-generated <code>_mesa_has_##name_str()</code> function
+   defined in <code>src/mesa/main/extensions.h</code>.
 </li>
 <li>
-   The dispatch tests check_table.cpp and dispatch_sanity.cpp
-   should be updated with details about the new extensions functions. These
-   tests are run using 'make check'
+   The dispatch tests <code>check_table.cpp</code> and
+   <code>dispatch_sanity.cpp</code> should be updated with details about
+   the new extensions functions. These tests are run using
+   <code>meson test</code>.
 </li>
 </ul>
-</p>