/hardware/qcom/display/msm8960/libgralloc/ |
D | mapper.cpp | 51 IMemAlloc* memalloc; in getAllocator() local 53 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator() 54 return memalloc; in getAllocator() 65 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local 66 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 78 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 99 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local 100 if(memalloc != NULL) { in gralloc_unmap() 101 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap() 107 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); in gralloc_unmap() [all …]
|
D | alloc_controller.cpp | 246 IMemAlloc* memalloc = NULL; in getAllocator() local 248 memalloc = mIonAlloc; in getAllocator() 253 return memalloc; in getAllocator() 388 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() local 389 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer()
|
D | gpu.cpp | 322 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl() local 323 int err = memalloc->free_buffer((void*)hnd->base, (size_t) hnd->size, in free_impl() 329 err = memalloc->free_buffer((void*)hnd->base_metadata, in free_impl()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | mapper.cpp | 49 IMemAlloc* memalloc; in getAllocator() local 51 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator() 52 return memalloc; in getAllocator() 66 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local 67 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 79 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 103 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local 104 if(memalloc != NULL) { in gralloc_unmap() 105 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap() 111 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); in gralloc_unmap() [all …]
|
D | alloc_controller.cpp | 354 IMemAlloc* memalloc = NULL; in getAllocator() local 356 memalloc = mIonAlloc; in getAllocator() 361 return memalloc; in getAllocator() 658 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() local 659 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer()
|
D | gpu.cpp | 338 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl() local 339 int err = memalloc->free_buffer((void*)hnd->base, hnd->size, in free_impl() 345 err = memalloc->free_buffer((void*)hnd->base_metadata, in free_impl()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | mapper.cpp | 49 IMemAlloc* memalloc; in getAllocator() local 51 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator() 52 return memalloc; in getAllocator() 66 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local 67 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 79 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 103 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local 104 if(memalloc != NULL) { in gralloc_unmap() 105 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap() 111 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); in gralloc_unmap() [all …]
|
D | alloc_controller.cpp | 355 IMemAlloc* memalloc = NULL; in getAllocator() local 357 memalloc = mIonAlloc; in getAllocator() 362 return memalloc; in getAllocator() 664 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() local 665 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer()
|
D | gpu.cpp | 335 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl() local 336 int err = memalloc->free_buffer((void*)hnd->base, (size_t) hnd->size, in free_impl() 342 err = memalloc->free_buffer((void*)hnd->base_metadata, in free_impl()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | mapper.cpp | 52 IMemAlloc* memalloc; in getAllocator() local 54 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator() 55 return memalloc; in getAllocator() 61 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_metadata() local 67 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata() 89 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local 97 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 132 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local 133 if(!memalloc) in gralloc_unmap() 137 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); in gralloc_unmap() [all …]
|
D | Makefile.am | 3 memalloc.h
|
D | gpu.cpp | 358 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl() local 359 int err = memalloc->free_buffer((void*)hnd->base, hnd->size, in free_impl() 365 err = memalloc->free_buffer((void*)hnd->base_metadata, in free_impl()
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | mapper.cpp | 52 IMemAlloc* memalloc; in getAllocator() local 54 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator() 55 return memalloc; in getAllocator() 61 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_metadata() local 67 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata() 89 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local 97 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 132 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local 133 if(!memalloc) in gralloc_unmap() 137 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); in gralloc_unmap() [all …]
|
D | Makefile.am | 3 memalloc.h
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | mapper.cpp | 54 IMemAlloc* memalloc; in getAllocator() local 56 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator() 57 return memalloc; in getAllocator() 63 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_metadata() local 69 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata() 91 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local 99 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 134 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local 135 if(!memalloc) in gralloc_unmap() 139 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); in gralloc_unmap() [all …]
|
D | alloc_controller.cpp | 443 IMemAlloc* memalloc = NULL; in getAllocator() local 445 memalloc = mIonAlloc; in getAllocator() 450 return memalloc; in getAllocator() 760 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() local 761 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer()
|
D | gpu.cpp | 365 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl() local 366 int err = memalloc->free_buffer((void*)hnd->base, hnd->size, in free_impl() 372 err = memalloc->free_buffer((void*)hnd->base_metadata, in free_impl()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | mapper.cpp | 53 IMemAlloc* memalloc; in getAllocator() local 55 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator() 56 return memalloc; in getAllocator() 62 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_metadata() local 68 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata() 90 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local 98 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 133 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local 134 if(!memalloc) in gralloc_unmap() 138 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); in gralloc_unmap() [all …]
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayMem.h | 161 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType); in close() local 162 ret = memalloc->free_buffer(mBaseAddr, mBufSz * mNumBuffers, 0, mFd); in close()
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayMem.h | 171 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType); in close() local 172 ret = memalloc->free_buffer(mBaseAddr, mBufSzAligned * mNumBuffers, 0, mFd); in close()
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayMem.h | 171 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType); in close() local 172 ret = memalloc->free_buffer(mBaseAddr, mBufSzAligned * mNumBuffers, 0, mFd); in close()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 125 gralloc::IMemAlloc *memalloc = alloc_controller_->getAllocator(meta_buffer_info->alloc_type); in FreeBuffer() local 126 if (memalloc == NULL) { in FreeBuffer() 131 ret = memalloc->free_buffer(meta_buffer_info->base_addr, alloc_buffer_info->size, 0, in FreeBuffer()
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayMem.h | 189 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType); in close() local 190 ret = memalloc->free_buffer(mBaseAddr, mBufSzAligned * mNumBuffers, 0, mFd); in close()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 131 gralloc::IMemAlloc *memalloc = alloc_controller_->getAllocator(meta_buffer_info->alloc_type); in FreeBuffer() local 132 if (memalloc == NULL) { in FreeBuffer() 137 ret = memalloc->free_buffer(meta_buffer_info->base_addr, alloc_buffer_info->size, 0, in FreeBuffer()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 131 gralloc::IMemAlloc *memalloc = alloc_controller_->getAllocator(meta_buffer_info->alloc_type); in FreeBuffer() local 132 if (memalloc == NULL) { in FreeBuffer() 137 ret = memalloc->free_buffer(meta_buffer_info->base_addr, alloc_buffer_info->size, 0, in FreeBuffer()
|