Allow Cocos2dxActivity subclasses to subclass the renderer, so they can execute java code as part of the main rendering loop (onDrawFrame()).