Post

Replies

Boosts

Views

Activity

Comment on CAMetalLayer.nextDrawable() is very time-consuming, take 5ms-12ms
I found set presentsWithTransaction = true will solve this nextDrawable delay....... But will crashes sometimes..... Application Specific Information: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.' I didn't modify any layout in background thread...... Very strange...
Jan ’23