implement Rotate={0,1,2,3} in the GLES codepath