Added native mappings for glstate.