

def __init__(self, **kwargs):
    self.canvas = Canvas()
    with self.canvas:
        self.fbo = Fbo(size=self.size)
        self.fbo_color = Color(1, 1, 1, 1)
        self.fbo_rect = Rectangle()
    with self.fbo:
        ClearColor(0, 0, 0, 0)
        ClearBuffers()
    self.texture = self.fbo.texture
    super(FboFloatLayout, self).__init__(**kwargs)

dataset/ETHPy150Open kivy/kivy/examples/canvas/fbo_canvas.py FboFloatLayout.__init__/original