pyobjc-framework-Metal 9.1.1__tar.gz → 10.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyobjc-framework-Metal-10.0/Lib/Metal/__init__.py +38 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/Lib/Metal/_metadata.py +327 -128
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/Lib/pyobjc_framework_Metal.egg-info/PKG-INFO +5 -3
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/Lib/pyobjc_framework_Metal.egg-info/SOURCES.txt +4 -1
- pyobjc-framework-Metal-10.0/Lib/pyobjc_framework_Metal.egg-info/requires.txt +2 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/Modules/_Metal_inlines.m +1 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/Modules/_Metal_protocols.m +8 -6
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/Modules/pyobjc-api.h +3 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/Modules/pyobjc-compat.h +2 -269
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PKG-INFO +5 -3
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlaccelerationstructure.py +42 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlaccelerationstructuretypes.py +2 -1
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlargument.py +16 -3
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlargumentencoder.py +3 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlcomputecommandencoder.py +106 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlcomputepipeline.py +2 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtldevice.py +22 -1
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlfunctiondescriptor.py +1 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlindirectcommandbuffer.py +14 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlindirectcommandencoder.py +38 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlintersectionfunctiontable.py +2 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtllibrary.py +1 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlrendercommandencoder.py +111 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlstageinputoutputdescriptor.py +2 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtltexture.py +1 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtltypes.py +3 -1
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlvertexdescriptor.py +4 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/Metal.fwinfo +48 -14
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/raw/arm64-12.0.fwinfo +123 -123
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/raw/arm64-12.3.fwinfo +123 -123
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/raw/arm64-13.0.fwinfo +139 -139
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/raw/arm64-13.3.fwinfo +139 -139
- pyobjc-framework-Metal-10.0/metadata/raw/arm64-14.0.fwinfo +33493 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/raw/x86_64-10.15.fwinfo +95 -95
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/raw/x86_64-10.16.fwinfo +117 -117
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/raw/x86_64-12.0.fwinfo +123 -123
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/raw/x86_64-12.3.fwinfo +123 -123
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/raw/x86_64-13.0.fwinfo +139 -139
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/raw/x86_64-13.3.fwinfo +139 -139
- pyobjc-framework-Metal-10.0/metadata/raw/x86_64-14.0.fwinfo +33493 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/pyobjc_setup.py +11 -2
- pyobjc-framework-Metal-10.0/pyproject.toml +3 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/setup.py +6 -3
- pyobjc-framework-Metal-9.1.1/Lib/Metal/__init__.py +0 -30
- pyobjc-framework-Metal-9.1.1/Lib/pyobjc_framework_Metal.egg-info/requires.txt +0 -2
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/Lib/pyobjc_framework_Metal.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/Lib/pyobjc_framework_Metal.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/Lib/pyobjc_framework_Metal.egg-info/top_level.txt +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/License.txt +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/MANIFEST.in +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/Modules/_Metal.m +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/redo.txt +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_MTLIOCommandQueue.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_metal.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlaccelerationstructurecommandencoder.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlbinaryarchive.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlblitcommandencoder.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlblitpass.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlbuffer.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlcapturemanager.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlcapturescope.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlcommandbuffer.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlcommandencoder.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlcounters.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtldepthstencil.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtldrawable.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtldynamiclibrary.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlevent.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlfence.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlfunctionhandle.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlfunctionlog.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlfunctionstitching.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlheap.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtliocommandbuffer.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtliocompressor.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlparallelrendercommandencoder.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlpipeline.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlpixelformat.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlrasterizationrate.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlrenderpass.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlrenderpipeline.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlresource.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlresourcestatecommandencoder.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlresourcestatepass.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlsampler.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/PyObjCTest/test_mtlvisiblefunctiontable.py +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/metadata/metadata.ini +0 -0
- {pyobjc-framework-Metal-9.1.1 → pyobjc-framework-Metal-10.0}/setup.cfg +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the Metal framework.
|
|
3
|
+
|
|
4
|
+
This module does not contain docstrings for the wrapped code, check Apple's
|
|
5
|
+
documentation for details on how to use these functions and classes.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _setup():
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
import AppKit
|
|
13
|
+
import objc
|
|
14
|
+
from . import _metadata, _Metal
|
|
15
|
+
from ._inlines import _inline_list_
|
|
16
|
+
|
|
17
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
18
|
+
name="Metal",
|
|
19
|
+
frameworkIdentifier="com.apple.Metal",
|
|
20
|
+
frameworkPath=objc.pathForFramework(
|
|
21
|
+
"/System/Library/Frameworks/Metal.framework"
|
|
22
|
+
),
|
|
23
|
+
globals_dict=globals(),
|
|
24
|
+
inline_list=_inline_list_,
|
|
25
|
+
parents=(
|
|
26
|
+
_Metal,
|
|
27
|
+
AppKit,
|
|
28
|
+
),
|
|
29
|
+
metadict=_metadata.__dict__,
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
globals()["__dir__"] = dir_func
|
|
33
|
+
globals()["__getattr__"] = getattr_func
|
|
34
|
+
|
|
35
|
+
del sys.modules["Metal._metadata"]
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
globals().pop("_setup")()
|