virgl: store all info about atomic buffers
authorChia-I Wu <olvaffe@gmail.com>
Thu, 16 May 2019 22:01:36 +0000 (15:01 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 7 Jun 2019 22:47:07 +0000 (22:47 +0000)
commit371743157e24c59942ac680c952ab2527808e6f2
treeae50fcdfac7e5610ab0cc5ba7468e1868e1869e2
parent98fd742d7ecff7532ee13a17a1848764bd8de770
virgl: store all info about atomic buffers

We will need the full info.  This also speeds up
virgl_attach_res_atomic_buffers and fixes resource leaks when the
context is destroyed.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_context.h