cocos2d/cocos2d-x — pull request #2645 by nickflink (2013-05-26 11:28:38+00:00)
Title: add a saveToFileAsync to the CCRenderTexture

This follows the example set in CCTextureCache::loadImageAsync and allows CCRenderTexture::saveImageAsync. It helped in my currently in development game to smooth out the rendering while saving screenshots. It currently only supports JPG's but could easily be made to support PNGS too.