Home | History | Annotate | Download | only in libgralloc

Lines Matching refs:hnd

385     private_handle_t* hnd = new private_handle_t(data.fd, data.size,
388 hnd->base = (int) data.base;
389 hnd->offset = data.offset;
390 hnd->gpuaddr = 0;
391 *pHnd = hnd;
395 void free_buffer(private_handle_t *hnd)
399 if (hnd && hnd->fd > 0) {
400 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags);
401 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd);
403 if(hnd)
404 delete hnd;