add GLhalf type
add Type.pointer_offset helper method to generate offset parameter for glDrawElements, glVertexAttribPointer, ...