class_docstr: Fake canvas to allow using gloo without vispy.app
  
  Instantiate this class to collect GLIR commands from gloo
  interactions. Call flush() in your draw event handler to execute
  the commands in the active contect.
class_docstr_tok: ["Fake","canvas","to","allow","using","gloo","without","vispy.app","Instantiate","this","class","to","collect","GLIR","commands","from","gloo","interactions",".","Call","flush","(",")","in","your","draw","event","handler","to","execute","the","commands","in","the","active","contect","."]
code: def __init__(self):
      self.context = GLContext()
      set_current_canvas(self)
  
imports: from copy import deepcopy
  import weakref
  from .glir import GlirQueue, BaseGlirParser, GlirParser, glir_logger
  from .wrappers import BaseGlooFunctions
  from ..None import config
label_desc: Use image node_id 1 to create a new FakeCanvas object from inherited base classes: object with example: obj = FakeCanvas()