Searched refs:vkImageInfo (Results 1 – 5 of 5) sorted by relevance
68 VkImageCreateInfo vkImageInfo = {}; in createBackendTexture() local69 vkImageInfo.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in createBackendTexture()70 vkImageInfo.imageType = VK_IMAGE_TYPE_2D; in createBackendTexture()71 vkImageInfo.format = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM; in createBackendTexture()72 vkImageInfo.extent = VkExtent3D{width, height, 1}; in createBackendTexture()73 vkImageInfo.mipLevels = 1; in createBackendTexture()74 vkImageInfo.arrayLayers = 1; in createBackendTexture()75 vkImageInfo.samples = VK_SAMPLE_COUNT_1_BIT; in createBackendTexture()76 vkImageInfo.tiling = VK_IMAGE_TILING_LINEAR; in createBackendTexture()77 vkImageInfo.usage = VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT | in createBackendTexture()[all …]
205 VkImageCreateInfo vkImageInfo = {}; in createI420Image() local206 vkImageInfo.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; in createI420Image()207 vkImageInfo.imageType = VK_IMAGE_TYPE_2D; in createI420Image()208 vkImageInfo.format = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM; in createI420Image()209 vkImageInfo.extent = VkExtent3D{kImageWidth, kImageHeight, 1}; in createI420Image()210 vkImageInfo.mipLevels = 1; in createI420Image()211 vkImageInfo.arrayLayers = 1; in createI420Image()212 vkImageInfo.samples = VK_SAMPLE_COUNT_1_BIT; in createI420Image()213 vkImageInfo.tiling = VK_IMAGE_TILING_LINEAR; in createI420Image()214 vkImageInfo.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in createI420Image()[all …]
77 const GrVkImageInfo& vkImageInfo() const { return fInfo; } in vkImageInfo() function81 this->vkImageInfo().fImageTiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT; in backendFormat()
159 return GrBackendTexture(fTexture->width(), fTexture->height(), fTexture->vkImageInfo(), in getBackendTexture()
489 beAttachment->vkImageInfo(), beAttachment->getMutableState()); in getBackendRenderTarget()