Add ios implementation for gl methods without buffer