Refactor the pixman renderer into an object of its own