Home
last modified time | relevance | path

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

/external/skia/src/gpu/vk/
DGrVkImage.cpp48 const ImageDesc& imageDesc) { in CreateResource() argument
54 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 …]
DGrVkStencilAttachment.cpp37 GrVkImage::ImageDesc imageDesc; in Create() local
38 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 …]
DGrVkGpu.cpp508 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()
[all …]
DGrVkTextureRenderTarget.cpp120 const GrVkImage::ImageDesc& imageDesc) { in CreateNewTextureRenderTarget() argument
121 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()
DGrVkTexture.cpp58 const GrVkImage::ImageDesc& imageDesc) { in CreateNewTexture() argument
59 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()
DGrVkRenderTarget.cpp188 const GrVkImage::ImageDesc& imageDesc) { in CreateNewRenderTarget() argument
189 SkASSERT(imageDesc.fUsageFlags & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT); in CreateNewRenderTarget()
191 const GrVkImage::Resource* imageResource = GrVkImage::CreateResource(gpu, imageDesc); in CreateNewRenderTarget()
DGrVkImage.h95 static const Resource* CreateResource(const GrVkGpu* gpu, const ImageDesc& imageDesc);
/external/skia/src/images/
DSkMovie_gif.cpp135 int copyHeight, const GifImageDesc& imageDesc, int rowStep, in copyInterlaceGroup() argument
141 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()
/external/opencv3/modules/videoio/src/
Dcap_qt.cpp975 ImageDescriptionHandle imageDesc = (ImageDescriptionHandle)NewHandle(0); in icvOpenCamera_QT() local
976 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()
/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 ...