On iOS I have always assume that it is not possible to do OpenGL texture creation – glTexImage2D – on a separate thread via an NSOperation subclass. Can someone please confirm/deny.
Since texture creation potentially hang the GUI – bad! – has anyone come up with a workaround that they are happy with?
Thanks,
Doug
Yes, take a look at CCTextureCache.m in cocos2d for iPhone.
cocos2d-iphone / cocos2d / CCTextureCache.m