egl/x11_dri3: implement EGL_KHR_swap_buffers_with_damage
[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 `OpenGL <https://www.opengl.org/>`_ [1]_.
9 To the extent that Mesa utilizes the OpenGL command syntax or state
10 machine, it is being used with authorization from `Silicon Graphics,
11 Inc. <https://www.sgi.com/>`__\ (SGI). However, the author does not
12 possess an OpenGL license from SGI, and makes no claim that Mesa is in
13 any way a compatible replacement for OpenGL or associated with SGI.
14 Those who want a licensed implementation of OpenGL should contact a
15 licensed vendor.
16
17 Please do not refer to the library as *MesaGL* (for legal reasons). It's
18 just *Mesa* or *The Mesa 3-D graphics library*.
19
20 .. [1] OpenGL is a trademark of `Silicon Graphics
21 Incorporated <https://www.sgi.com/>`__.
22
23 License / Copyright Information
24 -------------------------------
25
26 The Mesa distribution consists of several components. Different
27 copyrights and licenses apply to different components. For example, the
28 GLX client code uses the SGI Free Software License B, and some of the
29 Mesa device drivers are copyrighted by their authors. See below for a
30 list of Mesa's main components and the license for each.
31
32 The core Mesa library is licensed according to the terms of the MIT
33 license. This allows integration with the XFree86, Xorg and DRI
34 projects.
35
36 The 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
60 Attention, Contributors
61 -----------------------
62
63 When contributing to the Mesa project you must agree to the licensing
64 terms of the component to which you're contributing. The following
65 section lists the primary components of the Mesa distribution and their
66 respective licenses.
67
68 Mesa Component Licenses
69 -----------------------
70
71 +-----------------+------------------------+-----------------------------+
72 | Component | Location | License |
73 +=================+========================+=============================+
74 | Main Mesa code | src/mesa/ | MIT |
75 +-----------------+------------------------+-----------------------------+
76 | Device drivers | src/mesa/drivers/* | MIT, generally |
77 +-----------------+------------------------+-----------------------------+
78 | Gallium code | src/gallium/ | MIT |
79 +-----------------+------------------------+-----------------------------+
80 | Ext headers | include/GL/glext.h, | Khronos |
81 | | include/GL/glxext.h | |
82 +-----------------+------------------------+-----------------------------+
83 | GLX client code | src/glx/ | SGI Free Software License B |
84 +-----------------+------------------------+-----------------------------+
85 | C11 thread | include/c11/threads*.h | Boost (permissive) |
86 | emulation | | |
87 +-----------------+------------------------+-----------------------------+
88
89 In general, consult the source files for license terms.