def METHOD_NAME(self, event):
    with self.fbo:
        set_viewport(0, 0, *self.comp_size)
        self.compute["texture"].interpolation = 'nearest'
        self.compute.draw('triangle_strip')
    clear()
    set_viewport(0, 0, *self.physical_size)
    self.render["texture"].interpolation = 'linear'
    self.render.draw('triangle_strip')
    self.pingpong = 1 - self.pingpong
    self.compute["pingpong"] = self.pingpong
    self.render["pingpong"] = self.pingpong