Lines Matching refs:imageDesc
65 const GrVkImage::ImageDesc& imageDesc) { in CreateNewTexture() argument
66 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_SAMPLED_BIT); in CreateNewTexture()
69 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { in CreateNewTexture()
198 GrVkImage::ImageDesc imageDesc; in reallocForMipmap() local
199 imageDesc.fImageType = VK_IMAGE_TYPE_2D; in reallocForMipmap()
200 imageDesc.fFormat = fInfo.fFormat; in reallocForMipmap()
201 imageDesc.fWidth = fDesc.fWidth; in reallocForMipmap()
202 imageDesc.fHeight = fDesc.fHeight; in reallocForMipmap()
203 imageDesc.fLevels = mipLevels; in reallocForMipmap()
204 imageDesc.fSamples = 1; in reallocForMipmap()
205 imageDesc.fImageTiling = VK_IMAGE_TILING_OPTIMAL; in reallocForMipmap()
206 imageDesc.fUsageFlags = usageFlags; in reallocForMipmap()
207 imageDesc.fMemProps = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in reallocForMipmap()
210 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { in reallocForMipmap()