Ingram ton takes Proteas to 315