implement CCGraphicsNode draw functions and shaders;