Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/shared/gralloc_cb/include/
Dgralloc_cb_bp.h66 void* getBufferPtr() const { in getBufferPtr() function
82 return getBufferPtr() ? bufferSize : 0; in allocatedSize()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp145 return ((int32_t*)cb->getBufferPtr()) + 1; in getOpenCountPtr()
398 get_mem_region(cb->getBufferPtr()); in get_ashmem_region()
412 const bool should_unmap = put_mem_region(rcEnc, cb->getBufferPtr()); in put_ashmem_region()
940 __FUNCTION__, handle, cb->getBufferPtr(), cb->bufferSize); in gralloc_free()
946 if (isHidlGralloc && cb->getBufferPtr()) { in gralloc_free()
965 if (cb->bufferSize > 0 && cb->getBufferPtr()) { in gralloc_free()
966 D("%s: unmapped %p", __FUNCTION__, cb->getBufferPtr()); in gralloc_free()
967 munmap(cb->getBufferPtr(), cb->bufferSize); in gralloc_free()
1114 int err = munmap(cb->getBufferPtr(), cb->bufferSize); in gralloc_unregister_buffer()
1204 if (cb->ashmemBasePid != getpid() || !cb->getBufferPtr()) { in gralloc_lock()
[all …]
Dgralloc_30.cpp193 char* const bufferBits = static_cast<char*>(handle.getBufferPtr()); in lock()
211 char* const bufferBits = static_cast<char*>(handle.getBufferPtr()); in unlock()
227 char* const bufferBits = static_cast<char*>(handle.getBufferPtr()); in lock_ycbcr()
871 GoldfishAddressSpaceBlock::memoryUnmap(handle->getBufferPtr(), handle->mmapedSize); in free_buffer()
886 handle->getBufferPtr(), in register_buffer()
924 GoldfishAddressSpaceBlock::memoryUnmap(handle->getBufferPtr(), handle->mmapedSize); in unregister_buffer()
/device/generic/goldfish-opengl/system/hals/
Dmapper3.cpp123 GoldfishAddressSpaceBlock::memoryUnmap(cb->getBufferPtr(), cb->mmapedSize); in freeBuffer()
229 cb->getBufferPtr(), in importBufferImpl()
269 char* const bufferBits = static_cast<char*>(cb->getBufferPtr()); in lockImpl()
305 char* const bufferBits = static_cast<char*>(cb->getBufferPtr()); in lockYCbCrImpl()
471 char* const bufferBits = static_cast<char*>(cb->getBufferPtr()); in unlockImpl()
Dallocator3.cpp408 GoldfishAddressSpaceBlock::memoryUnmap(cb->getBufferPtr(), cb->mmapedSize); in freeCb()