Home
last modified time | relevance | path

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

/external/skia/src/gpu/vk/
DGrVkImage.cpp67 bool GrVkImage::InitImageInfo(const GrVkGpu* gpu, const ImageDesc& imageDesc, GrVkImageInfo* info) { in InitImageInfo() argument
68 if (0 == imageDesc.fWidth || 0 == imageDesc.fHeight) { in InitImageInfo()
74 bool isLinear = VK_IMAGE_TILING_LINEAR == imageDesc.fImageTiling; in InitImageInfo()
80 if (!GrSampleCountToVkSampleCount(imageDesc.fSamples, &vkSamples)) { in InitImageInfo()
84 SkASSERT(VK_IMAGE_TILING_OPTIMAL == imageDesc.fImageTiling || in InitImageInfo()
88 VkImageCreateFlags createFlags = GrVkFormatIsSRGB(imageDesc.fFormat, nullptr) in InitImageInfo()
95 imageDesc.fImageType, // VkImageType in InitImageInfo()
96 imageDesc.fFormat, // VkFormat in InitImageInfo()
97 { imageDesc.fWidth, imageDesc.fHeight, 1 }, // VkExtent3D in InitImageInfo()
98 imageDesc.fLevels, // mipLevels in InitImageInfo()
[all …]
DGrVkStencilAttachment.cpp34 GrVkImage::ImageDesc imageDesc; in Create() local
35 imageDesc.fImageType = VK_IMAGE_TYPE_2D; in Create()
36 imageDesc.fFormat = format.fInternalFormat; in Create()
37 imageDesc.fWidth = width; in Create()
38 imageDesc.fHeight = height; in Create()
39 imageDesc.fLevels = 1; in Create()
40 imageDesc.fSamples = sampleCnt; in Create()
41 imageDesc.fImageTiling = VK_IMAGE_TILING_OPTIMAL; in Create()
42 imageDesc.fUsageFlags = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT | in Create()
44 imageDesc.fMemProps = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in Create()
[all …]
DGrVkTexture.cpp65 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()
[all …]
DGrVkTextureRenderTarget.cpp121 const GrVkImage::ImageDesc& imageDesc) { in CreateNewTextureRenderTarget() argument
122 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT); in CreateNewTextureRenderTarget()
123 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_SAMPLED_BIT); in CreateNewTextureRenderTarget()
126 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { in CreateNewTextureRenderTarget()
DGrVkRenderTarget.cpp182 const GrVkImage::ImageDesc& imageDesc) { in CreateNewRenderTarget() argument
183 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT); in CreateNewRenderTarget()
186 if (!GrVkImage::InitImageInfo(gpu, imageDesc, &info)) { in CreateNewRenderTarget()
DGrVkGpu.cpp695 GrVkImage::ImageDesc imageDesc; in onCreateTexture() local
696 imageDesc.fImageType = VK_IMAGE_TYPE_2D; in onCreateTexture()
697 imageDesc.fFormat = pixelFormat; in onCreateTexture()
698 imageDesc.fWidth = desc.fWidth; in onCreateTexture()
699 imageDesc.fHeight = desc.fHeight; in onCreateTexture()
700 imageDesc.fLevels = linearTiling ? 1 : mipLevels; in onCreateTexture()
701 imageDesc.fSamples = 1; in onCreateTexture()
702 imageDesc.fImageTiling = linearTiling ? VK_IMAGE_TILING_LINEAR : VK_IMAGE_TILING_OPTIMAL; in onCreateTexture()
703 imageDesc.fUsageFlags = usageFlags; in onCreateTexture()
704 imageDesc.fMemProps = memProps; in onCreateTexture()
[all …]
DGrVkImage.h83 static bool InitImageInfo(const GrVkGpu* gpu, const ImageDesc& imageDesc, GrVkImageInfo*);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.ui.ide_3.6.2.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...