code: def OSMesaCreateContext():
      return ctypes.cast(
          _lib.OSMesaCreateContext(OSMESA_RGBA, None), c_void_p
      )
  
file_path: vispy/vispy/ext/osmesa.py
imports: from __future__ import print_function
  import os
  import ctypes
  import ctypes.util
  from ctypes import c_int, c_uint, c_void_p
label_desc: Use image node_id 2 for calling a global function with example usage: OSMesaCreateContext() and returns: ctypes