code: def flush(self, frame):
          '''
          Passes the drawqueue to the sink for rendering
          '''
          self.sink.render(self.size_or_default(), frame, self._drawqueue)
          self.reset_drawqueue(f flush(self, frame):
          '''
          Passes the drawqueue to the sink for rendering
          '''
          self.sink.render(self.size_or_default(), frame, self._drawqueue)
          self.reset_drawqueue()
docs: Passes the drawqueue to the sink for rendering