MetalPetal Versions Save

A GPU accelerated image and video processing framework built on Metal.

1.25.2

1 year ago

Enhancements

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

1.25.1

1 year ago

Bug fixes

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

1.25.0

1 year ago

Enhancements

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

1.24.2

1 year ago

Enhancements

1.24.1

2 years ago

Bug fixes

  • Fix rendering of CIImages that have non-zero origin. #314
  • [MTIDataBuffer] Use stride instead of size for raw pointer access. 58b226325e52ee13d18e869f28912522dc476ca1

Enhancements

  • MTITexturePromise.texture is now public. 3e9bc59f02a8ed6e20f3642ba55f48ceb262891f
  • MTICVPixelBufferPromise.pixelBuffer is now public. 16d627405c3a9c7ac228a98998d319816583d038

1.24.0

2 years ago

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

2 years ago

Enhancements

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

1.22.0

2 years ago

Enhancements

  • [MTIAsyncVideoCompositionRequestHandler] Do not report noSourceFrame error. 84be369be4402122a3afd97b6985bbf5099839b2
  • [MTIAsyncVideoCompositionRequestHandler] Make Request.anySourceImage an optional value. #256
  • Improve memory handling on some failure branches. 7388f540a23da10d4aaf240c512135e0e58bcff5
  • Silent some compiler warnings on Xcode 13. eb67c48060989c67ece5dc75fa811b2489dd9da8

1.21.1

3 years ago

Bug fixes

  • Remove the load action assertion for memoryless render targets while the render target is not actually memoryless (Intel Macs) e7335c6440688b2c49c9dac51bce126c8bc7bfdf

1.21.0

3 years ago

Enhancements

  • MTIContext now automatically chooses to use MTIHeapTexturePool on supported devices. a0fa22797ea3b18fd7d2eb6324a06b19da887791

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.