Common gl functions for hids.

#state: disabled
#lstate: pcb-rnd has no support for opengl.
#default: disabled
#implements: (feature)
