CCEffectHue - Recompute the color matrix as needed instead of on every draw
CCEffectHue - Recompute the color matrix as needed instead of on every draw

This was motivated by the following performance findings on an iPhone 4s.

Original implementation: 26fps / 20% CPU usage
Color matrix implementation: `60fps / 44% CPU usage

Interestingly even removing the matrix computation on every draw, the CPU usage is still
~44%. Since the change doesn't add much complexity I'm keeping it but I'm surprised it
had no impact on CPU usage.

codepython/cocos2d-objc,lpeancovschi/cocos2d-objc,oxeron/cocos2d-objc,finthamoussu/cocos2d-objc,knight2010/cocos2d-objc,finthamoussu/cocos2d-objc,tambarskjelve/cocos2d-objc,DNESS/cocos2d-objc,codepython/cocos2d-objc,yaoxiaoyong/cocos2d-objc,dnessorga/cocos2d-objc,tambarskjelve/cocos2d-objc,zaneLou/cocos2d-objc,liduanw/cocos2d-objc,yaoxiaoyong/cocos2d-objc,SuPair/cocos2d-objc,seem-sky/cocos2d-swift,TukekeSoft/cocos2d-spritebuilder,liduanw/cocos2d-objc,tambarskjelve/cocos2d-objc,DNESS/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,seem-sky/cocos2d-swift,SuPair/cocos2d-objc,DNESS/cocos2d-objc,knight2010/cocos2d-objc,dnessorga/cocos2d-objc,seem-sky/cocos2d-swift,oxeron/cocos2d-objc,tambarskjelve/cocos2d-objc,lpeancovschi/cocos2d-objc,nader-eloshaiker/cocos2d-objc,codepython/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,liduanw/cocos2d-objc,cogddo/cocos2d-objc,lpeancovschi/cocos2d-objc,cogddo/cocos2d-objc,savysoda/cocos2d-objc,savysoda/cocos2d-objc,liduanw/cocos2d-objc,DNESS/cocos2d-objc,SuPair/cocos2d-objc,codepython/cocos2d-objc,dnessorga/cocos2d-objc,nader-eloshaiker/cocos2d-objc,dnessorga/cocos2d-objc,yaoxiaoyong/cocos2d-objc,zaneLou/cocos2d-objc,savysoda/cocos2d-objc,liduanw/cocos2d-objc,cogddo/cocos2d-objc,dnessorga/cocos2d-objc,cocos2d/cocos2d-objc,SuPair/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,finthamoussu/cocos2d-objc,finthamoussu/cocos2d-objc,SuPair/cocos2d-objc,seem-sky/cocos2d-swift,cogddo/cocos2d-objc,lpeancovschi/cocos2d-objc,nader-eloshaiker/cocos2d-objc,cocos2d/cocos2d-objc,knight2010/cocos2d-objc,yaoxiaoyong/cocos2d-objc,yaoxiaoyong/cocos2d-objc,knight2010/cocos2d-objc,savysoda/cocos2d-objc,zaneLou/cocos2d-objc,DNESS/cocos2d-objc,nader-eloshaiker/cocos2d-objc,zaneLou/cocos2d-objc,tambarskjelve/cocos2d-objc