All-solid-state gain-switched Cr4+:forsterite laser