aboutsummaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2018-12-17 09:56:00 +0100
committerChristian Gmeiner <[email protected]>2018-12-28 10:22:01 +0100
commitbf1dfcc3e8120400c9a78d03dd914a786728b5f7 (patch)
tree2bf38755c534068e04d6a64b3d21e2c7314c3d06 /src/util
parentd1ce7eba8b056bfd7d8f29cc0f583777a7ee30e5 (diff)
etnaviv: Consolidate buffer references from framebuffers
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 references in compiled_framebuffer_state to avoid confusion. The leak can be reproduced with a client that continuously creates and destroys contexts. Signed-off-by: Tomeu Vizoso <[email protected]> Reported-by: Sjoerd Simons <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions