XySubPicQueueNoThread: Allocate the SubPic after setting the texture resolution.
SubPicAP: Acquire the lock before changing the SubPicQueue.