All-trans-retinal is also an essential component of microbial opsins such as bacteriorhodopsin, channelrhodopsin, and halorhodopsin, which are important in bacterial and archaeal anoxygenic photosynthesis.  In these molecules, light causes the all-trans-retinal to become 13-cis retinal, which then cycles back to all-trans-retinal in the dark state. These proteins are not evolutionarily related to animal opsins and are not GPCRs; the fact that they both use retinal is a result of convergent evolution.