aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorJulien Isorce <[email protected]>2016-06-02 15:03:01 +0100
committerJulien Isorce <[email protected]>2016-06-13 09:14:32 +0100
commit6c43e0016e344de3d7e82b098992cdfecbff2ab2 (patch)
tree1ad2c76ec5864df92c00db27a5bbe197a9e8f68c /.gitignore
parent30df78236c14ca9470fd591a0978625490c010b2 (diff)
st/va: it is valid to release the VABuffer of an exported resource
pipe_resource_reference(&res, NULL) will decrement reference counting, i.e. p_atomic_dec(res->count). But the va surface still has the initial reference since it has created the resource. So calling vaDestroyImage on a derived image calls VaDestroyBuffer but the decrementation won't reach 0. It is just wrong for vlVaDestroyBuffer to rely on the export_refcount flag. Finally the vaapi intel driver has the same logic. Signed-off-by: Julien Isorce <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions