Home
last modified time | relevance | path

Searched refs:imageFormat (Results 1 – 25 of 268) sorted by relevance

1234567891011

/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
DIndexSubTable.java40 private final int imageFormat; field in IndexSubTable
59 this.imageFormat = this.data.readUShort(Offset.indexSubHeader_imageFormat.offset); in IndexSubTable()
75 public int imageFormat() { in imageFormat() method in IndexSubTable
76 return this.imageFormat; in imageFormat()
93 this.glyphLength(glyphId), this.imageFormat()); in glyphInfo()
131 + ", image format = " + this.imageFormat() + ", imageOff = " in toString()
145 private int imageFormat; field in IndexSubTable.Builder
211 protected Builder(int indexFormat, int imageFormat, int imageDataOffset, int dataSize) { in Builder() argument
213 this.imageFormat = imageFormat; in Builder()
236 this.imageFormat = data.readUShort(Offset.indexSubHeader_imageFormat.offset); in initialize()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
DIndexSubTable.java40 private final int imageFormat; field in IndexSubTable
59 this.imageFormat = this.data.readUShort(Offset.indexSubHeader_imageFormat.offset); in IndexSubTable()
75 public int imageFormat() { in imageFormat() method in IndexSubTable
76 return this.imageFormat; in imageFormat()
93 this.glyphLength(glyphId), this.imageFormat()); in glyphInfo()
131 + ", image format = " + this.imageFormat() + ", imageOff = " in toString()
145 private int imageFormat; field in IndexSubTable.Builder
211 protected Builder(int indexFormat, int imageFormat, int imageDataOffset, int dataSize) { in Builder() argument
213 this.imageFormat = imageFormat; in Builder()
236 this.imageFormat = data.readUShort(Offset.indexSubHeader_imageFormat.offset); in initialize()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dcl_utils.cpp90 bool IsValidImageFormat(const cl_image_format *imageFormat, const rx::CLExtensions &extensions) in IsValidImageFormat() argument
92 if (imageFormat == nullptr) in IsValidImageFormat()
96 switch (imageFormat->image_channel_order) in IsValidImageFormat()
132 if (imageFormat->image_channel_data_type != CL_UNORM_INT16 && in IsValidImageFormat()
133 imageFormat->image_channel_data_type != CL_FLOAT) in IsValidImageFormat()
146 switch (imageFormat->image_channel_data_type) in IsValidImageFormat()
165 if (imageFormat->image_channel_order != CL_RGB && in IsValidImageFormat()
166 imageFormat->image_channel_order != CL_RGBx) in IsValidImageFormat()
174 imageFormat->image_channel_order != CL_RGBA) in IsValidImageFormat()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineSamplerTests.cpp105 VkFormat imageFormat,
113 VkFormat imageFormat,
150 VkFormat imageFormat,
168 VkFormat imageFormat,
186 VkFormat imageFormat,
208 VkFormat imageFormat,
230 VkFormat imageFormat,
269 VkFormat imageFormat,
302 VkFormat imageFormat, in SamplerTest() argument
310 , m_imageFormat (imageFormat) in SamplerTest()
[all …]
DvktPipelineImageViewTests.cpp60 VkFormat imageFormat,
67 VkFormat imageFormat,
97 VkFormat imageFormat, in ImageViewTest() argument
105 , m_imageFormat (imageFormat) in ImageViewTest()
113 VkFormat imageFormat, in getImageSamplingInstanceParams() argument
141 …getFormatBorderColor(BORDER_COLOR_TRANSPARENT_BLACK, imageFormat, false), // VkBorderColor borde… in getImageSamplingInstanceParams()
145 …gInstanceParams(m_pipelineConstructionType, renderSize, imageViewType, imageFormat, imageSize, arr… in getImageSamplingInstanceParams()
358 … PipelineConstructionType pipelineConstructionType, VkImageViewType viewType, VkFormat imageFormat) in createSubresourceRangeTests() argument
382 pipelineConstructionType,viewType, imageFormat, \ in createSubresourceRangeTests()
627 … PipelineConstructionType pipelineConstructionType, VkImageViewType viewType, VkFormat imageFormat) in createComponentSwizzleTests() argument
[all …]
DvktPipelineImageTests.cpp59 VkFormat imageFormat,
69 VkFormat imageFormat,
107 VkFormat imageFormat, in ImageTest() argument
119 , m_imageFormat (imageFormat) in ImageTest()
154 VkFormat imageFormat, in getImageSamplingInstanceParams() argument
201 …getFormatBorderColor(BORDER_COLOR_TRANSPARENT_BLACK, imageFormat, false), // VkBorderColor borde… in getImageSamplingInstanceParams()
212 …gInstanceParams(m_pipelineConstructionType, renderSize, imageViewType, imageFormat, imageSize, arr… in getImageSamplingInstanceParams()
476 …VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat, int imageCount) in createImageSizeTests() argument
629 imageFormat, in createImageSizeTests()
643 …nstructionType, VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat) in createImageCountTests() argument
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp105 VkFormat imageFormat,
113 VkFormat imageFormat,
150 VkFormat imageFormat,
168 VkFormat imageFormat,
186 VkFormat imageFormat,
208 VkFormat imageFormat,
230 VkFormat imageFormat,
269 VkFormat imageFormat,
302 VkFormat imageFormat, in SamplerTest() argument
310 , m_imageFormat (imageFormat) in SamplerTest()
[all …]
DvktPipelineImageViewTests.cpp60 VkFormat imageFormat,
67 VkFormat imageFormat,
97 VkFormat imageFormat, in ImageViewTest() argument
105 , m_imageFormat (imageFormat) in ImageViewTest()
113 VkFormat imageFormat, in getImageSamplingInstanceParams() argument
141 …getFormatBorderColor(BORDER_COLOR_TRANSPARENT_BLACK, imageFormat, false), // VkBorderColor borde… in getImageSamplingInstanceParams()
145 …gInstanceParams(m_pipelineConstructionType, renderSize, imageViewType, imageFormat, imageSize, arr… in getImageSamplingInstanceParams()
358 … PipelineConstructionType pipelineConstructionType, VkImageViewType viewType, VkFormat imageFormat) in createSubresourceRangeTests() argument
382 pipelineConstructionType,viewType, imageFormat, \ in createSubresourceRangeTests()
627 … PipelineConstructionType pipelineConstructionType, VkImageViewType viewType, VkFormat imageFormat) in createComponentSwizzleTests() argument
[all …]
DvktPipelineImageTests.cpp59 VkFormat imageFormat,
69 VkFormat imageFormat,
107 VkFormat imageFormat, in ImageTest() argument
119 , m_imageFormat (imageFormat) in ImageTest()
154 VkFormat imageFormat, in getImageSamplingInstanceParams() argument
201 …getFormatBorderColor(BORDER_COLOR_TRANSPARENT_BLACK, imageFormat, false), // VkBorderColor borde… in getImageSamplingInstanceParams()
212 …gInstanceParams(m_pipelineConstructionType, renderSize, imageViewType, imageFormat, imageSize, arr… in getImageSamplingInstanceParams()
476 …VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat, int imageCount) in createImageSizeTests() argument
629 imageFormat, in createImageSizeTests()
643 …nstructionType, VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat) in createImageCountTests() argument
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageExtendedUsageBitTests.cpp133 VkFormat imageFormat; member
178 if (!isCompatibleFormat((VkFormat)viewFormat, params.imageFormat)) in testExtendedUsageBitCompatiblity()
196 …alDeviceImageFormatProperties(vki, context.getPhysicalDevice(), params.imageFormat, params.tiling,… in testExtendedUsageBitCompatiblity()
213 ….getPhysicalDeviceFormatProperties(context.getPhysicalDevice(), params.imageFormat, &formatPropert… in checkSupport()
293 …for (VkFormat imageFormat = (VkFormat)(VK_FORMAT_UNDEFINED + 1); imageFormat < VK_CORE_FORMAT_LAST… in createImageExtendedUsageBitTests() local
299 struct TestParams params = { imageFormat, usages[usageNdx].usage, tiling[tilingNdx].tiling }; in createImageExtendedUsageBitTests()
302 …name << getFormatShortString(imageFormat) << "_" << tiling[tilingNdx].name << "_" << de::toLower(u… in createImageExtendedUsageBitTests()
DvktImageTransfer.cpp62 VkFormat imageFormat; member
106 … = vki.getPhysicalDeviceImageFormatProperties(physicalDevice, m_params.imageFormat, m_params.image… in checkSupport()
110 …TCU_THROW(NotSupportedError, "Error: format " + de::toString(m_params.imageFormat) + " does not su… in checkSupport()
134 const auto tcuFormat = mapVkFormat(m_params.imageFormat); in iterate()
169 m_params.imageFormat, // VkFormat format; in iterate()
186 de::Random randomGen (deInt32Hash((deUint32)m_params.imageFormat) ^ in iterate()
192 …andomNoNaN(&randomGen, generatedData.data(), (deUint32)generatedData.size(), m_params.imageFormat); in iterate()
203 const bool isCompressed = isCompressedFormat(m_params.imageFormat); in iterate()
204 const deUint32 blockHeight = (isCompressed) ? getBlockHeight(m_params.imageFormat) : 1u; in iterate()
456 params.imageFormat = format; in createTransferQueueImageTests()
DvktImageSubresourceLayoutTests.cpp180 VkFormat imageFormat; member
228 …to formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice, m_params.imageFormat); in checkSupport()
233 … = vki.getPhysicalDeviceImageFormatProperties(physicalDevice, m_params.imageFormat, m_params.image… in checkSupport()
239 …BufferLevels levels (m_params.imageType, m_params.imageFormat, m_params.dimensions, m_params.mipLe… in checkSupport()
345 const auto tcuFormat = mapVkFormat(m_params.imageFormat); in iterate()
387 …const BufferLevels bufferLevels (m_params.imageType, m_params.imageFormat, m_params.dimensions, m_… in iterateAspect()
400 …const deUint32 randomSeed = 1594055758u + static_cast<deUint32>(m_params.imageFormat) + static_cas… in iterateAspect()
402 const auto tcuFormat = mapVkFormat(m_params.imageFormat); in iterateAspect()
404 …const bool use24LSB = ((m_params.imageFormat == VK_FORMAT_X8_D24_UNORM_PACK32 || m_params.imageFo… in iterateAspect()
406 …if (tcuFormat.type == tcu::TextureFormat::FLOAT || (m_params.imageFormat == VK_FORMAT_D32_SFLOAT_S… in iterateAspect()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageExtendedUsageBitTests.cpp133 VkFormat imageFormat; member
178 if (!isCompatibleFormat((VkFormat)viewFormat, params.imageFormat)) in testExtendedUsageBitCompatiblity()
196 …alDeviceImageFormatProperties(vki, context.getPhysicalDevice(), params.imageFormat, params.tiling,… in testExtendedUsageBitCompatiblity()
213 ….getPhysicalDeviceFormatProperties(context.getPhysicalDevice(), params.imageFormat, &formatPropert… in checkSupport()
293 …for (VkFormat imageFormat = (VkFormat)(VK_FORMAT_UNDEFINED + 1); imageFormat < VK_CORE_FORMAT_LAST… in createImageExtendedUsageBitTests() local
299 struct TestParams params = { imageFormat, usages[usageNdx].usage, tiling[tilingNdx].tiling }; in createImageExtendedUsageBitTests()
302 …name << getFormatShortString(imageFormat) << "_" << tiling[tilingNdx].name << "_" << de::toLower(u… in createImageExtendedUsageBitTests()
DvktImageTransfer.cpp62 VkFormat imageFormat; member
106 … = vki.getPhysicalDeviceImageFormatProperties(physicalDevice, m_params.imageFormat, m_params.image… in checkSupport()
110 …TCU_THROW(NotSupportedError, "Error: format " + de::toString(m_params.imageFormat) + " does not su… in checkSupport()
134 const auto tcuFormat = mapVkFormat(m_params.imageFormat); in iterate()
169 m_params.imageFormat, // VkFormat format; in iterate()
186 de::Random randomGen (deInt32Hash((deUint32)m_params.imageFormat) ^ in iterate()
192 …andomNoNaN(&randomGen, generatedData.data(), (deUint32)generatedData.size(), m_params.imageFormat); in iterate()
203 const bool isCompressed = isCompressedFormat(m_params.imageFormat); in iterate()
204 const deUint32 blockHeight = (isCompressed) ? getBlockHeight(m_params.imageFormat) : 1u; in iterate()
456 params.imageFormat = format; in createTransferQueueImageTests()
DvktImageSubresourceLayoutTests.cpp180 VkFormat imageFormat; member
228 …to formatProperties = getPhysicalDeviceFormatProperties(vki, physicalDevice, m_params.imageFormat); in checkSupport()
233 … = vki.getPhysicalDeviceImageFormatProperties(physicalDevice, m_params.imageFormat, m_params.image… in checkSupport()
239 …BufferLevels levels (m_params.imageType, m_params.imageFormat, m_params.dimensions, m_params.mipLe… in checkSupport()
345 const auto tcuFormat = mapVkFormat(m_params.imageFormat); in iterate()
387 …const BufferLevels bufferLevels (m_params.imageType, m_params.imageFormat, m_params.dimensions, m_… in iterateAspect()
400 …const deUint32 randomSeed = 1594055758u + static_cast<deUint32>(m_params.imageFormat) + static_cas… in iterateAspect()
402 const auto tcuFormat = mapVkFormat(m_params.imageFormat); in iterateAspect()
404 …const bool use24LSB = ((m_params.imageFormat == VK_FORMAT_X8_D24_UNORM_PACK32 || m_params.imageFo… in iterateAspect()
406 …if (tcuFormat.type == tcu::TextureFormat::FLOAT || (m_params.imageFormat == VK_FORMAT_D32_SFLOAT_S… in iterateAspect()
[all …]
DvktImageAtomicOperationTests.cpp512 const VkFormat imageFormat = mapTextureFormat(format); in initDataForImage() local
515 if (imageFormat == VK_FORMAT_R64_UINT || imageFormat == VK_FORMAT_R64_SINT) in initDataForImage()
729 const VkFormat imageFormat = mapTextureFormat(m_format); in initPrograms() local
730 const deUint32 componentWidth = getFormatComponentWidth(imageFormat, 0); in initPrograms()
731 const bool intFormat = isIntFormat(imageFormat); in initPrograms()
732 const bool uintFormat = isUintFormat(imageFormat); in initPrograms()
733 const bool floatFormat = isFloatFormat(imageFormat); in initPrograms()
861 const VkFormat imageFormat = mapTextureFormat(m_format); in initPrograms() local
862 const deUint32 componentWidth = getFormatComponentWidth(imageFormat, 0); in initPrograms()
863 const bool intFormat = isIntFormat(imageFormat); in initPrograms()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemShaderImageAccessTests.cpp93 vk::VkFormat imageFormat; member
102 , imageFormat (vk::VK_FORMAT_UNDEFINED) in Params()
117 , imageFormat (imageFormat_) in Params()
133 …rams.shaderType) ^ deInt32Hash(params.accessType) ^ deInt32Hash(params.imageFormat) ^ deInt32Hash(… in getSeedValue()
271 , m_validator (params.imageFormat) in ImageAccessTestCase()
294 const tcu::TextureFormat& texFormat = mapVkFormat(m_params.imageFormat); in initPrograms()
295 const std::string imageFormat = getShaderImageFormatQualifier(texFormat); in initPrograms() local
298 const std::string colorVecType = isIntFormat(m_params.imageFormat) ? "ivec4" : in initPrograms()
299 isUintFormat(m_params.imageFormat) ? "uvec4" : "vec4"; in initPrograms()
373 << (isUintFormat(m_params.imageFormat) ? "uint" : "int") in initPrograms()
[all …]
DvktProtectedMemImageValidator.hpp46 ImageValidator (vk::VkFormat imageFormat = vk::VK_FORMAT_R8G8B8A8_UNORM) in ImageValidator() argument
47 : m_imageFormat (imageFormat) in ImageValidator()
55 const vk::VkFormat imageFormat,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
DvktProtectedMemShaderImageAccessTests.cpp93 vk::VkFormat imageFormat; member
102 , imageFormat (vk::VK_FORMAT_UNDEFINED) in Params()
117 , imageFormat (imageFormat_) in Params()
133 …rams.shaderType) ^ deInt32Hash(params.accessType) ^ deInt32Hash(params.imageFormat) ^ deInt32Hash(… in getSeedValue()
271 , m_validator (params.imageFormat) in ImageAccessTestCase()
294 const tcu::TextureFormat& texFormat = mapVkFormat(m_params.imageFormat); in initPrograms()
295 const std::string imageFormat = getShaderImageFormatQualifier(texFormat); in initPrograms() local
298 const std::string colorVecType = isIntFormat(m_params.imageFormat) ? "ivec4" : in initPrograms()
299 isUintFormat(m_params.imageFormat) ? "uvec4" : "vec4"; in initPrograms()
373 << (isUintFormat(m_params.imageFormat) ? "uint" : "int") in initPrograms()
[all …]
DvktProtectedMemImageValidator.hpp46 ImageValidator (vk::VkFormat imageFormat = vk::VK_FORMAT_R8G8B8A8_UNORM) in ImageValidator() argument
47 : m_imageFormat (imageFormat) in ImageValidator()
55 const vk::VkFormat imageFormat,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
DvktConditionalIgnoreTests.cpp113 …eInterface& vkd, const VkDevice device, Allocator& allocator, VkFormat imageFormat, VkExtent3D ima… in makeBufferForImage() argument
115 const auto tcuFormat = mapVkFormat(imageFormat); in makeBufferForImage()
130 const auto imageFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
157 imageFormat, // VkFormat format; in iterate()
172 …eImageView(vkd, device, colorAttachment->get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, colorSubresour… in iterate()
201 const auto outBuffer = makeBufferForImage(vkd, device, alloc, imageFormat, imageExtent); in iterate()
306 tcu::ConstPixelBufferAccess outPixels(mapVkFormat(imageFormat), imageDim, outBufferData); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalIgnoreTests.cpp113 …eInterface& vkd, const VkDevice device, Allocator& allocator, VkFormat imageFormat, VkExtent3D ima… in makeBufferForImage() argument
115 const auto tcuFormat = mapVkFormat(imageFormat); in makeBufferForImage()
130 const auto imageFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
157 imageFormat, // VkFormat format; in iterate()
172 …eImageView(vkd, device, colorAttachment->get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, colorSubresour… in iterate()
201 const auto outBuffer = makeBufferForImage(vkd, device, alloc, imageFormat, imageExtent); in iterate()
306 tcu::ConstPixelBufferAccess outPixels(mapVkFormat(imageFormat), imageDim, outBufferData); in iterate()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.cpp102 const angle::Format &imageFormat = vkFormat.imageFormat(); in initImpl() local
103 bool isDepthOrStencilFormat = imageFormat.depthBits > 0 || imageFormat.stencilBits > 0; in initImpl()
107 (imageFormat.redBits > 0 ? VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT : 0) | in initImpl()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawExplicitVertexParameterTests.cpp355 vk::VkFormat imageFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
362 …const ImageCreateInfo targetImageCreateInfo (VK_IMAGE_TYPE_2D, imageFormat, targetImageExtent, 1,… in iterate()
368 …const ImageCreateInfo multisampleTargetImageCreateInfo (VK_IMAGE_TYPE_2D, imageFormat, targetImag… in iterate()
374 …ViewCreateInfo colorTargetViewInfo(colorTargetImage->object(), VK_IMAGE_VIEW_TYPE_2D, imageFormat); in iterate()
379 …tisamplingTargetViewInfo(multisampleTargetImage->object(), vk::VK_IMAGE_VIEW_TYPE_2D, imageFormat); in iterate()
387 renderPassCreateInfo.addAttachment(AttachmentDescription(imageFormat, in iterate()
401 renderPassCreateInfo.addAttachment(AttachmentDescription(imageFormat, in iterate()
534 &imageFormat, in iterate()
567 …beginSecondaryCmdBuffer(*secCmdBuffer, imageFormat, VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFER… in iterate()
571 beginSecondaryCmdBuffer(*secCmdBuffer, imageFormat); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawExplicitVertexParameterTests.cpp355 vk::VkFormat imageFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
362 …const ImageCreateInfo targetImageCreateInfo (VK_IMAGE_TYPE_2D, imageFormat, targetImageExtent, 1,… in iterate()
368 …const ImageCreateInfo multisampleTargetImageCreateInfo (VK_IMAGE_TYPE_2D, imageFormat, targetImag… in iterate()
374 …ViewCreateInfo colorTargetViewInfo(colorTargetImage->object(), VK_IMAGE_VIEW_TYPE_2D, imageFormat); in iterate()
379 …tisamplingTargetViewInfo(multisampleTargetImage->object(), vk::VK_IMAGE_VIEW_TYPE_2D, imageFormat); in iterate()
387 renderPassCreateInfo.addAttachment(AttachmentDescription(imageFormat, in iterate()
401 renderPassCreateInfo.addAttachment(AttachmentDescription(imageFormat, in iterate()
534 &imageFormat, in iterate()
567 …beginSecondaryCmdBuffer(*secCmdBuffer, imageFormat, VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFER… in iterate()
571 beginSecondaryCmdBuffer(*secCmdBuffer, imageFormat); in iterate()

1234567891011