Harley

Results 47 comments of Harley

@vjdaemp There is a set of tool functions on MTLTexture for converting it to images, refer to the **MLTexture.swift** for details. Just call `canvas.currentDrawable.texture.toUIImage()` instead, it's the same as your...

@vjdaemp Yes, I replicated your problem. But `renderTap` and `pushPoint` both calls the `renderLines` method on the bottom, `currentDrawable` property on `MTKView` may have some magic that causes this problem,...

目前确实存在这样的问题,后面会考虑使用 Metal 的索引缓存功能进行优化,不过这样底层改动会比较大,可能需要等下一个大版本😰

@codejun9527 近期应该会针对部分 issue 做一个小更新,优化缓存比较麻烦,暂时还没有 😳

Sorry, I just returned from my holiday. It seems like that iOS 14 has more buffer textures, and updating logic in maliang have some problems

fixed in 2.8.1, checkout and try :)

@adman44 Thanks, I will try your solution :)