cocos2d/cocos2d-iphone — pull request #880 by thayerandrews (2014-07-10 22:40:58+00:00)
Title: Update CCEffectHue with color matrix implementation. Fix compiler warnings.

- As Scott pointed out in his review of my previous pull request, the hue effect could be greatly optimized by using a 4x4 color matrix to do the RGB to YIQ conversion, rotation, and conversion back to RGB. With this optimization, performance of the hue effect test on my iPhone 4s increased from 26fps to 60fps. The original implementation is still in place and disabled with a #if but I will remove it in the future after more testing of the color matrix implementation.
- Remove a bunch of strong reference cycles in the effect pass blocks.
- Fix other miscellaneous compiler warnings from the OSX build.