Lines Matching refs:ResourceTracker
200 …handles[i] = new_from_host_##type_name(handles[i]); ResourceTracker::get()->register_##type_name(h…
202 …handles[i] = (type_name)new_from_host_u64_##type_name(handle_u64s[i]); ResourceTracker::get()->reg…
212 …ResourceTracker::get()->unregister_##type_name(handles[i]); delete_goldfish_##type_name(handles[i]…
220 class ResourceTracker::Impl {
849 void setThreadingCallbacks(const ResourceTracker::ThreadingCallbacks& callbacks) { in setThreadingCallbacks()
4988 ResourceTracker::ThreadingCallbacks mThreadingCallbacks;
5016 ResourceTracker::ResourceTracker() : mImpl(new ResourceTracker::Impl()) { } in ResourceTracker() function in goldfish_vk::ResourceTracker
5017 ResourceTracker::~ResourceTracker() { } in ~ResourceTracker()
5018 VulkanHandleMapping* ResourceTracker::createMapping() { in createMapping()
5021 VulkanHandleMapping* ResourceTracker::unwrapMapping() { in unwrapMapping()
5024 VulkanHandleMapping* ResourceTracker::destroyMapping() { in destroyMapping()
5027 VulkanHandleMapping* ResourceTracker::defaultMapping() { in defaultMapping()
5030 static ResourceTracker* sTracker = nullptr;
5032 ResourceTracker* ResourceTracker::get() { in get()
5035 sTracker = new ResourceTracker; in get()
5041 void ResourceTracker::register_##type(type obj) { \
5044 void ResourceTracker::unregister_##type(type obj) { \
5050 bool ResourceTracker::isMemoryTypeHostVisible( in GOLDFISH_VK_LIST_HANDLE_TYPES()
5055 uint8_t* ResourceTracker::getMappedPointer(VkDeviceMemory memory) { in getMappedPointer()
5059 VkDeviceSize ResourceTracker::getMappedSize(VkDeviceMemory memory) { in getMappedSize()
5063 VkDeviceSize ResourceTracker::getNonCoherentExtendedSize(VkDevice device, VkDeviceSize basicSize) c… in getNonCoherentExtendedSize()
5067 bool ResourceTracker::isValidMemoryRange(const VkMappedMemoryRange& range) const { in isValidMemoryRange()
5071 void ResourceTracker::setupFeatures(const EmulatorFeatureInfo* features) { in setupFeatures()
5075 void ResourceTracker::setThreadingCallbacks(const ResourceTracker::ThreadingCallbacks& callbacks) { in setThreadingCallbacks()
5079 bool ResourceTracker::hostSupportsVulkan() const { in hostSupportsVulkan()
5083 bool ResourceTracker::usingDirectMapping() const { in usingDirectMapping()
5087 uint32_t ResourceTracker::getStreamFeatures() const { in getStreamFeatures()
5091 uint32_t ResourceTracker::getApiVersionFromInstance(VkInstance instance) const { in getApiVersionFromInstance()
5095 uint32_t ResourceTracker::getApiVersionFromDevice(VkDevice device) const { in getApiVersionFromDevice()
5098 bool ResourceTracker::hasInstanceExtension(VkInstance instance, const std::string &name) const { in hasInstanceExtension()
5101 bool ResourceTracker::hasDeviceExtension(VkDevice device, const std::string &name) const { in hasDeviceExtension()
5105 VkResult ResourceTracker::on_vkEnumerateInstanceExtensionProperties( in on_vkEnumerateInstanceExtensionProperties()
5115 VkResult ResourceTracker::on_vkEnumerateDeviceExtensionProperties( in on_vkEnumerateDeviceExtensionProperties()
5126 VkResult ResourceTracker::on_vkEnumeratePhysicalDevices( in on_vkEnumeratePhysicalDevices()
5135 void ResourceTracker::on_vkGetPhysicalDeviceProperties( in on_vkGetPhysicalDeviceProperties()
5143 void ResourceTracker::on_vkGetPhysicalDeviceProperties2( in on_vkGetPhysicalDeviceProperties2()
5151 void ResourceTracker::on_vkGetPhysicalDeviceProperties2KHR( in on_vkGetPhysicalDeviceProperties2KHR()
5159 void ResourceTracker::on_vkGetPhysicalDeviceMemoryProperties( in on_vkGetPhysicalDeviceMemoryProperties()
5167 void ResourceTracker::on_vkGetPhysicalDeviceMemoryProperties2( in on_vkGetPhysicalDeviceMemoryProperties2()
5175 void ResourceTracker::on_vkGetPhysicalDeviceMemoryProperties2KHR( in on_vkGetPhysicalDeviceMemoryProperties2KHR()
5183 VkResult ResourceTracker::on_vkCreateInstance( in on_vkCreateInstance()
5193 VkResult ResourceTracker::on_vkCreateDevice( in on_vkCreateDevice()
5204 void ResourceTracker::on_vkDestroyDevice_pre( in on_vkDestroyDevice_pre()
5211 VkResult ResourceTracker::on_vkAllocateMemory( in on_vkAllocateMemory()
5222 void ResourceTracker::on_vkFreeMemory( in on_vkFreeMemory()
5231 VkResult ResourceTracker::on_vkMapMemory( in on_vkMapMemory()
5244 void ResourceTracker::on_vkUnmapMemory( in on_vkUnmapMemory()
5251 VkResult ResourceTracker::on_vkCreateImage( in on_vkCreateImage()
5261 void ResourceTracker::on_vkDestroyImage( in on_vkDestroyImage()
5268 void ResourceTracker::on_vkGetImageMemoryRequirements( in on_vkGetImageMemoryRequirements()
5275 void ResourceTracker::on_vkGetImageMemoryRequirements2( in on_vkGetImageMemoryRequirements2()
5282 void ResourceTracker::on_vkGetImageMemoryRequirements2KHR( in on_vkGetImageMemoryRequirements2KHR()
5289 VkResult ResourceTracker::on_vkBindImageMemory( in on_vkBindImageMemory()
5297 VkResult ResourceTracker::on_vkBindImageMemory2( in on_vkBindImageMemory2()
5304 VkResult ResourceTracker::on_vkBindImageMemory2KHR( in on_vkBindImageMemory2KHR()
5311 VkResult ResourceTracker::on_vkCreateBuffer( in on_vkCreateBuffer()
5321 void ResourceTracker::on_vkDestroyBuffer( in on_vkDestroyBuffer()
5327 void ResourceTracker::on_vkGetBufferMemoryRequirements( in on_vkGetBufferMemoryRequirements()
5332 void ResourceTracker::on_vkGetBufferMemoryRequirements2( in on_vkGetBufferMemoryRequirements2()
5339 void ResourceTracker::on_vkGetBufferMemoryRequirements2KHR( in on_vkGetBufferMemoryRequirements2KHR()
5346 VkResult ResourceTracker::on_vkBindBufferMemory( in on_vkBindBufferMemory()
5354 VkResult ResourceTracker::on_vkBindBufferMemory2( in on_vkBindBufferMemory2()
5362 VkResult ResourceTracker::on_vkBindBufferMemory2KHR( in on_vkBindBufferMemory2KHR()
5370 VkResult ResourceTracker::on_vkCreateSemaphore( in on_vkCreateSemaphore()
5380 void ResourceTracker::on_vkDestroySemaphore( in on_vkDestroySemaphore()
5386 VkResult ResourceTracker::on_vkQueueSubmit( in on_vkQueueSubmit()
5393 VkResult ResourceTracker::on_vkQueueWaitIdle( in on_vkQueueWaitIdle()
5399 VkResult ResourceTracker::on_vkGetSemaphoreFdKHR( in on_vkGetSemaphoreFdKHR()
5407 VkResult ResourceTracker::on_vkImportSemaphoreFdKHR( in on_vkImportSemaphoreFdKHR()
5414 void ResourceTracker::unwrap_VkNativeBufferANDROID( in unwrap_VkNativeBufferANDROID()
5420 void ResourceTracker::unwrap_vkAcquireImageANDROID_nativeFenceFd(int fd, int* fd_out) { in unwrap_vkAcquireImageANDROID_nativeFenceFd()
5425 VkResult ResourceTracker::on_vkGetMemoryZirconHandleFUCHSIA( in on_vkGetMemoryZirconHandleFUCHSIA()
5434 VkResult ResourceTracker::on_vkGetMemoryZirconHandlePropertiesFUCHSIA( in on_vkGetMemoryZirconHandlePropertiesFUCHSIA()
5444 VkResult ResourceTracker::on_vkGetSemaphoreZirconHandleFUCHSIA( in on_vkGetSemaphoreZirconHandleFUCHSIA()
5453 VkResult ResourceTracker::on_vkImportSemaphoreZirconHandleFUCHSIA( in on_vkImportSemaphoreZirconHandleFUCHSIA()
5461 VkResult ResourceTracker::on_vkCreateBufferCollectionFUCHSIA( in on_vkCreateBufferCollectionFUCHSIA()
5471 void ResourceTracker::on_vkDestroyBufferCollectionFUCHSIA( in on_vkDestroyBufferCollectionFUCHSIA()
5480 VkResult ResourceTracker::on_vkSetBufferCollectionConstraintsFUCHSIA( in on_vkSetBufferCollectionConstraintsFUCHSIA()
5489 VkResult ResourceTracker::on_vkSetBufferCollectionBufferConstraintsFUCHSIA( in on_vkSetBufferCollectionBufferConstraintsFUCHSIA()
5498 VkResult ResourceTracker::on_vkGetBufferCollectionPropertiesFUCHSIA( in on_vkGetBufferCollectionPropertiesFUCHSIA()
5508 VkResult ResourceTracker::on_vkGetAndroidHardwareBufferPropertiesANDROID( in on_vkGetAndroidHardwareBufferPropertiesANDROID()
5516 VkResult ResourceTracker::on_vkGetMemoryAndroidHardwareBufferANDROID( in on_vkGetMemoryAndroidHardwareBufferANDROID()
5526 VkResult ResourceTracker::on_vkCreateSamplerYcbcrConversion( in on_vkCreateSamplerYcbcrConversion()
5536 void ResourceTracker::on_vkDestroySamplerYcbcrConversion( in on_vkDestroySamplerYcbcrConversion()
5545 VkResult ResourceTracker::on_vkCreateSamplerYcbcrConversionKHR( in on_vkCreateSamplerYcbcrConversionKHR()
5555 void ResourceTracker::on_vkDestroySamplerYcbcrConversionKHR( in on_vkDestroySamplerYcbcrConversionKHR()
5564 VkResult ResourceTracker::on_vkCreateSampler( in on_vkCreateSampler()
5574 void ResourceTracker::on_vkGetPhysicalDeviceExternalFenceProperties( in on_vkGetPhysicalDeviceExternalFenceProperties()
5583 void ResourceTracker::on_vkGetPhysicalDeviceExternalFencePropertiesKHR( in on_vkGetPhysicalDeviceExternalFencePropertiesKHR()
5592 VkResult ResourceTracker::on_vkCreateFence( in on_vkCreateFence()
5602 void ResourceTracker::on_vkDestroyFence( in on_vkDestroyFence()
5611 VkResult ResourceTracker::on_vkResetFences( in on_vkResetFences()
5621 VkResult ResourceTracker::on_vkImportFenceFdKHR( in on_vkImportFenceFdKHR()
5630 VkResult ResourceTracker::on_vkGetFenceFdKHR( in on_vkGetFenceFdKHR()
5640 VkResult ResourceTracker::on_vkWaitForFences( in on_vkWaitForFences()
5652 VkResult ResourceTracker::on_vkCreateDescriptorPool( in on_vkCreateDescriptorPool()
5663 void ResourceTracker::on_vkDestroyDescriptorPool( in on_vkDestroyDescriptorPool()
5671 VkResult ResourceTracker::on_vkResetDescriptorPool( in on_vkResetDescriptorPool()
5681 VkResult ResourceTracker::on_vkAllocateDescriptorSets( in on_vkAllocateDescriptorSets()
5691 VkResult ResourceTracker::on_vkFreeDescriptorSets( in on_vkFreeDescriptorSets()
5702 VkResult ResourceTracker::on_vkCreateDescriptorSetLayout( in on_vkCreateDescriptorSetLayout()
5713 void ResourceTracker::on_vkUpdateDescriptorSets( in on_vkUpdateDescriptorSets()
5724 VkResult ResourceTracker::on_vkMapMemoryIntoAddressSpaceGOOGLE_pre( in on_vkMapMemoryIntoAddressSpaceGOOGLE_pre()
5734 VkResult ResourceTracker::on_vkMapMemoryIntoAddressSpaceGOOGLE( in on_vkMapMemoryIntoAddressSpaceGOOGLE()
5744 VkResult ResourceTracker::on_vkCreateDescriptorUpdateTemplate( in on_vkCreateDescriptorUpdateTemplate()
5755 VkResult ResourceTracker::on_vkCreateDescriptorUpdateTemplateKHR( in on_vkCreateDescriptorUpdateTemplateKHR()
5766 void ResourceTracker::on_vkUpdateDescriptorSetWithTemplate( in on_vkUpdateDescriptorSetWithTemplate()
5777 VkResult ResourceTracker::on_vkGetPhysicalDeviceImageFormatProperties2( in on_vkGetPhysicalDeviceImageFormatProperties2()
5787 VkResult ResourceTracker::on_vkGetPhysicalDeviceImageFormatProperties2KHR( in on_vkGetPhysicalDeviceImageFormatProperties2KHR()
5797 void ResourceTracker::registerEncoderCleanupCallback(const VkEncoder* encoder, void* handle, Resour… in registerEncoderCleanupCallback()
5801 void ResourceTracker::unregisterEncoderCleanupCallback(const VkEncoder* encoder, void* handle) { in unregisterEncoderCleanupCallback()
5805 void ResourceTracker::onEncoderDeleted(const VkEncoder* encoder) { in onEncoderDeleted()
5809 uint32_t ResourceTracker::syncEncodersForCommandBuffer(VkCommandBuffer commandBuffer, VkEncoder* cu… in syncEncodersForCommandBuffer()
5813 uint32_t ResourceTracker::syncEncodersForQueue(VkQueue queue, VkEncoder* current) { in syncEncodersForQueue()
5818 VkResult ResourceTracker::on_vkBeginCommandBuffer( in on_vkBeginCommandBuffer()
5826 VkResult ResourceTracker::on_vkEndCommandBuffer( in on_vkEndCommandBuffer()
5833 VkResult ResourceTracker::on_vkResetCommandBuffer( in on_vkResetCommandBuffer()
5841 VkResult ResourceTracker::on_vkCreateImageView( in on_vkCreateImageView()
5851 void ResourceTracker::deviceMemoryTransform_tohost( in deviceMemoryTransform_tohost()
5865 void ResourceTracker::deviceMemoryTransform_fromhost( in deviceMemoryTransform_fromhost()
5880 void ResourceTracker::transformImpl_##type##_tohost(const type*, uint32_t) { } \
5881 void ResourceTracker::transformImpl_##type##_fromhost(const type*, uint32_t) { } \