Using Metal in a thumbnail extension

Hello All!

I am working on a document browser based app that renders its documents using Metal. I’ve added a thumbnailing extension within which I use Metal to render the document image to a texture and then the texture is drawn in the supplied CGContext.

When running the app in simulator all seems to be good, but when I ran the extension on a device I got a message „Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (IOAF code 6).”

Question: is there a way around this or do I have to redesign the way I provide the thumbnails in the extension?

Regards,
Jan
Using Metal in a thumbnail extension
 
 
Q