Releases: MetalPetal/MetalPetal
Releases · MetalPetal/MetalPetal
1.25.2
Enhancements
Add an autoreleasepool
in MTIAsyncVideoCompositionRequestHandler
in case the relative queue does not have a .workItem
autorelease frequency.
1.25.1
Bug fixes
- Update the
Static
sub-pod for resource copying behavior change in Xcode 14. 0c48a7c
1.25.0
Enhancements
Revert #314. MTICoreImageKernel
now respects the origin of the output CIImage
.
1.24.1
Bug fixes
- Fix rendering of
CIImage
s that have non-zero origin. #314
- [MTIDataBuffer] Use
stride
instead of size
for raw pointer access. 58b2263
Enhancements
MTITexturePromise.texture
is now public. 3e9bc59
MTICVPixelBufferPromise.pixelBuffer
is now public. 16d6274
1.24.0
Deprecation
Enhancements
- Refine swift interfaces for
MTIRenderPipelineKernel
#293
- Reporting error instead of trap when rendering a zero size image #292
1.23.0
Enhancements
- Automatically fall back on CoreImage to create textures for non-IOSurface-Backed
CVPixelBuffer
s. 5b74467
- [MTIVideoComposition] Minor performance improvements by caching track transforms. 9f52483
- [MTIVideoComposition] Add the support for
colorPrimaries
, colorYCbCrMatrix
and colorTransferFunction
. 6016367
1.22.0
Enhancements
- [MTIAsyncVideoCompositionRequestHandler] Do not report
noSourceFrame
error. 84be369
- [MTIAsyncVideoCompositionRequestHandler] Make
Request.anySourceImage
an optional value. #256
- Improve memory handling on some failure branches. 7388f54
- Silent some compiler warnings on Xcode 13. eb67c48
1.21.1
Bug fixes
- Remove the load action assertion for memoryless render targets while the render target is not actually memoryless (Intel Macs) e7335c6
1.21.0
Enhancements
MTIContext
now automatically chooses to use MTIHeapTexturePool
on supported devices. a0fa227
Deprecation
-
MTIVector
no longer conforms to NSCoding
.
MTIVector
is designed for encoding small vector values for the shader functions. Data serialization should be done using other methods.
-
MTIContextOptions
no longer conforms to NSCopying
.
MTIContextOptions
is designed to be a temporary object. The context does not keep references to the context options. There is no need for the MTIContextOptions
to conform to the NSCopying
protocol.