I just tested SXMaskedSprite on my demo project. There was no stretching issues, as expected. But there was a major problem with performance and possibly memory usage.
Results when testing my extension, SHPixelMaskSprite:
iPad 2: 60 fps
iPad Air: 60 fps
Results when testing SXMaskedSprite:
iPad 2: 45 fps
iPad Air: 31 fps
I also received three levels of memory warnings on iPad Air while testing SXMaskedSprite demo with a small amount of apps open, but I didn't look into the memory issue for more details.
The frame rate issue concerns me the most. 31 fps on iPad Air is quite bad with such a small demo. The memory issue might be a problem also.
Could someone also give it a try and report the results?
If you could have a quick look, I would be very grateful. I think I did a straight port of Starling's PixelMask extension, but it might not be complete due to the previous stretching issue that road-blocked me. For now, i'll use my extension to salvage performance, but I do hope we can get an updated version of SXMaskedSprite. 🙂
SHPixelMaskSprite Demo: http://shilocity.net/sparrow/extensions/SHPixelMaskSpriteDemo.zip
SXMaskedSprite Demo: http://shilocity.net/sparrow/extensions/SXMaskedSpriteDemo.zip