gfxstream: re-license cereal
While cereal implements an API provided by Khronos Apache 2.0 files, the files were started in AOSP, and can be relicensed to MIT. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:

committed by
Marge Bot

parent
b834e151d4
commit
13c4d98bc6
@@ -1,3 +1,6 @@
|
||||
# Copyright 2023 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
import os
|
||||
from typing import List, Set, Dict, Optional
|
||||
|
||||
|
@@ -1,2 +1,4 @@
|
||||
# Copyright 2023 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
from .vulkantypes import *
|
||||
from .codegen import *
|
||||
|
@@ -1,18 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Copyright 2023 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
from .vulkantypes import VulkanType, VulkanTypeInfo, VulkanCompoundType, VulkanAPI
|
||||
from collections import OrderedDict
|
||||
from copy import copy
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
from typing import Dict, Optional, List, Set, Union
|
||||
from xml.etree.ElementTree import Element
|
||||
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2023 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from copy import copy
|
||||
|
||||
|
@@ -1,3 +1,6 @@
|
||||
# Copyright 2023 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from .common.codegen import CodeGen, VulkanWrapperGenerator
|
||||
from .common.vulkantypes import VulkanAPI, makeVulkanTypeSimple, iterateVulkanType, VulkanTypeInfo,\
|
||||
VulkanType
|
||||
|
@@ -1,3 +1,6 @@
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from .common.codegen import CodeGen, VulkanWrapperGenerator, VulkanAPIWrapper
|
||||
from .common.vulkantypes import \
|
||||
VulkanAPI, makeVulkanTypeSimple, iterateVulkanType, DISPATCHABLE_HANDLE_TYPES, NON_DISPATCHABLE_HANDLE_TYPES
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from .common.codegen import CodeGen
|
||||
from .common.vulkantypes import \
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from .common.codegen import CodeGen
|
||||
from .common.vulkantypes import \
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
import copy
|
||||
|
||||
from .common.codegen import CodeGen, VulkanWrapperGenerator
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from .common.codegen import CodeGen
|
||||
from .common.vulkantypes import \
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from .common.codegen import CodeGen, VulkanAPIWrapper
|
||||
from .common.vulkantypes import \
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from .common.codegen import CodeGen
|
||||
from .common.vulkantypes import \
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from copy import copy
|
||||
import hashlib, sys
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2021 The Android Open Source Project
|
||||
# Copyright (c) 2021 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
KNOWN_FUNCTION_OPCODES = {
|
||||
"vkCreateInstance": 20000,
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
from copy import copy
|
||||
|
||||
from .common.codegen import CodeGen, VulkanAPIWrapper
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
from .common.codegen import CodeGen, VulkanWrapperGenerator
|
||||
from .common.vulkantypes import VulkanAPI, iterateVulkanType, VulkanType
|
||||
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from copy import copy
|
||||
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from .common.codegen import CodeGen
|
||||
from .common.vulkantypes import \
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from .common.codegen import CodeGen
|
||||
from .common.vulkantypes import \
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2022 The Android Open Source Project
|
||||
# Copyright (c) 2022 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from .wrapperdefs import VulkanWrapperGenerator
|
||||
|
||||
|
@@ -1,17 +1,5 @@
|
||||
# Copyright (c) 2018 The Android Open Source Project
|
||||
# Copyright (c) 2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2018 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from .common.codegen import VulkanWrapperGenerator
|
||||
from .common.vulkantypes import makeVulkanTypeSimple
|
||||
|
@@ -1,19 +1,5 @@
|
||||
#!/usr/bin/python3 -i
|
||||
#
|
||||
# Copyright (c) 2013-2018 The Khronos Group Inc.
|
||||
# Copyright (c) 2013-2018 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# Copyright 2023 Google LLC
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
import os, re, sys
|
||||
from generator import *
|
||||
|
Reference in New Issue
Block a user