Pass the last 10 touch events to the shader