Lines Matching refs:ResourceTracker
104 ResourceTracker::get()->register_##type_name(handles[i]); \
107 ResourceTracker::get()->register_##type_name(handles[i]);)
117 ResourceTracker::get()->unregister_##type_name(handles[i]); \
128 uint32_t ResourceTracker::streamFeatureBits = 0;
129 ResourceTracker::ThreadingCallbacks ResourceTracker::threadingCallbacks;
195 void ResourceTracker::register_##type(type obj) { \
201 void ResourceTracker::unregister_##type(type obj) { \
280 VkDescriptorImageInfo ResourceTracker::filterNonexistentSampler( in filterNonexistentSampler()
295 void ResourceTracker::emitDeviceMemoryReport(VkDevice_Info info, in emitDeviceMemoryReport()
495 VkResult ResourceTracker::setBufferCollectionConstraintsFUCHSIA( in setBufferCollectionConstraintsFUCHSIA()
706 auto* gralloc = ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->grallocHelper(); in getAHardwareBufferId()
720 void ResourceTracker::transformImageMemoryRequirementsForGuestLocked(VkImage image, in transformImageMemoryRequirementsForGuestLocked()
738 CoherentMemoryPtr ResourceTracker::freeCoherentMemoryLocked(VkDeviceMemory memory, in freeCoherentMemoryLocked()
929 uint32_t ResourceTracker::syncEncodersForCommandBuffer(VkCommandBuffer commandBuffer, in syncEncodersForCommandBuffer()
990 void ResourceTracker::ensureSyncDeviceFd() { in ensureSyncDeviceFd()
1002 void ResourceTracker::unregister_VkInstance(VkInstance instance) { in unregister_VkInstance()
1012 void ResourceTracker::unregister_VkDevice(VkDevice device) { in unregister_VkDevice()
1022 void ResourceTracker::unregister_VkCommandPool(VkCommandPool pool) { in unregister_VkCommandPool()
1031 void ResourceTracker::unregister_VkSampler(VkSampler sampler) { in unregister_VkSampler()
1038 void ResourceTracker::unregister_VkCommandBuffer(VkCommandBuffer commandBuffer) { in unregister_VkCommandBuffer()
1064 void ResourceTracker::unregister_VkQueue(VkQueue queue) { in unregister_VkQueue()
1075 void ResourceTracker::unregister_VkDeviceMemory(VkDeviceMemory mem) { in unregister_VkDeviceMemory()
1086 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->grallocHelper(); in unregister_VkDeviceMemory()
1098 void ResourceTracker::unregister_VkImage(VkImage img) { in unregister_VkImage()
1109 void ResourceTracker::unregister_VkBuffer(VkBuffer buf) { in unregister_VkBuffer()
1118 void ResourceTracker::unregister_VkSemaphore(VkSemaphore sem) { in unregister_VkSemaphore()
1133 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in unregister_VkSemaphore()
1141 void ResourceTracker::unregister_VkDescriptorUpdateTemplate(VkDescriptorUpdateTemplate templ) { in unregister_VkDescriptorUpdateTemplate()
1163 void ResourceTracker::unregister_VkFence(VkFence fence) { in unregister_VkFence()
1174 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in unregister_VkFence()
1183 void ResourceTracker::unregister_VkBufferCollectionFUCHSIA(VkBufferCollectionFUCHSIA collection) { in unregister_VkBufferCollectionFUCHSIA()
1189 void ResourceTracker::unregister_VkDescriptorSet_locked(VkDescriptorSet set) { in unregister_VkDescriptorSet_locked()
1195 void ResourceTracker::unregister_VkDescriptorSet(VkDescriptorSet set) { in unregister_VkDescriptorSet()
1202 void ResourceTracker::unregister_VkDescriptorSetLayout(VkDescriptorSetLayout setLayout) { in unregister_VkDescriptorSetLayout()
1210 void ResourceTracker::freeDescriptorSetsIfHostAllocated(VkEncoder* enc, VkDevice device, in freeDescriptorSetsIfHostAllocated()
1224 void ResourceTracker::clearDescriptorPoolAndUnregisterDescriptorSets(void* context, VkDevice device, in clearDescriptorPoolAndUnregisterDescriptorSets()
1239 void ResourceTracker::unregister_VkDescriptorPool(VkDescriptorPool pool) { in unregister_VkDescriptorPool()
1250 void ResourceTracker::deviceMemoryTransform_fromhost(VkDeviceMemory* memory, uint32_t memoryCount, in deviceMemoryTransform_fromhost()
1267 void ResourceTracker::transformImpl_VkExternalMemoryProperties_fromhost( in transformImpl_VkExternalMemoryProperties_fromhost()
1283 void ResourceTracker::setInstanceInfo(VkInstance instance, uint32_t enabledExtensionCount, in setInstanceInfo()
1297 void ResourceTracker::setDeviceInfo(VkDevice device, VkPhysicalDevice physdev, in setDeviceInfo()
1333 void ResourceTracker::setDeviceMemoryInfo(VkDevice device, VkDeviceMemory memory, in setDeviceMemoryInfo()
1353 void ResourceTracker::setImageInfo(VkImage image, VkDevice device, in setImageInfo()
1362 uint8_t* ResourceTracker::getMappedPointer(VkDeviceMemory memory) { in getMappedPointer()
1371 VkDeviceSize ResourceTracker::getMappedSize(VkDeviceMemory memory) { in getMappedSize()
1380 bool ResourceTracker::isValidMemoryRange(const VkMappedMemoryRange& range) const { in isValidMemoryRange()
1398 void ResourceTracker::setupCaps(uint32_t& noRenderControlEnc) { in setupCaps()
1425 ResourceTracker::streamFeatureBits |= VULKAN_STREAM_FEATURE_NULL_OPTIONAL_STRINGS_BIT; in setupCaps()
1426 ResourceTracker::streamFeatureBits |= VULKAN_STREAM_FEATURE_IGNORED_HANDLES_BIT; in setupCaps()
1427 ResourceTracker::streamFeatureBits |= VULKAN_STREAM_FEATURE_SHADER_FLOAT16_INT8_BIT; in setupCaps()
1428 ResourceTracker::streamFeatureBits |= VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT; in setupCaps()
1434 void ResourceTracker::setupFeatures(const EmulatorFeatureInfo* features) { in setupFeatures()
1477 ResourceTracker::streamFeatureBits |= VULKAN_STREAM_FEATURE_NULL_OPTIONAL_STRINGS_BIT; in setupFeatures()
1480 ResourceTracker::streamFeatureBits |= VULKAN_STREAM_FEATURE_IGNORED_HANDLES_BIT; in setupFeatures()
1483 ResourceTracker::streamFeatureBits |= VULKAN_STREAM_FEATURE_SHADER_FLOAT16_INT8_BIT; in setupFeatures()
1486 ResourceTracker::streamFeatureBits |= VULKAN_STREAM_FEATURE_QUEUE_SUBMIT_WITH_COMMANDS_BIT; in setupFeatures()
1490 void ResourceTracker::setThreadingCallbacks(const ResourceTracker::ThreadingCallbacks& callbacks) { in setThreadingCallbacks()
1491 ResourceTracker::threadingCallbacks = callbacks; in setThreadingCallbacks()
1494 bool ResourceTracker::hostSupportsVulkan() const { in hostSupportsVulkan()
1500 bool ResourceTracker::usingDirectMapping() const { return true; } in usingDirectMapping()
1502 uint32_t ResourceTracker::getStreamFeatures() const { return ResourceTracker::streamFeatureBits; } in getStreamFeatures()
1504 bool ResourceTracker::supportsDeferredCommands() const { in supportsDeferredCommands()
1509 bool ResourceTracker::supportsAsyncQueueSubmit() const { in supportsAsyncQueueSubmit()
1514 bool ResourceTracker::supportsCreateResourcesWithRequirements() const { in supportsCreateResourcesWithRequirements()
1519 int ResourceTracker::getHostInstanceExtensionIndex(const std::string& extName) const { in getHostInstanceExtensionIndex()
1530 int ResourceTracker::getHostDeviceExtensionIndex(const std::string& extName) const { in getHostDeviceExtensionIndex()
1541 void ResourceTracker::deviceMemoryTransform_tohost(VkDeviceMemory* memory, uint32_t memoryCount, in deviceMemoryTransform_tohost()
1585 uint32_t ResourceTracker::getColorBufferMemoryIndex(void* context, VkDevice device) { in getColorBufferMemoryIndex()
1629 VkResult ResourceTracker::on_vkEnumerateInstanceExtensionProperties( in on_vkEnumerateInstanceExtensionProperties()
1719 VkResult ResourceTracker::on_vkEnumerateDeviceExtensionProperties( in on_vkEnumerateDeviceExtensionProperties()
1945 VkResult ResourceTracker::on_vkEnumeratePhysicalDevices(void* context, VkResult, in on_vkEnumeratePhysicalDevices()
2041 void ResourceTracker::on_vkGetPhysicalDeviceProperties(void*, VkPhysicalDevice, in on_vkGetPhysicalDeviceProperties()
2056 void ResourceTracker::on_vkGetPhysicalDeviceFeatures2(void*, VkPhysicalDevice, in on_vkGetPhysicalDeviceFeatures2()
2067 void ResourceTracker::on_vkGetPhysicalDeviceFeatures2KHR(void* context, in on_vkGetPhysicalDeviceFeatures2KHR()
2073 void ResourceTracker::on_vkGetPhysicalDeviceProperties2(void* context, in on_vkGetPhysicalDeviceProperties2()
2086 void ResourceTracker::on_vkGetPhysicalDeviceProperties2KHR( in on_vkGetPhysicalDeviceProperties2KHR()
2091 void ResourceTracker::on_vkGetPhysicalDeviceMemoryProperties( in on_vkGetPhysicalDeviceMemoryProperties()
2098 void ResourceTracker::on_vkGetPhysicalDeviceMemoryProperties2( in on_vkGetPhysicalDeviceMemoryProperties2()
2103 void ResourceTracker::on_vkGetDeviceQueue(void*, VkDevice device, uint32_t, uint32_t, in on_vkGetDeviceQueue()
2109 void ResourceTracker::on_vkGetDeviceQueue2(void*, VkDevice device, const VkDeviceQueueInfo2*, in on_vkGetDeviceQueue2()
2115 VkResult ResourceTracker::on_vkCreateInstance(void* context, VkResult input_result, in on_vkCreateInstance()
2132 VkResult ResourceTracker::on_vkCreateDevice(void* context, VkResult input_result, in on_vkCreateDevice()
2151 void ResourceTracker::on_vkDestroyDevice_pre(void* context, VkDevice device, in on_vkDestroyDevice_pre()
2177 VkResult ResourceTracker::on_vkGetAndroidHardwareBufferPropertiesANDROID( in on_vkGetAndroidHardwareBufferPropertiesANDROID()
2181 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->grallocHelper(); in on_vkGetAndroidHardwareBufferPropertiesANDROID()
2193 VkResult ResourceTracker::on_vkGetMemoryAndroidHardwareBufferANDROID( in on_vkGetMemoryAndroidHardwareBufferANDROID()
2215 auto* gralloc = ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->grallocHelper(); in on_vkGetMemoryAndroidHardwareBufferANDROID()
2227 VkResult ResourceTracker::on_vkGetMemoryZirconHandleFUCHSIA( in on_vkGetMemoryZirconHandleFUCHSIA()
2259 VkResult ResourceTracker::on_vkGetMemoryZirconHandlePropertiesFUCHSIA( in on_vkGetMemoryZirconHandlePropertiesFUCHSIA()
2345 VkResult ResourceTracker::on_vkImportSemaphoreZirconHandleFUCHSIA( in on_vkImportSemaphoreZirconHandleFUCHSIA()
2381 VkResult ResourceTracker::on_vkGetSemaphoreZirconHandleFUCHSIA( in on_vkGetSemaphoreZirconHandleFUCHSIA()
2412 VkResult ResourceTracker::on_vkCreateBufferCollectionFUCHSIA( in on_vkCreateBufferCollectionFUCHSIA()
2457 void ResourceTracker::on_vkDestroyBufferCollectionFUCHSIA(void*, VkResult, VkDevice, in on_vkDestroyBufferCollectionFUCHSIA()
2470 SetBufferCollectionImageConstraintsResult ResourceTracker::setBufferCollectionImageConstraintsImpl( in setBufferCollectionImageConstraintsImpl()
2598 VkResult ResourceTracker::setBufferCollectionImageConstraintsFUCHSIA( in setBufferCollectionImageConstraintsFUCHSIA()
2626 VkResult ResourceTracker::setBufferCollectionBufferConstraintsFUCHSIA( in setBufferCollectionBufferConstraintsFUCHSIA()
2649 VkResult ResourceTracker::on_vkSetBufferCollectionImageConstraintsFUCHSIA( in on_vkSetBufferCollectionImageConstraintsFUCHSIA()
2659 VkResult ResourceTracker::on_vkSetBufferCollectionBufferConstraintsFUCHSIA( in on_vkSetBufferCollectionBufferConstraintsFUCHSIA()
2667 VkResult ResourceTracker::getBufferCollectionImageCreateInfoIndexLocked( in getBufferCollectionImageCreateInfoIndexLocked()
2730 VkResult ResourceTracker::on_vkGetBufferCollectionPropertiesFUCHSIA( in on_vkGetBufferCollectionPropertiesFUCHSIA()
2903 CoherentMemoryPtr ResourceTracker::createCoherentMemory( in createCoherentMemory()
2981 VkResult ResourceTracker::allocateCoherentMemory(VkDevice device, in allocateCoherentMemory()
3144 VkResult ResourceTracker::getCoherentMemory(const VkMemoryAllocateInfo* pAllocateInfo, in getCoherentMemory()
3203 VkResult ResourceTracker::on_vkAllocateMemory(void* context, VkResult input_result, VkDevice device, in on_vkAllocateMemory()
3424 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->grallocHelper(), in on_vkAllocateMemory()
3437 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->grallocHelper(), in on_vkAllocateMemory()
3443 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->grallocHelper(); in on_vkAllocateMemory()
3906 void ResourceTracker::on_vkFreeMemory(void* context, VkDevice device, VkDeviceMemory memory, in on_vkFreeMemory()
3953 VkResult ResourceTracker::on_vkMapMemory(void* context, VkResult host_result, VkDevice device, in on_vkMapMemory()
4028 void ResourceTracker::on_vkUnmapMemory(void*, VkDevice, VkDeviceMemory) { in on_vkUnmapMemory()
4032 void ResourceTracker::transformImageMemoryRequirements2ForGuest(VkImage image, in transformImageMemoryRequirements2ForGuest()
4056 void ResourceTracker::transformBufferMemoryRequirements2ForGuest(VkBuffer buffer, in transformBufferMemoryRequirements2ForGuest()
4077 VkResult ResourceTracker::on_vkCreateImage(void* context, VkResult, VkDevice device, in on_vkCreateImage()
4354 VkResult ResourceTracker::on_vkCreateSamplerYcbcrConversion( in on_vkCreateSamplerYcbcrConversion()
4390 void ResourceTracker::on_vkDestroySamplerYcbcrConversion(void* context, VkDevice device, in on_vkDestroySamplerYcbcrConversion()
4400 VkResult ResourceTracker::on_vkCreateSamplerYcbcrConversionKHR( in on_vkCreateSamplerYcbcrConversionKHR()
4436 void ResourceTracker::on_vkDestroySamplerYcbcrConversionKHR( in on_vkDestroySamplerYcbcrConversionKHR()
4446 VkResult ResourceTracker::on_vkCreateSampler(void* context, VkResult, VkDevice device, in on_vkCreateSampler()
4478 void ResourceTracker::on_vkGetPhysicalDeviceExternalFenceProperties( in on_vkGetPhysicalDeviceExternalFenceProperties()
4504 void ResourceTracker::on_vkGetPhysicalDeviceExternalFencePropertiesKHR( in on_vkGetPhysicalDeviceExternalFencePropertiesKHR()
4512 VkResult ResourceTracker::on_vkCreateFence(void* context, VkResult input_result, VkDevice device, in on_vkCreateFence()
4558 void ResourceTracker::on_vkDestroyFence(void* context, VkDevice device, VkFence fence, in on_vkDestroyFence()
4564 VkResult ResourceTracker::on_vkResetFences(void* context, VkResult, VkDevice device, in on_vkResetFences()
4588 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in on_vkResetFences()
4598 VkResult ResourceTracker::on_vkImportFenceFdKHR(void* context, VkResult, VkDevice device, in on_vkImportFenceFdKHR()
4631 auto* syncHelper = ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in on_vkImportFenceFdKHR()
4654 VkResult ResourceTracker::on_vkGetFenceFdKHR(void* context, VkResult, VkDevice device, in on_vkGetFenceFdKHR()
4739 VkResult ResourceTracker::on_vkWaitForFences(void* context, VkResult, VkDevice device, in on_vkWaitForFences()
4780 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in on_vkWaitForFences()
4789 auto hostConn = ResourceTracker::threadingCallbacks.hostConnectionGetFunc(); in on_vkWaitForFences()
4790 auto vkEncoder = ResourceTracker::threadingCallbacks.vkEncoderGetFunc(hostConn); in on_vkWaitForFences()
4821 VkResult ResourceTracker::on_vkCreateDescriptorPool(void* context, VkResult, VkDevice device, in on_vkCreateDescriptorPool()
4861 void ResourceTracker::on_vkDestroyDescriptorPool(void* context, VkDevice device, in on_vkDestroyDescriptorPool()
4873 VkResult ResourceTracker::on_vkResetDescriptorPool(void* context, VkResult, VkDevice device, in on_vkResetDescriptorPool()
4888 VkResult ResourceTracker::on_vkAllocateDescriptorSets( in on_vkAllocateDescriptorSets()
4926 VkResult ResourceTracker::on_vkFreeDescriptorSets(void* context, VkResult, VkDevice device, in on_vkFreeDescriptorSets()
5000 VkResult ResourceTracker::on_vkCreateDescriptorSetLayout( in on_vkCreateDescriptorSetLayout()
5020 void ResourceTracker::on_vkUpdateDescriptorSets(void* context, VkDevice device, in on_vkUpdateDescriptorSets()
5097 void ResourceTracker::on_vkDestroyImage(void* context, VkDevice device, VkImage image, in on_vkDestroyImage()
5100 auto* syncHelper = ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in on_vkDestroyImage()
5138 void ResourceTracker::on_vkGetImageMemoryRequirements(void* context, VkDevice device, VkImage image, in on_vkGetImageMemoryRequirements()
5166 void ResourceTracker::on_vkGetImageMemoryRequirements2(void* context, VkDevice device, in on_vkGetImageMemoryRequirements2()
5174 void ResourceTracker::on_vkGetImageMemoryRequirements2KHR( in on_vkGetImageMemoryRequirements2KHR()
5182 void ResourceTracker::on_vkGetImageSubresourceLayout(void* context, VkDevice device, VkImage image, in on_vkGetImageSubresourceLayout()
5199 VkResult ResourceTracker::on_vkBindImageMemory(void* context, VkResult, VkDevice device, in on_vkBindImageMemory()
5211 VkResult ResourceTracker::on_vkBindImageMemory2(void* context, VkResult, VkDevice device, in on_vkBindImageMemory2()
5239 VkResult ResourceTracker::on_vkBindImageMemory2KHR(void* context, VkResult result, VkDevice device, in on_vkBindImageMemory2KHR()
5245 VkResult ResourceTracker::on_vkCreateBuffer(void* context, VkResult, VkDevice device, in on_vkCreateBuffer()
5378 void ResourceTracker::on_vkDestroyBuffer(void* context, VkDevice device, VkBuffer buffer, in on_vkDestroyBuffer()
5384 void ResourceTracker::on_vkGetBufferMemoryRequirements(void* context, VkDevice device, in on_vkGetBufferMemoryRequirements()
5410 void ResourceTracker::on_vkGetBufferMemoryRequirements2( in on_vkGetBufferMemoryRequirements2()
5418 void ResourceTracker::on_vkGetBufferMemoryRequirements2KHR( in on_vkGetBufferMemoryRequirements2KHR()
5426 VkResult ResourceTracker::on_vkBindBufferMemory(void* context, VkResult, VkDevice device, in on_vkBindBufferMemory()
5433 VkResult ResourceTracker::on_vkBindBufferMemory2(void* context, VkResult, VkDevice device, in on_vkBindBufferMemory2()
5440 VkResult ResourceTracker::on_vkBindBufferMemory2KHR(void* context, VkResult, VkDevice device, in on_vkBindBufferMemory2KHR()
5447 VkResult ResourceTracker::on_vkCreateSemaphore(void* context, VkResult input_result, in on_vkCreateSemaphore()
5542 void ResourceTracker::on_vkDestroySemaphore(void* context, VkDevice device, VkSemaphore semaphore, in on_vkDestroySemaphore()
5552 VkResult ResourceTracker::on_vkGetSemaphoreFdKHR(void* context, VkResult, VkDevice device, in on_vkGetSemaphoreFdKHR()
5566 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in on_vkGetSemaphoreFdKHR()
5589 VkResult ResourceTracker::on_vkImportSemaphoreFdKHR( in on_vkImportSemaphoreFdKHR()
5598 auto* syncHelper = ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in on_vkImportSemaphoreFdKHR()
5638 VkResult ResourceTracker::on_vkGetMemoryFdPropertiesKHR( in on_vkGetMemoryFdPropertiesKHR()
5674 VkResult ResourceTracker::on_vkGetMemoryFdKHR(void* context, VkResult, VkDevice device, in on_vkGetMemoryFdKHR()
5721 void ResourceTracker::flushCommandBufferPendingCommandsBottomUp( in flushCommandBufferPendingCommandsBottomUp()
5783 uint32_t ResourceTracker::syncEncodersForQueue(VkQueue queue, VkEncoder* currentEncoder) { in syncEncodersForQueue()
5815 void ResourceTracker::flushStagingStreams(void* context, VkQueue queue, uint32_t submitCount, in flushStagingStreams()
5835 VkResult ResourceTracker::on_vkQueueSubmit(void* context, VkResult input_result, VkQueue queue, in on_vkQueueSubmit()
5843 VkResult ResourceTracker::on_vkQueueSubmit2(void* context, VkResult input_result, VkQueue queue, in on_vkQueueSubmit2()
5851 VkResult ResourceTracker::vkQueueSubmitEnc(VkEncoder* enc, VkQueue queue, uint32_t submitCount, in vkQueueSubmitEnc()
5861 VkResult ResourceTracker::vkQueueSubmitEnc(VkEncoder* enc, VkQueue queue, uint32_t submitCount, in vkQueueSubmitEnc()
5872 VkResult ResourceTracker::on_vkQueueSubmitTemplate(void* context, VkResult input_result, in on_vkQueueSubmitTemplate()
5960 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in on_vkQueueSubmitTemplate()
6002 auto hostConn = ResourceTracker::threadingCallbacks.hostConnectionGetFunc(); in on_vkQueueSubmitTemplate()
6003 auto vkEncoder = ResourceTracker::threadingCallbacks.vkEncoderGetFunc(hostConn); in on_vkQueueSubmitTemplate()
6036 VkResult ResourceTracker::on_vkQueueWaitIdle(void* context, VkResult, VkQueue queue) { in on_vkQueueWaitIdle()
6059 void ResourceTracker::unwrap_VkNativeBufferANDROID(const VkNativeBufferANDROID* inputNativeInfo, in unwrap_VkNativeBufferANDROID()
6070 auto* gralloc = ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->grallocHelper(); in unwrap_VkNativeBufferANDROID()
6075 void ResourceTracker::unwrap_VkBindImageMemorySwapchainInfoKHR( in unwrap_VkBindImageMemorySwapchainInfoKHR()
6093 void ResourceTracker::unwrap_vkCreateImage_pCreateInfo(const VkImageCreateInfo* pCreateInfo, in unwrap_vkCreateImage_pCreateInfo()
6106 void ResourceTracker::unwrap_vkAcquireImageANDROID_nativeFenceFd(int fd, int* fd_out) { in unwrap_vkAcquireImageANDROID_nativeFenceFd()
6113 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in unwrap_vkAcquireImageANDROID_nativeFenceFd()
6131 void ResourceTracker::unwrap_VkBindImageMemory2_pBindInfos( in unwrap_VkBindImageMemory2_pBindInfos()
6172 VkResult ResourceTracker::on_vkMapMemoryIntoAddressSpaceGOOGLE_pre(void*, VkResult, VkDevice, in on_vkMapMemoryIntoAddressSpaceGOOGLE_pre()
6198 VkResult ResourceTracker::on_vkMapMemoryIntoAddressSpaceGOOGLE(void*, VkResult input_result, in on_vkMapMemoryIntoAddressSpaceGOOGLE()
6211 VkResult ResourceTracker::initDescriptorUpdateTemplateBuffers( in initDescriptorUpdateTemplateBuffers()
6308 VkResult ResourceTracker::on_vkCreateDescriptorUpdateTemplate( in on_vkCreateDescriptorUpdateTemplate()
6322 VkResult ResourceTracker::on_vkCreateDescriptorUpdateTemplateKHR( in on_vkCreateDescriptorUpdateTemplateKHR()
6336 void ResourceTracker::on_vkUpdateDescriptorSetWithTemplate( in on_vkUpdateDescriptorSetWithTemplate()
6487 void ResourceTracker::on_vkUpdateDescriptorSetWithTemplateKHR( in on_vkUpdateDescriptorSetWithTemplateKHR()
6494 VkResult ResourceTracker::on_vkGetPhysicalDeviceImageFormatProperties2_common( in on_vkGetPhysicalDeviceImageFormatProperties2_common()
6586 VkResult ResourceTracker::on_vkGetPhysicalDeviceImageFormatProperties2( in on_vkGetPhysicalDeviceImageFormatProperties2()
6595 VkResult ResourceTracker::on_vkGetPhysicalDeviceImageFormatProperties2KHR( in on_vkGetPhysicalDeviceImageFormatProperties2KHR()
6604 void ResourceTracker::on_vkGetPhysicalDeviceExternalBufferProperties_common( in on_vkGetPhysicalDeviceExternalBufferProperties_common()
6613 if (ResourceTracker::threadingCallbacks.hostConnectionGetFunc() in on_vkGetPhysicalDeviceExternalBufferProperties_common()
6652 void ResourceTracker::on_vkGetPhysicalDeviceExternalBufferProperties( in on_vkGetPhysicalDeviceExternalBufferProperties()
6661 void ResourceTracker::on_vkGetPhysicalDeviceExternalBufferPropertiesKHR( in on_vkGetPhysicalDeviceExternalBufferPropertiesKHR()
6669 void ResourceTracker::on_vkGetPhysicalDeviceExternalSemaphoreProperties( in on_vkGetPhysicalDeviceExternalSemaphoreProperties()
6709 void ResourceTracker::on_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( in on_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR()
6717 void ResourceTracker::registerEncoderCleanupCallback(const VkEncoder* encoder, void* object, in registerEncoderCleanupCallback()
6724 void ResourceTracker::unregisterEncoderCleanupCallback(const VkEncoder* encoder, void* object) { in unregisterEncoderCleanupCallback()
6729 void ResourceTracker::onEncoderDeleted(const VkEncoder* encoder) { in onEncoderDeleted()
6743 CommandBufferStagingStream::Alloc ResourceTracker::getAlloc() { in getAlloc()
6753 auto enc = ResourceTracker::getThreadLocalEncoder(); in getAlloc()
6782 CommandBufferStagingStream::Free ResourceTracker::getFree() { in getFree()
6806 VkResult ResourceTracker::on_vkBeginCommandBuffer(void* context, VkResult input_result, in on_vkBeginCommandBuffer()
6814 VkEncoder* enc = ResourceTracker::getCommandBufferEncoder(commandBuffer); in on_vkBeginCommandBuffer()
6837 VkResult ResourceTracker::on_vkEndCommandBuffer(void* context, VkResult input_result, in on_vkEndCommandBuffer()
6851 VkResult ResourceTracker::on_vkResetCommandBuffer(void* context, VkResult input_result, in on_vkResetCommandBuffer()
6870 VkResult ResourceTracker::on_vkCreateImageView(void* context, VkResult input_result, in on_vkCreateImageView()
6904 void ResourceTracker::on_vkCmdExecuteCommands(void* context, VkCommandBuffer commandBuffer, in on_vkCmdExecuteCommands()
6927 void ResourceTracker::on_vkCmdBindDescriptorSets(void* context, VkCommandBuffer commandBuffer, in on_vkCmdBindDescriptorSets()
6944 void ResourceTracker::on_vkCmdPipelineBarrier( in on_vkCmdPipelineBarrier()
6988 void ResourceTracker::on_vkDestroyDescriptorSetLayout(void* context, VkDevice device, in on_vkDestroyDescriptorSetLayout()
6994 VkResult ResourceTracker::on_vkAllocateCommandBuffers( in on_vkAllocateCommandBuffers()
7014 VkResult ResourceTracker::exportSyncFdForQSRILocked(VkImage image, int* fd) { in exportSyncFdForQSRILocked()
7050 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in exportSyncFdForQSRILocked()
7082 VkResult ResourceTracker::on_vkQueueSignalReleaseImageANDROID(void* context, VkResult input_result, in on_vkQueueSignalReleaseImageANDROID()
7118 ResourceTracker::threadingCallbacks.hostConnectionGetFunc()->syncHelper(); in on_vkQueueSignalReleaseImageANDROID()
7127 VkResult ResourceTracker::on_vkCreateGraphicsPipelines( in on_vkCreateGraphicsPipelines()
7199 uint32_t ResourceTracker::getApiVersionFromInstance(VkInstance instance) const { in getApiVersionFromInstance()
7211 uint32_t ResourceTracker::getApiVersionFromDevice(VkDevice device) const { in getApiVersionFromDevice()
7224 bool ResourceTracker::hasInstanceExtension(VkInstance instance, const std::string& name) const { in hasInstanceExtension()
7233 bool ResourceTracker::hasDeviceExtension(VkDevice device, const std::string& name) const { in hasDeviceExtension()
7242 VkDevice ResourceTracker::getDevice(VkCommandBuffer commandBuffer) const { in getDevice()
7253 void ResourceTracker::resetCommandBufferStagingInfo(VkCommandBuffer commandBuffer, in resetCommandBufferStagingInfo()
7304 void ResourceTracker::resetCommandBufferPendingTopology(VkCommandBuffer commandBuffer) { in resetCommandBufferPendingTopology()
7315 void ResourceTracker::resetCommandPoolStagingInfo(VkCommandPool commandPool) { in resetCommandPoolStagingInfo()
7327 void ResourceTracker::addToCommandPool(VkCommandPool commandPool, uint32_t commandBufferCount, in addToCommandPool()
7337 void ResourceTracker::clearCommandPool(VkCommandPool commandPool) { in clearCommandPool()
7346 const VkPhysicalDeviceMemoryProperties& ResourceTracker::getPhysicalDeviceMemoryProperties( in getPhysicalDeviceMemoryProperties()
7371 static ResourceTracker* sTracker = nullptr;
7373 ResourceTracker::ResourceTracker() { in ResourceTracker() function in gfxstream::vk::ResourceTracker
7379 ResourceTracker::~ResourceTracker() { in ~ResourceTracker()
7384 VulkanHandleMapping* ResourceTracker::createMapping() { return mCreateMapping; } in createMapping()
7386 VulkanHandleMapping* ResourceTracker::destroyMapping() { return mDestroyMapping; } in destroyMapping()
7389 ResourceTracker* ResourceTracker::get() { in get()
7392 sTracker = new ResourceTracker; in get()
7398 ALWAYS_INLINE_GFXSTREAM VkEncoder* ResourceTracker::getCommandBufferEncoder( in getCommandBufferEncoder()
7400 if (!(ResourceTracker::streamFeatureBits & in getCommandBufferEncoder()
7402 auto enc = ResourceTracker::getThreadLocalEncoder(); in getCommandBufferEncoder()
7403 ResourceTracker::get()->syncEncodersForCommandBuffer(commandBuffer, enc); in getCommandBufferEncoder()
7409 sStaging.setAllocFree(ResourceTracker::get()->getAlloc(), in getCommandBufferEncoder()
7410 ResourceTracker::get()->getFree()); in getCommandBufferEncoder()
7420 ALWAYS_INLINE_GFXSTREAM VkEncoder* ResourceTracker::getQueueEncoder(VkQueue queue) { in getQueueEncoder()
7421 auto enc = ResourceTracker::getThreadLocalEncoder(); in getQueueEncoder()
7422 if (!(ResourceTracker::streamFeatureBits & in getQueueEncoder()
7424 ResourceTracker::get()->syncEncodersForQueue(queue, enc); in getQueueEncoder()
7430 ALWAYS_INLINE_GFXSTREAM VkEncoder* ResourceTracker::getThreadLocalEncoder() { in getThreadLocalEncoder()
7431 auto hostConn = ResourceTracker::threadingCallbacks.hostConnectionGetFunc(); in getThreadLocalEncoder()
7432 auto vkEncoder = ResourceTracker::threadingCallbacks.vkEncoderGetFunc(hostConn); in getThreadLocalEncoder()
7437 void ResourceTracker::setSeqnoPtr(uint32_t* seqnoptr) { sSeqnoPtr = seqnoptr; } in setSeqnoPtr()
7440 ALWAYS_INLINE_GFXSTREAM uint32_t ResourceTracker::nextSeqno() { in nextSeqno()
7446 ALWAYS_INLINE_GFXSTREAM uint32_t ResourceTracker::getSeqno() { in getSeqno()
7451 void ResourceTracker::transformImpl_VkExternalMemoryProperties_tohost(VkExternalMemoryProperties*, in transformImpl_VkExternalMemoryProperties_tohost()
7454 void ResourceTracker::transformImpl_VkImageCreateInfo_fromhost(const VkImageCreateInfo*, uint32_t) { in transformImpl_VkImageCreateInfo_fromhost()
7456 void ResourceTracker::transformImpl_VkImageCreateInfo_tohost(const VkImageCreateInfo*, uint32_t) {} in transformImpl_VkImageCreateInfo_tohost()
7459 void ResourceTracker::transformImpl_##type##_tohost(type*, uint32_t) {} \
7460 void ResourceTracker::transformImpl_##type##_fromhost(type*, uint32_t) {}