Skip to content

Releases: MetalPetal/MetalPetal

1.25.2

21 Feb 03:59
Compare
Choose a tag to compare

Enhancements

Add an autoreleasepool in MTIAsyncVideoCompositionRequestHandler in case the relative queue does not have a .workItem autorelease frequency.

1.25.1

03 Nov 09:31
a55d1f9
Compare
Choose a tag to compare

Bug fixes

  • Update the Static sub-pod for resource copying behavior change in Xcode 14. 0c48a7c

1.25.0

27 Oct 02:25
c4b3dc6
Compare
Choose a tag to compare

Enhancements

Revert #314. MTICoreImageKernel now respects the origin of the output CIImage.

1.24.2

14 Jul 09:22
Compare
Choose a tag to compare

Enhancements

  • [Shaders] Support unified Metal language. bdb5156

    This also fixes the SwiftPM integration on iOS 16 and macOS 13

1.24.1

30 Mar 01:36
Compare
Choose a tag to compare

Bug fixes

  • Fix rendering of CIImages 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

07 Dec 07:23
Compare
Choose a tag to compare

Deprecation

  • Drops iOS 10 support.

Enhancements

  • Refine swift interfaces for MTIRenderPipelineKernel #293
  • Reporting error instead of trap when rendering a zero size image #292

1.23.0

14 Oct 02:58
Compare
Choose a tag to compare

Enhancements

  • Automatically fall back on CoreImage to create textures for non-IOSurface-Backed CVPixelBuffers. 5b74467
  • [MTIVideoComposition] Minor performance improvements by caching track transforms. 9f52483
  • [MTIVideoComposition] Add the support for colorPrimaries, colorYCbCrMatrix and colorTransferFunction. 6016367

1.22.0

23 Jun 03:31
Compare
Choose a tag to compare

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

13 May 12:44
Compare
Choose a tag to compare

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

10 May 05:17
Compare
Choose a tag to compare

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.