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