Searched refs:ahw (Results 1 – 4 of 4) sorted by relevance
241 if (mem->ahw) { in anv_GetMemoryAndroidHardwareBufferANDROID()242 *pBuffer = mem->ahw; in anv_GetMemoryAndroidHardwareBufferANDROID()244 AHardwareBuffer_acquire(mem->ahw); in anv_GetMemoryAndroidHardwareBufferANDROID()319 mem->ahw = info->buffer; in anv_import_ahw_memory()366 struct AHardwareBuffer *ahw = NULL; in anv_create_ahw_memory() local375 if (AHardwareBuffer_allocate(&desc, &ahw) != 0) in anv_create_ahw_memory()378 mem->ahw = ahw; in anv_create_ahw_memory()
981 assert(mem->ahw); in resolve_ahw_image()983 AHardwareBuffer_describe(mem->ahw, &desc); in resolve_ahw_image()1058 if (mem->ahw) in anv_BindImageMemory()1084 if (mem && mem->ahw) in anv_BindImageMemory2()
3479 mem->ahw = NULL; in anv_AllocateMemory()3574 .buffer = mem->ahw, in anv_AllocateMemory()3795 if (mem->ahw) in anv_FreeMemory()3796 AHardwareBuffer_release(mem->ahw); in anv_FreeMemory()
1860 struct AHardwareBuffer * ahw; member