Hinges or sliding, experience with forced landings of aircraft clearly shows that once some deformation takes place, the pilot/driver gets trapped easily. So these canopies would have to include explosive charges for blowning off quickly in times of need.
Now on not so serious note, if we go this way, let’s also install 0-0 ejection seats. Parachutes could be made in team colors.