Lines Matching refs:ahw

703 uint64_t getAHardwareBufferId(AHardwareBuffer* ahw) {  in getAHardwareBufferId()  argument
707 gralloc->getId(ahw, &id); in getAHardwareBufferId()
709 (void)ahw; in getAHardwareBufferId()
1084 if (memInfo.ahw) { in unregister_VkDeviceMemory()
1087 gralloc->release(memInfo.ahw); in unregister_VkDeviceMemory()
1335 uint32_t memoryTypeIndex, AHardwareBuffer* ahw, in setDeviceMemoryInfo() argument
1346 info.ahw = ahw; in setDeviceMemoryInfo()
2216 VkResult queryRes = getMemoryAndroidHardwareBufferANDROID(gralloc, &info.ahw); in on_vkGetMemoryAndroidHardwareBufferANDROID()
2220 *pBuffer = info.ahw; in on_vkGetMemoryAndroidHardwareBufferANDROID()
3221 if (ahw) { \ in on_vkAllocateMemory()
3222 memoryObjectId = getAHardwareBufferId(ahw); \ in on_vkAllocateMemory()
3354 AHardwareBuffer* ahw = nullptr; in on_vkAllocateMemory() local
3426 imageUsage, imageCreateFlags, bufferSize, allocationInfoAllocSize, &ahw); in on_vkAllocateMemory()
3434 ahw = importAhbInfoPtr->buffer; in on_vkAllocateMemory()
3441 if (ahw) { in on_vkAllocateMemory()
3445 const uint32_t hostHandle = gralloc->getHostHandle(ahw); in on_vkAllocateMemory()
3446 if (gralloc->getFormat(ahw) == AHARDWAREBUFFER_FORMAT_BLOB && in on_vkAllocateMemory()
3851 if (ahw || colorBufferBlob || !requestedMemoryIsHostVisible) { in on_vkAllocateMemory()
3858 setDeviceMemoryInfo(device, *pMemory, 0, nullptr, finalAllocInfo.memoryTypeIndex, ahw, in on_vkAllocateMemory()
3915 if (info.ahw) { in on_vkFreeMemory()
3916 memoryObjectId = getAHardwareBufferId(info.ahw); in on_vkFreeMemory()