Matthew Leibowitz
Matthew Leibowitz
Lookin at instruments with an app, I see the ques being created and then they disappear as well - this is with the dangerous retain. Very interesting. I wonder what...
Ooh, that is what we are using and it looks so weird. This is the one we are suppsoed to be using and it looks like somehting got lost in...
Other places do things like this: externals/skia/tools/gpu/mtl/MtlTestContext.mm: ```mm backendContext.fDevice.retain((GrMTLHandle)device.get()); sk_cfp queue([*device newCommandQueue]); backendContext.fQueue.retain((GrMTLHandle)queue.get()); ``` externals/skia/tools/window/MetalWindowContext.mm: ```mm GrMtlBackendContext backendContext = {}; backendContext.fDevice.retain((GrMTLHandle)fDevice.get()); backendContext.fQueue.retain((GrMTLHandle)fQueue.get()); ``` So I think we are supposed to?
I reviewed your PR and I tihnk for now, since the only place we own the queue is the SKMetalView, we should keep the retain there. As soon as we...
We also need to test this on an actual iOS device.
Are you saying removing the dodgy line is all it takes to fix it?
Thanks for reporting this, I will investigate.
This appears to be fixed in SkiaSharp 3.x releases. let me know if this is not working for you.
I think you can either manually create a typeface, or copy your fonts to the fonts folder. Not sure offhand what the font folder is, but it uses the typical...
Closing this for now as the issue is fixed for both v2 and v3 in the latest preview.