add globalGain, fillQuad/fillRect