├── .github └── workflows │ └── test.yml ├── .gitignore ├── .spi.yml ├── LICENSE ├── Package.swift ├── README.md ├── Sources └── SharedGraphicsTools │ ├── Extensions │ ├── Accelerate │ │ └── vImageBuffer+GraphicsDataProvider.swift │ ├── CoreGraphics │ │ └── CGContext+GraphicsDataProvider.swift │ ├── CoreML │ │ ├── MLMultiArray+DataSize.swift │ │ └── MLMultiArrayDataType+Size.swift │ ├── CoreVideo │ │ ├── CVPixelBuffer+GraphicsDataProvider.swift │ │ └── IOSurface+GraphicsDataProvider.swift │ ├── Foundation │ │ └── UnsafeRawPointer+PageAligned.swift │ ├── Metal │ │ └── MTLTexture+GraphicsDataProvider.swift │ └── UIKit │ │ └── UIImage+GraphicsDataProvider.swift │ ├── GraphicsData.swift │ ├── GraphicsDataProvider.swift │ ├── MTLSharedGraphicsBuffer.swift │ ├── MultiplanarPlanarGraphicsDataProvider.swift │ └── SharedGraphicsTools.docc │ ├── Resources │ └── documentation-art │ │ └── shared-graphics-tools@2x.png │ ├── SharedGraphicsTools.md │ ├── WorkingWithGraphicsDataProvider.md │ └── WorkingWithSharedGraphicsBuffer.md └── Tests └── SharedGraphicsToolsTests └── SharedGraphicsToolsTests.swift /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/.gitignore -------------------------------------------------------------------------------- /.spi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/.spi.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/README.md -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/Extensions/Accelerate/vImageBuffer+GraphicsDataProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/Extensions/Accelerate/vImageBuffer+GraphicsDataProvider.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/Extensions/CoreGraphics/CGContext+GraphicsDataProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/Extensions/CoreGraphics/CGContext+GraphicsDataProvider.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/Extensions/CoreML/MLMultiArray+DataSize.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/Extensions/CoreML/MLMultiArray+DataSize.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/Extensions/CoreML/MLMultiArrayDataType+Size.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/Extensions/CoreML/MLMultiArrayDataType+Size.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/Extensions/CoreVideo/CVPixelBuffer+GraphicsDataProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/Extensions/CoreVideo/CVPixelBuffer+GraphicsDataProvider.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/Extensions/CoreVideo/IOSurface+GraphicsDataProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/Extensions/CoreVideo/IOSurface+GraphicsDataProvider.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/Extensions/Foundation/UnsafeRawPointer+PageAligned.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/Extensions/Foundation/UnsafeRawPointer+PageAligned.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/Extensions/Metal/MTLTexture+GraphicsDataProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/Extensions/Metal/MTLTexture+GraphicsDataProvider.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/Extensions/UIKit/UIImage+GraphicsDataProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/Extensions/UIKit/UIImage+GraphicsDataProvider.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/GraphicsData.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/GraphicsData.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/GraphicsDataProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/GraphicsDataProvider.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/MTLSharedGraphicsBuffer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/MTLSharedGraphicsBuffer.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/MultiplanarPlanarGraphicsDataProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/MultiplanarPlanarGraphicsDataProvider.swift -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/SharedGraphicsTools.docc/Resources/documentation-art/shared-graphics-tools@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/SharedGraphicsTools.docc/Resources/documentation-art/shared-graphics-tools@2x.png -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/SharedGraphicsTools.docc/SharedGraphicsTools.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/SharedGraphicsTools.docc/SharedGraphicsTools.md -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/SharedGraphicsTools.docc/WorkingWithGraphicsDataProvider.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/SharedGraphicsTools.docc/WorkingWithGraphicsDataProvider.md -------------------------------------------------------------------------------- /Sources/SharedGraphicsTools/SharedGraphicsTools.docc/WorkingWithSharedGraphicsBuffer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Sources/SharedGraphicsTools/SharedGraphicsTools.docc/WorkingWithSharedGraphicsBuffer.md -------------------------------------------------------------------------------- /Tests/SharedGraphicsToolsTests/SharedGraphicsToolsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/computer-graphics-tools/shared-graphics-tools/HEAD/Tests/SharedGraphicsToolsTests/SharedGraphicsToolsTests.swift --------------------------------------------------------------------------------