cocos2d/cocos2d-x — pull request #9201 by stammen (2014-11-23 22:59:47+00:00)
Title: V3 win8.1 universal app puase and resume support

This pull request adds support for when the app state changes between visible and not visible. It also adds support for when the directx device is lost. These changes are necessary to pass windows app store certification.

Several of the files had support for Android but not WP8 or WinRT.

Fixed a bug in CCImage.cpp when reloading a tga texture from the volatile texture cache. Since there is no filename (ie. _filePath is "") , the filename should not be used to test if the data is tga.

Some shader tests were disabled for WP8/WinRT since the shaders will not compile on the device.