1License and Copyright
2=====================
3
4Disclaimer
5----------
6
7Mesa implements various APIs, including `OpenGL`_, `OpenGL ES`_,
8`Vulkan`_ and `OpenCL`_. Even though Mesa implements these APIs, the
9implementation isn't formally conformant on all combinations of drivers
10and hardware. `Khronos`_ maintains lists of conformant implementations
11for each of their APIs, as well as `trademark details`_.
12
13Please do not refer to the library as *MesaGL* (for legal reasons). It's
14just *Mesa* or *The Mesa 3-D graphics library*.
15
16.. _OpenGL: https://www.opengl.org/
17.. _OpenGL ES: https://www.khronos.org/opengles/
18.. _Vulkan: https://www.vulkan.org/
19.. _OpenCL: https://www.khronos.org/opencl/
20.. _Khronos: https://www.khronos.org/
21.. _trademark details: https://www.khronos.org/legal/trademarks/
22
23License / Copyright Information
24-------------------------------
25
26The Mesa distribution consists of several components. Different
27copyrights and licenses apply to different components. For example, the
28GLX client code uses the SGI Free Software License B, and some of the
29Mesa device drivers are copyrighted by their authors. See below for a
30list of Mesa's main components and the license for each.
31
32The core Mesa library is licensed according to the terms of the MIT
33license. This allows integration with the XFree86, X.Org and DRI
34projects.
35
36The default Mesa license is as follows:
37
38::
39
40   Copyright (C) 1999-2007  Brian Paul   All Rights Reserved.
41
42   Permission is hereby granted, free of charge, to any person obtaining a
43   copy of this software and associated documentation files (the "Software"),
44   to deal in the Software without restriction, including without limitation
45   the rights to use, copy, modify, merge, publish, distribute, sublicense,
46   and/or sell copies of the Software, and to permit persons to whom the
47   Software is furnished to do so, subject to the following conditions:
48
49   The above copyright notice and this permission notice shall be included
50   in all copies or substantial portions of the Software.
51
52   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
53   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
54   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
55   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
56   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
57   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
58   SOFTWARE.
59
60Attention, Contributors
61-----------------------
62
63When contributing to the Mesa project you must agree to the licensing
64terms of the component to which you're contributing. The following
65section lists the primary components of the Mesa distribution and their
66respective licenses.
67
68Mesa Component Licenses
69-----------------------
70
71+-----------------+------------------------+-----------------------------+
72| Component       | Location               | License                     |
73+=================+========================+=============================+
74| Main Mesa code  | src/mesa/              | MIT                         |
75+-----------------+------------------------+-----------------------------+
76| Gallium code    | src/gallium/           | MIT                         |
77+-----------------+------------------------+-----------------------------+
78| Ext headers     | include/GL/glext.h,    | Khronos                     |
79|                 | include/GL/glxext.h    |                             |
80+-----------------+------------------------+-----------------------------+
81| GLX client code | src/glx/               | SGI Free Software License B |
82+-----------------+------------------------+-----------------------------+
83| C11 thread      | include/c11/threads*.h | Boost (permissive)          |
84| emulation       |                        |                             |
85+-----------------+------------------------+-----------------------------+
86
87In general, consult the source files for license terms.
88