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.cpp613 gralloc_device_t *grdev = (gralloc_device_t *)dev; in gralloc_alloc() local
614 if (!grdev || !pHandle || !pStride) { in gralloc_alloc()
616 grdev, pHandle, pStride); in gralloc_alloc()
903 pthread_mutex_lock(&grdev->lock); in gralloc_alloc()
904 grdev->allocated.insert(cb); in gralloc_alloc()
905 pthread_mutex_unlock(&grdev->lock); in gralloc_alloc()
978 gralloc_device_t *grdev = (gralloc_device_t *)dev; in gralloc_free() local
980 pthread_mutex_lock(&grdev->lock); in gralloc_free()
981 grdev->allocated.erase(cb); in gralloc_free()
982 pthread_mutex_unlock(&grdev->lock); in gralloc_free()