yanhn / MetalPetal

A image processing framework based on Metal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MetalPetal

A image processing framework based on Metal.

MetalPetal is still in its early phase and isn't ready for day-to-day usage.

Design

Goals

  • Easy to use

  • Performance

  • Support MPS (Metal Performance Shaders)

  • Support floating-point texture formats for filters

  • Support vertex modification

  • Swifty

  • Extensibility

  • Working with CoreImage/GPUImage

Key Components

MTIContext

Provides CommandQueue/TextureLoader/CVMetalTextureCache as well as Texture/RenderPipelineState/Function cache for rendering.

MTIImage

A receipt/promise of a MTLTexture.

MTIFilter

A render receipt builder.

MTIImageRenderingContext

Provides image rendering operations and the required command buffer.

About

A image processing framework based on Metal.

License:MIT License


Languages

Language:Objective-C 87.2%Language:Swift 8.1%Language:Metal 2.8%Language:Ruby 1.2%Language:C++ 0.7%