Home
last modified time | relevance | path

Searched refs:grdev (Results 1 – 1 of 1) sorted by relevance

/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp631 gralloc_device_t *grdev = (gralloc_device_t *)dev; in gralloc_alloc() local
632 if (!grdev || !pHandle || !pStride) { in gralloc_alloc()
634 grdev, pHandle, pStride); in gralloc_alloc()
921 pthread_mutex_lock(&grdev->lock); in gralloc_alloc()
922 grdev->allocated.insert(cb); in gralloc_alloc()
923 pthread_mutex_unlock(&grdev->lock); in gralloc_alloc()
997 gralloc_device_t *grdev = (gralloc_device_t *)dev; in gralloc_free() local
999 pthread_mutex_lock(&grdev->lock); in gralloc_free()
1000 grdev->allocated.erase(cb); in gralloc_free()
1001 pthread_mutex_unlock(&grdev->lock); in gralloc_free()