Did you know? SWI-Prolog has an OpenGL InterfaceSearch Documentation:
SWI-Prolog owl logoPredicate current_predicate_options/3