eyeshape: port to opengles-compatible calls