Lottie refactoring

This commit is contained in:
Isaac
2024-06-06 17:11:16 +04:00
parent e54230f42c
commit 0b2d73d626
17 changed files with 160 additions and 1369 deletions

View File

@@ -2,7 +2,7 @@ import Foundation
import MetalKit
import LottieCpp
private func alignUp(size: Int, align: Int) -> Int {
/*private func alignUp(size: Int, align: Int) -> Int {
precondition(((align - 1) & align) == 0, "Align must be a power of two")
let alignmentMask = align - 1
@@ -372,3 +372,4 @@ final class PathFrameState {
computeEncoder.dispatchThreadgroups(MTLSize(width: dispatchSize, height: 1, depth: 1), threadsPerThreadgroup: MTLSize(width: 1, height: threadGroupHeight, depth: 1))
}
}
*/