gles, fixed, add missing functions