Searched refs:getBufferPtr (Results 1 – 5 of 5) sorted by relevance
/device/generic/goldfish-opengl/shared/gralloc_cb/include/ |
D | gralloc_cb_bp.h | 66 void* getBufferPtr() const { in getBufferPtr() function 82 return getBufferPtr() ? bufferSize : 0; in allocatedSize()
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_old.cpp | 145 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 …]
|
D | gralloc_30.cpp | 195 char* const bufferBits = static_cast<char*>(handle.getBufferPtr()); in lock() 213 char* const bufferBits = static_cast<char*>(handle.getBufferPtr()); in unlock() 229 char* const bufferBits = static_cast<char*>(handle.getBufferPtr()); in lock_ycbcr() 873 GoldfishAddressSpaceBlock::memoryUnmap(handle->getBufferPtr(), handle->mmapedSize); in free_buffer() 888 handle->getBufferPtr(), in register_buffer() 926 GoldfishAddressSpaceBlock::memoryUnmap(handle->getBufferPtr(), handle->mmapedSize); in unregister_buffer()
|
/device/generic/goldfish-opengl/system/hals/ |
D | mapper3.cpp | 123 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()
|
D | allocator3.cpp | 408 GoldfishAddressSpaceBlock::memoryUnmap(cb->getBufferPtr(), cb->mmapedSize); in freeCb()
|