mesa: standardize naming Mesa3D, MESA -> Mesa

Signed-off-by: Vedran Miletić <vedran@miletic.net>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
diff --git a/docs/xlibdriver.html b/docs/xlibdriver.html
index d3d8ab4..fc8c201 100644
--- a/docs/xlibdriver.html
+++ b/docs/xlibdriver.html
@@ -199,7 +199,7 @@
 
 <h2>Extensions</h2>
 <p>
-The following MESA-specific extensions are implemented in the Xlib driver.
+The following Mesa-specific extensions are implemented in the Xlib driver.
 </p>
 
 <h3>GLX_MESA_pixmap_colormap</h3>
diff --git a/src/gallium/docs/source/drivers/openswr/faq.rst b/src/gallium/docs/source/drivers/openswr/faq.rst
index 596d77f..1d058f9 100644
--- a/src/gallium/docs/source/drivers/openswr/faq.rst
+++ b/src/gallium/docs/source/drivers/openswr/faq.rst
@@ -5,7 +5,7 @@
 --------------------------------
 
 Good question, given there are already three (swrast, softpipe,
-llvmpipe) in the Mesa3D tree. Two important reasons for this:
+llvmpipe) in the Mesa tree. Two important reasons for this:
 
  * Architecture - given our focus on scientific visualization, our
    workloads are much different than the typical game; we have heavy
@@ -16,7 +16,7 @@
  * Historical - Intel had developed a high performance software
    graphics stack for internal purposes.  Later we adapted this
    graphics stack for use in visualization and decided to move forward
-   with Mesa3D to provide a high quality API layer while at the same
+   with Mesa to provide a high quality API layer while at the same
    time benefiting from the excellent performance the software
    rasterizerizer gives us.
 
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index 2524e42..8655814 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -278,7 +278,7 @@
     *
     * See also:
     * - Direct3D's D3DLOCK_DONOTWAIT flag.
-    * - Mesa3D's MESA_MAP_NOWAIT_BIT flag.
+    * - Mesa's MESA_MAP_NOWAIT_BIT flag.
     * - WDDM's D3DDDICB_LOCKFLAGS.DonotWait flag.
     */
    PIPE_TRANSFER_DONTBLOCK = (1 << 9),
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 7138cf3..cc4416d 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -111,7 +111,7 @@
 }
 
 /**
- * Builds the MESA version string.
+ * Builds the Mesa version string.
  */
 static void
 create_version_string(struct gl_context *ctx, const char *prefix)