docs: use code-block with caption instead of table
[mesa.git] / docs / license.rst
1 License and Copyright
2 =====================
3
4 Disclaimer
5 ----------
6
7 Mesa is a 3-D graphics library with an API which is very similar to that
8 of
9 `OpenGL <https://www.opengl.org/>`__\ :sup:`[`\ `1 <#trademark>`__\ :sup:`]`.
10 To the extent that Mesa utilizes the OpenGL command syntax or state
11 machine, it is being used with authorization from `Silicon Graphics,
12 Inc. <https://www.sgi.com/>`__\ (SGI). However, the author does not
13 possess an OpenGL license from SGI, and makes no claim that Mesa is in
14 any way a compatible replacement for OpenGL or associated with SGI.
15 Those who want a licensed implementation of OpenGL should contact a
16 licensed vendor.
17
18 Please do not refer to the library as *MesaGL* (for legal reasons). It's
19 just *Mesa* or *The Mesa 3-D graphics library*.
20
21 [1]: OpenGL is a trademark of `Silicon Graphics
22 Incorporated <https://www.sgi.com/>`__.
23
24 License / Copyright Information
25 -------------------------------
26
27 The Mesa distribution consists of several components. Different
28 copyrights and licenses apply to different components. For example, the
29 GLX client code uses the SGI Free Software License B, and some of the
30 Mesa device drivers are copyrighted by their authors. See below for a
31 list of Mesa's main components and the license for each.
32
33 The core Mesa library is licensed according to the terms of the MIT
34 license. This allows integration with the XFree86, Xorg and DRI
35 projects.
36
37 The default Mesa license is as follows:
38
39 ::
40
41 Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
42
43 Permission is hereby granted, free of charge, to any person obtaining a
44 copy of this software and associated documentation files (the "Software"),
45 to deal in the Software without restriction, including without limitation
46 the rights to use, copy, modify, merge, publish, distribute, sublicense,
47 and/or sell copies of the Software, and to permit persons to whom the
48 Software is furnished to do so, subject to the following conditions:
49
50 The above copyright notice and this permission notice shall be included
51 in all copies or substantial portions of the Software.
52
53 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
54 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
55 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
56 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
57 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
58 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
59 SOFTWARE.
60
61 Attention, Contributors
62 -----------------------
63
64 When contributing to the Mesa project you must agree to the licensing
65 terms of the component to which you're contributing. The following
66 section lists the primary components of the Mesa distribution and their
67 respective licenses.
68
69 Mesa Component Licenses
70 -----------------------
71
72 ::
73
74 Component Location License
75 ------------------------------------------------------------------
76 Main Mesa code src/mesa/ MIT
77
78 Device drivers src/mesa/drivers/* MIT, generally
79
80 Gallium code src/gallium/ MIT
81
82 Ext headers include/GL/glext.h Khronos
83 include/GL/glxext.h
84
85 GLX client code src/glx/ SGI Free Software License B
86
87 C11 thread include/c11/threads*.h Boost (permissive)
88 emulation
89
90 In general, consult the source files for license terms.