gl: data type for bpp>1 (e.g. Hi10p). not working.

gles does not hav GL_LUMINANCE16 etc.