Searched refs:imageDesc (Results 1 – 11 of 11) sorted by relevance
48 const ImageDesc& imageDesc) { in CreateResource() argument54 VkImageLayout initialLayout = (VK_IMAGE_TILING_LINEAR == imageDesc.fImageTiling) in CreateResource()60 if (!GrSampleCountToVkSampleCount(imageDesc.fSamples, &vkSamples)) { in CreateResource()67 imageDesc.fImageType, // VkImageType in CreateResource()68 imageDesc.fFormat, // VkFormat in CreateResource()69 { imageDesc.fWidth, imageDesc.fHeight, 1 }, // VkExtent3D in CreateResource()70 imageDesc.fLevels, // mipLevels in CreateResource()73 imageDesc.fImageTiling, // VkImageTiling in CreateResource()74 imageDesc.fUsageFlags, // VkImageUsageFlags in CreateResource()84 if (!GrVkMemory::AllocAndBindImageMemory(gpu, image, imageDesc.fMemProps, &alloc)) { in CreateResource()[all …]
37 GrVkImage::ImageDesc imageDesc; in Create() local38 imageDesc.fImageType = VK_IMAGE_TYPE_2D; in Create()39 imageDesc.fFormat = format.fInternalFormat; in Create()40 imageDesc.fWidth = width; in Create()41 imageDesc.fHeight = height; in Create()42 imageDesc.fLevels = 1; in Create()43 imageDesc.fSamples = sampleCnt; in Create()44 imageDesc.fImageTiling = VK_IMAGE_TILING_OPTIMAL; in Create()45 imageDesc.fUsageFlags = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in Create()46 imageDesc.fMemProps = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in Create()[all …]
508 GrVkImage::ImageDesc imageDesc; in onCreateTexture() local509 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()[all …]
120 const GrVkImage::ImageDesc& imageDesc) { in CreateNewTextureRenderTarget() argument121 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT); in CreateNewTextureRenderTarget()122 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_SAMPLED_BIT); in CreateNewTextureRenderTarget()124 const GrVkImage::Resource* imageRsrc = GrVkImage::CreateResource(gpu, imageDesc); in CreateNewTextureRenderTarget()131 imageDesc.fFormat, imageRsrc); in CreateNewTextureRenderTarget()
58 const GrVkImage::ImageDesc& imageDesc) { in CreateNewTexture() argument59 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_SAMPLED_BIT); in CreateNewTexture()61 const GrVkImage::Resource* imageResource = GrVkImage::CreateResource(gpu, imageDesc); in CreateNewTexture()66 GrVkTexture* texture = Create(gpu, desc, lifeCycle, imageDesc.fFormat, imageResource); in CreateNewTexture()
188 const GrVkImage::ImageDesc& imageDesc) { in CreateNewRenderTarget() argument189 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT); in CreateNewRenderTarget()191 const GrVkImage::Resource* imageResource = GrVkImage::CreateResource(gpu, imageDesc); in CreateNewRenderTarget()
95 static const Resource* CreateResource(const GrVkGpu* gpu, const ImageDesc& imageDesc);
135 int copyHeight, const GifImageDesc& imageDesc, int rowStep, in copyInterlaceGroup() argument141 uint32_t* dst = bm->getAddr32(imageDesc.Left, imageDesc.Top + row); in copyInterlaceGroup()143 src += imageDesc.Width; in copyInterlaceGroup()147 src += imageDesc.Width * ((imageDesc.Height - row + rowStep - 1) / rowStep); in copyInterlaceGroup()
975 ImageDescriptionHandle imageDesc = (ImageDescriptionHandle)NewHandle(0); in icvOpenCamera_QT() local976 result = SGGetChannelSampleDescription(capture->channel, (Handle)imageDesc); in icvOpenCamera_QT()978 capture->bounds.right = (**imageDesc).width; in icvOpenCamera_QT()979 capture->bounds.bottom = (**imageDesc).height; in icvOpenCamera_QT()980 DisposeHandle ((Handle) imageDesc); in icvOpenCamera_QT()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...