st/va: added internal storage for VAImage and BGRA format
authorMichael Varga <Michael.Varga@amd.com>
Mon, 3 Nov 2014 16:35:28 +0000 (10:35 -0600)
committerLeo Liu <leo.liu@amd.com>
Wed, 19 Nov 2014 14:29:11 +0000 (09:29 -0500)
commit05e225b558a330994cacad5d97f640cff86b4aff
tree242c9afd71037c427ebd643404fa22597f6fdff5
parent7b4f233c1f80f2f6f80c19137328a54f06cbc37c
st/va: added internal storage for VAImage and BGRA format

When calling vaCreateImage() an internal copy of VAImage is maintained
since the allocation of "image" may not be guaranteed to live long enough.

Signed-off-by: Michael Varga <Michael.Varga@amd.com>
src/gallium/state_trackers/va/image.c
src/gallium/state_trackers/va/va_private.h