code: def eglGetDisplay(display=EGL_DEFAULT_DISPLAY):
      """Connect to the EGL display server."""
      res = _lib.eglGetDisplay(display)
      if not res or res == EGL_NO_DISPLAY:
          raise RuntimeError("Could not create display")
      return c_void_p(res)
  
file_path: vispy/vispy/ext/egl.py
imports: import os
  import ctypes
  from ctypes import c_int, POINTER, c_void_p, c_char_p
label_desc: Use image node_id 2 for calling a global function with example usage: eglGetDisplay(display) and returns: c_void_p