Re: [Mesa-dev] [PATCH] etnaviv: Consolidate buffer references from framebuffers

2018-12-17 Thread Christian Gmeiner
Am Mo., 17. Dez. 2018 um 09:56 Uhr schrieb Tomeu Vizoso : > > We were leaking surfaces because the references taken in > etna_set_framebuffer_state weren't being released on context destroy. > > Instead of just directly releasing those references in > etna_context_destroy, use the util_copy_framebu

[Mesa-dev] [PATCH] etnaviv: Consolidate buffer references from framebuffers

2018-12-17 Thread Tomeu Vizoso
We were leaking surfaces because the references taken in etna_set_framebuffer_state weren't being released on context destroy. Instead of just directly releasing those references in etna_context_destroy, use the util_copy_framebuffer_state helper. Take the chance to remove the duplicated buffer r