summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2016-06-03 10:59:18 -0700
committerNanley Chery <nanley.g.chery@intel.com>2016-06-07 11:16:23 -0700
commitb7a0c0ec7f5626bbec4904e6754f27087120ec54 (patch)
treeeccc67ba18e543f570d421df1ee2e51021e8d6ff /docs
parent9e7de50cab78d1144f49688506353c78e1349ae3 (diff)
downloadexternal_mesa3d-b7a0c0ec7f5626bbec4904e6754f27087120ec54.zip
external_mesa3d-b7a0c0ec7f5626bbec4904e6754f27087120ec54.tar.gz
external_mesa3d-b7a0c0ec7f5626bbec4904e6754f27087120ec54.tar.bz2
docs/devinfo: Expound on helpful extension tips
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/devinfo.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/devinfo.html b/docs/devinfo.html
index f5d23ab..489d263 100644
--- a/docs/devinfo.html
+++ b/docs/devinfo.html
@@ -684,6 +684,8 @@ To add a new GL extension to Mesa you have to do at least the following.
</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.
</li>
<li>
Add a new entry to the src/mesa/main/extensions_table.h file.
@@ -698,6 +700,11 @@ To add a new GL extension to Mesa you have to do at least the following.
and attrib.c 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.
+</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'