docstr: The GLIR queue corresponding to the current canvas
docstr_tok: ["The","GLIR","queue","corresponding","to","the","current","canvas"]
code: def glir(self):
      """The GLIR queue corresponding to the current canvas"""
      canvas = get_current_canvas()
      if canvas is None:
          msg = (
              "If you want to use gloo without vispy.app, "
              + "use a gloo.context.FakeCanvas."
          )
          raise RuntimeError("Gloo requires a Canvas to run.\n" + msg)
      return canvas.context.glir
  
imports: import numpy
  from copy import deepcopy
  from .None import gl
  from ..color import Color
  from ..util import logger
label_desc: Use image node_id 1 for calling the GlooFunctions obj's underlying member method code with example usage: obj.glir() and returns: canvas