Home
last modified time | relevance | path

Searched refs:phyDevMemProps (Results 1 – 5 of 5) sorted by relevance

/external/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp95 VkPhysicalDeviceMemoryProperties phyDevMemProps; in createBackendTexture() local
97 &phyDevMemProps)); in createBackendTexture()
98 for (uint32_t i = 0; i < phyDevMemProps.memoryTypeCount && !foundHeap; ++i) { in createBackendTexture()
101 if (phyDevMemProps.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) { in createBackendTexture()
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp414 VkPhysicalDeviceMemoryProperties2 phyDevMemProps; in make_vk_backend_texture() local
415 phyDevMemProps.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2; in make_vk_backend_texture()
416 phyDevMemProps.pNext = nullptr; in make_vk_backend_texture()
421 VK_CALL(GetPhysicalDeviceMemoryProperties2(physicalDevice, &phyDevMemProps)); in make_vk_backend_texture()
422 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in make_vk_backend_texture()
425 const VkPhysicalDeviceMemoryProperties& pdmp = phyDevMemProps.memoryProperties; in make_vk_backend_texture()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp258 VkPhysicalDeviceMemoryProperties2 phyDevMemProps; in make_vk_backend_texture() local
259 phyDevMemProps.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2; in make_vk_backend_texture()
260 phyDevMemProps.pNext = nullptr; in make_vk_backend_texture()
265 VK_CALL(GetPhysicalDeviceMemoryProperties2(physicalDevice, &phyDevMemProps)); in make_vk_backend_texture()
266 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in make_vk_backend_texture()
269 const VkPhysicalDeviceMemoryProperties& pdmp = phyDevMemProps.memoryProperties; in make_vk_backend_texture()
/external/skia/tests/
DVkHardwareBufferTest.cpp724 VkPhysicalDeviceMemoryProperties2 phyDevMemProps; in importHardwareBuffer() local
725 phyDevMemProps.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2; in importHardwareBuffer()
726 phyDevMemProps.pNext = nullptr; in importHardwareBuffer()
731 fVkGetPhysicalDeviceMemoryProperties2(fBackendContext.fPhysicalDevice, &phyDevMemProps); in importHardwareBuffer()
732 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in importHardwareBuffer()
735 const VkPhysicalDeviceMemoryProperties& pdmp = phyDevMemProps.memoryProperties; in importHardwareBuffer()
/external/skqp/tests/
DVkHardwareBufferTest.cpp732 VkPhysicalDeviceMemoryProperties2 phyDevMemProps; in importHardwareBuffer() local
733 phyDevMemProps.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2; in importHardwareBuffer()
734 phyDevMemProps.pNext = nullptr; in importHardwareBuffer()
739 fVkGetPhysicalDeviceMemoryProperties2(fBackendContext.fPhysicalDevice, &phyDevMemProps); in importHardwareBuffer()
740 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in importHardwareBuffer()
743 const VkPhysicalDeviceMemoryProperties& pdmp = phyDevMemProps.memoryProperties; in importHardwareBuffer()