1The screenshot-layer directory was created from using mesa-overlay as a template, then 2adding portions of the screenshotting layer from LunarG's VulkanTools repository: 3https://github.com/LunarG/VulkanTools/tree/main 4 5Included below is the original Apache 2.0 license included in VulkanTools. 6 7=========================================================================================== 8 9Apache License 10 11Version 2.0, January 2004 12 13http://www.apache.org/licenses/ 14 15TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 16 171. Definitions. 18 19"License" shall mean the terms and conditions for use, reproduction, and distribution as 20defined by Sections 1 through 9 of this document. 21 22"Licensor" shall mean the copyright owner or entity authorized by the copyright owner 23that is granting the License. 24 25"Legal Entity" shall mean the union of the acting entity and all other entities that 26control, are controlled by, or are under common control with that entity. For the 27purposes of this definition, "control" means (i) the power, direct or indirect, to 28cause the direction or management of such entity, whether by contract or otherwise, 29or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or 30(iii) beneficial ownership of such entity. 31 32"You" (or "Your") shall mean an individual or Legal Entity exercising permissions 33granted by this License. 34 35"Source" form shall mean the preferred form for making modifications, including but not 36limited to software source code, documentation source, and configuration files. 37 38"Object" form shall mean any form resulting from mechanical transformation or 39translation of a Source form, including but not limited to compiled object code, 40generated documentation, and conversions to other media types. 41 42"Work" shall mean the work of authorship, whether in Source or Object form, made 43available under the License, as indicated by a copyright notice that is included in or 44attached to the work (an example is provided in the Appendix below). 45 46"Derivative Works" shall mean any work, whether in Source or Object form, that is based 47on (or derived from) the Work and for which the editorial revisions, annotations, 48elaborations, or other modifications represent, as a whole, an original work of 49authorship. For the purposes of this License, Derivative Works shall not include works 50that remain separable from, or merely link (or bind by name) to the interfaces of, the 51Work and Derivative Works thereof. 52 53"Contribution" shall mean any work of authorship, including the original version of the 54Work and any modifications or additions to that Work or Derivative Works thereof, that 55is intentionally submitted to Licensor for inclusion in the Work by the copyright owner 56or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. 57For the purposes of this definition, "submitted" means any form of electronic, verbal, 58or written communication sent to the Licensor or its representatives, including but not 59limited to communication on electronic mailing lists, source code control systems, and 60issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose 61of discussing and improving the Work, but excluding communication that is conspicuously 62marked or otherwise designated in writing by the copyright owner as "Not a Contribution." 63 64"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a 65Contribution has been received by Licensor and subsequently incorporated within the Work. 66 672. Grant of Copyright License. Subject to the terms and conditions of this License, each 68Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, 69royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, 70publicly display, publicly perform, sublicense, and distribute the Work and such 71Derivative Works in Source or Object form. 72 733. Grant of Patent License. Subject to the terms and conditions of this License, each 74Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, 75royalty-free, irrevocable (except as stated in this section) patent license to make, 76have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such 77license applies only to those patent claims licensable by such Contributor that are 78necessarily infringed by their Contribution(s) alone or by combination of their 79Contribution(s) with the Work to which such Contribution(s) was submitted. If You 80institute patent litigation against any entity (including a cross-claim or counterclaim 81in a lawsuit) alleging that the Work or a Contribution incorporated within the Work 82constitutes direct or contributory patent infringement, then any patent licenses granted 83to You under this License for that Work shall terminate as of the date such litigation 84is filed. 85 864. Redistribution. You may reproduce and distribute copies of the Work or Derivative 87Works thereof in any medium, with or without modifications, and in Source or Object form, 88provided that You meet the following conditions: 89 90You must give any other recipients of the Work or Derivative Works a copy of this 91License; and 92You must cause any modified files to carry prominent notices stating that You changed 93the files; and 94You must retain, in the Source form of any Derivative Works that You distribute, all 95copyright, patent, trademark, and attribution notices from the Source form of the Work, 96excluding those notices that do not pertain to any part of the Derivative Works; and 97If the Work includes a "NOTICE" text file as part of its distribution, then any 98Derivative Works that You distribute must include a readable copy of the attribution 99notices contained within such NOTICE file, excluding those notices that do not pertain 100to any part of the Derivative Works, in at least one of the following places: within a 101NOTICE text file distributed as part of the Derivative Works; within the Source form or 102documentation, if provided along with the Derivative Works; or, within a display 103generated by the Derivative Works, if and wherever such third-party notices normally 104appear. The contents of the NOTICE file are for informational purposes only and do not 105modify the License. You may add Your own attribution notices within Derivative Works 106that You distribute, alongside or as an addendum to the NOTICE text from the Work, 107provided that such additional attribution notices cannot be construed as modifying 108the License. 109 110You may add Your own copyright statement to Your modifications and may provide 111additional or different license terms and conditions for use, reproduction, or 112distribution of Your modifications, or for any such Derivative Works as a whole, 113provided Your use, reproduction, and distribution of the Work otherwise complies with 114the conditions stated in this License. 115 1165. Submission of Contributions. Unless You explicitly state otherwise, any Contribution 117intentionally submitted for inclusion in the Work by You to the Licensor shall be under 118the terms and conditions of this License, without any additional terms or conditions. 119Notwithstanding the above, nothing herein shall supersede or modify the terms of any 120separate license agreement you may have executed with Licensor regarding such 121Contributions. 122 1236. Trademarks. This License does not grant permission to use the trade names, 124trademarks, service marks, or product names of the Licensor, except as required for 125reasonable and customary use in describing the origin of the Work and reproducing the 126content of the NOTICE file. 127 1287. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, 129Licensor provides the Work (and each Contributor provides its Contributions) on an 130"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, 131 including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, 132 MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for 133 determining the appropriateness of using or redistributing the Work and assume any 134 risks associated with Your exercise of permissions under this License. 135 1368. Limitation of Liability. In no event and under no legal theory, whether in tort 137(including negligence), contract, or otherwise, unless required by applicable law (such 138as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor 139be liable to You for damages, including any direct, indirect, special, incidental, or 140consequential damages of any character arising as a result of this License or out of the 141use or inability to use the Work (including but not limited to damages for loss of 142goodwill, work stoppage, computer failure or malfunction, or any and all other 143commercial damages or losses), even if such Contributor has been advised of the 144possibility of such damages. 145 1469. Accepting Warranty or Additional Liability. While redistributing the Work or 147Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of 148support, warranty, indemnity, or other liability obligations and/or rights consistent 149with this License. However, in accepting such obligations, You may act only on Your own 150behalf and on Your sole responsibility, not on behalf of any other Contributor, and only 151if You agree to indemnify, defend, and hold each Contributor harmless for any liability 152incurred by, or claims asserted against, such Contributor by reason of your accepting 153any such warranty or additional liability. 154 155END OF TERMS AND CONDITIONS 156 157APPENDIX: HOW TO APPLY THE APACHE LICENSE TO YOUR WORK 158To apply the Apache License to your work, attach the following boilerplate notice, with 159the fields enclosed by brackets "[]" replaced with your own identifying information. 160(Don't include the brackets!) The text should be enclosed in the appropriate comment 161syntax for the file format. We also recommend that a file or class name and description 162of purpose be included on the same "printed page" as the copyright notice for easier 163identification within third-party archives. 164 165Copyright [yyyy] [name of copyright owner] 166 167Licensed under the Apache License, Version 2.0 (the "License"); 168you may not use this file except in compliance with the License. 169You may obtain a copy of the License at 170 171 http://www.apache.org/licenses/LICENSE-2.0 172 173Unless required by applicable law or agreed to in writing, software 174distributed under the License is distributed on an "AS IS" BASIS, 175WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 176See the License for the specific language governing permissions and 177limitations under the License. 178 179