Lines Matching refs:imageDesc

508     GrVkImage::ImageDesc imageDesc;  in onCreateTexture()  local
509 imageDesc.fImageType = VK_IMAGE_TYPE_2D; in onCreateTexture()
510 imageDesc.fFormat = pixelFormat; in onCreateTexture()
511 imageDesc.fWidth = desc.fWidth; in onCreateTexture()
512 imageDesc.fHeight = desc.fHeight; in onCreateTexture()
513 imageDesc.fLevels = 1; in onCreateTexture()
514 imageDesc.fSamples = 1; in onCreateTexture()
515 imageDesc.fImageTiling = linearTiling ? VK_IMAGE_TILING_LINEAR : VK_IMAGE_TILING_OPTIMAL; in onCreateTexture()
516 imageDesc.fUsageFlags = usageFlags; in onCreateTexture()
517 imageDesc.fMemProps = memProps; in onCreateTexture()
522 imageDesc); in onCreateTexture()
524 tex = GrVkTexture::CreateNewTexture(this, desc, lifeCycle, imageDesc); in onCreateTexture()
746 GrVkImage::ImageDesc imageDesc; in createTestingOnlyBackendTexture() local
747 imageDesc.fImageType = VK_IMAGE_TYPE_2D; in createTestingOnlyBackendTexture()
748 imageDesc.fFormat = pixelFormat; in createTestingOnlyBackendTexture()
749 imageDesc.fWidth = w; in createTestingOnlyBackendTexture()
750 imageDesc.fHeight = h; in createTestingOnlyBackendTexture()
751 imageDesc.fLevels = 1; in createTestingOnlyBackendTexture()
752 imageDesc.fSamples = 1; in createTestingOnlyBackendTexture()
753 imageDesc.fImageTiling = linearTiling ? VK_IMAGE_TILING_LINEAR : VK_IMAGE_TILING_OPTIMAL; in createTestingOnlyBackendTexture()
754 imageDesc.fUsageFlags = usageFlags; in createTestingOnlyBackendTexture()
755 imageDesc.fMemProps = memProps; in createTestingOnlyBackendTexture()
757 const GrVkImage::Resource* imageRsrc = GrVkImage::CreateResource(this, imageDesc); in createTestingOnlyBackendTexture()