F12 → fallback (non accelerated) modern toolset
F11 → accelerated modern toolset
F9 → legacy toolset
or in the preferences menu of pcb_new / footprint editor.
This is also documented in the FAQ of this site: Pcb_new: What is a canvas? (default [legacy], open-gl [accelerated] and cairo [fallback]) Is there a difference?