util/vbuf: fix multidraw unrolling
[platform/upstream/mesa.git] / docs / license.rst
1 License and Copyright
2 =====================
3
4 Disclaimer
5 ----------
6
7 Mesa implements various APIs, including `OpenGL`_, `OpenGL ES`_,
8 `Vulkan`_ and `OpenCL`_. Even though Mesa implements these APIs, the
9 implementation isn't formally conformant on all combinations of drivers
10 and hardware. `Khronos`_ maintains lists of conformant implementations
11 for each of their APIs, as well as `trademark details`_.
12
13 Please do not refer to the library as *MesaGL* (for legal reasons). It's
14 just *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
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, X.Org 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 | 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      | src/c11/impl/threads*  | Boost (permissive)          |
84 | emulation       |                        |                             |
85 +-----------------+------------------------+-----------------------------+
86
87 In general, consult the source files for license terms.