summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorAndy Ross <andy.ross@windriver.com>2013-06-04 11:32:29 -0700
committerAndy Ross <andy.ross@windriver.com>2013-06-12 15:57:30 -0700
commit8ab337a4ef935d112951cefefd8dead4fdcb3c5b (patch)
treecabb40dca7c7233c422e847718f5f0be9f3862c3 /Android.mk
parent04978c8f3086255bc0b83c407a1d605c19527253 (diff)
downloadexternal_drm_gralloc-8ab337a4ef935d112951cefefd8dead4fdcb3c5b.zip
external_drm_gralloc-8ab337a4ef935d112951cefefd8dead4fdcb3c5b.tar.gz
external_drm_gralloc-8ab337a4ef935d112951cefefd8dead4fdcb3c5b.tar.bz2
Fix refcounting of mapped bo's
Buffer objects created locally by gralloc_drm_bo_create() would have their refcount properly initialized to 1, but those received from other processes via the drv alloc function would be left at zero, so the delete check in gralloc_drm_bo_decref() would not destroy them as the refcount would wrap negative. The buffer would then leak forever until the mapping process (often surfaceflinger!) exitted. Issue: AXIA-2991 Change-Id: I1a0c73b21cfbc67b441970002fd71712112e1871 Signed-off-by: Andy Ross <andy.ross@windriver.com>
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions