vl: use a separate context for shader based decode v2
authorChristian König <christian.koenig@amd.com>
Sun, 3 Nov 2013 14:19:00 +0000 (15:19 +0100)
committerChristian König <christian.koenig@amd.com>
Fri, 8 Nov 2013 13:50:27 +0000 (14:50 +0100)
commit754eb6a67de83c3045fdfb30794f76b3b0124687
tree37c34a0a04218f7941833a694ac2fa8fc8179b58
parentcb3c57df3acfa237641aa004545a786f5624f198
vl: use a separate context for shader based decode v2

This makes VDPAU thread save again.

v2: fix some memory leaks reported by Aaron Watry.

Signed-off-by: Christian König <christian.koenig@amd.com>
src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
src/gallium/auxiliary/vl/vl_mpeg12_decoder.h