Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp248 VkPhysicalDeviceImageFormatInfo2 imageFormatInfo; in InitializeWindowInfoStruct() local
249 imageFormatInfo.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2; in InitializeWindowInfoStruct()
250 imageFormatInfo.pNext = &externalImageFormatInfo; in InitializeWindowInfoStruct()
251 imageFormatInfo.format = vkPixelFormat; in InitializeWindowInfoStruct()
252 imageFormatInfo.type = VK_IMAGE_TYPE_2D; in InitializeWindowInfoStruct()
253 imageFormatInfo.tiling = VK_IMAGE_TILING_OPTIMAL; in InitializeWindowInfoStruct()
256 imageFormatInfo.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_SAMPLED_BIT | in InitializeWindowInfoStruct()
258 imageFormatInfo.flags = 0; in InitializeWindowInfoStruct()
269 vkManager.mPhysicalDevice, &imageFormatInfo, &imgFormProps); in InitializeWindowInfoStruct()