Finished converting over draw_primitive.