Holding onto a MTLTexture from a CVImageBuffer causes stuttering : <p>I'm creating a <code>MTLTexture</code> from <code>CVImageBuffer</code>s (from camera and players) using <code>CVMetalTextureCacheCreateTextureFromImage</code> to get a <code>CVMetalTexture</code> and then <code>CVMetalTextureGetTexture</code> to get the <code>MTLTexture</code>.</p>

<p>The problem I'm seeing is that when I later render the texture using Metal, I occasionally see video frames rendered out of order (visually it stutters back and forth in time), presumably because CoreVideo is modifying the underlying <code>CVImageBuffer</code> storage and the <code>MTLTexture</code> is just pointing there.</p>

<p>Is there any way to make CoreVideo not touch that buffer and use another one from its pool until I release the <code>MTLTexture</code> object?</p>

<p>My current workaround is blitting the texture using a <code>MTLBlitCommandEncoder</code> but since I just need to hold on to the texture for ~30 milliseconds that seems unnecessary.</p>
