Home
last modified time | relevance | path

Searched refs:texFormat (Results 1 – 25 of 109) sorted by relevance

12345

/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c273 mesa_format texFormat; in st_bind_egl_image() local
299 texFormat = MESA_FORMAT_R8G8B8X8_UNORM; in st_bind_egl_image()
302 texFormat = MESA_FORMAT_R_UNORM8; in st_bind_egl_image()
309 texFormat = MESA_FORMAT_R_UNORM16; in st_bind_egl_image()
315 texFormat = MESA_FORMAT_RG_UNORM16; in st_bind_egl_image()
319 texFormat = MESA_FORMAT_B10G10R10A2_UNORM; in st_bind_egl_image()
325 texFormat = MESA_FORMAT_RGBA_UNORM16; in st_bind_egl_image()
330 texFormat = MESA_FORMAT_R_UNORM8; in st_bind_egl_image()
336 texFormat = MESA_FORMAT_RG_RB_UNORM8; in st_bind_egl_image()
339 texFormat = MESA_FORMAT_GR_BR_UNORM8; in st_bind_egl_image()
[all …]
Dst_copytex.c52 GLuint cubeFace, GLenum texFormat) in st_copy_framebuffer_to_texture() argument
82 texFormat, in st_copy_framebuffer_to_texture()
103 texFormat, in st_copy_framebuffer_to_texture()
127 texFormat, in st_copy_framebuffer_to_texture()
Dst_vdpau.c195 mesa_format texFormat; in st_vdpau_map_surface() local
243 texFormat = st_pipe_format_to_mesa_format(res->format); in st_vdpau_map_surface()
247 texFormat); in st_vdpau_map_surface()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp679 void getPackInfo (const TextureFormat texFormat, in getPackInfo() argument
686 switch (texFormat.type) in getPackInfo()
778 TextureFormat texFormat, in convertNormalizedFormat() argument
783 TextureSwizzle readSwizzle = getChannelReadSwizzle(texFormat.order); in convertNormalizedFormat()
784 const TextureChannelClass chanClass = getTextureChannelClass(texFormat.type); in convertNormalizedFormat()
786 DE_ASSERT(getTextureChannelClass(texFormat.type) < 2); in convertNormalizedFormat()
796 const bool isPacked = isPackedType(texFormat.type); in convertNormalizedFormat()
800 getPackInfo(texFormat, bitSizes, bitOffsets, baseTypeBytes); in convertNormalizedFormat()
804 if (texFormat.type == TextureFormat::UNORM_INT_1010102_REV || in convertNormalizedFormat()
805 texFormat.type == TextureFormat::SNORM_INT_1010102_REV) in convertNormalizedFormat()
[all …]
DvktTextureFilteringTests.cpp232 const tcu::TextureFormat texFormat = vk::mapVkFormat(m_testParameters.format); in Texture2DFilteringTestInstance() local
233 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in Texture2DFilteringTestInstance()
235 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance()
262 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance()
276 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance()
448 const tcu::TextureFormat texFormat = vk::mapVkFormat(m_testParameters.format); in TextureCubeFilteringTestInstance() local
449 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in TextureCubeFilteringTestInstance()
451 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance()
483 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance()
502 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktSampleVerifierUtil.cpp679 void getPackInfo (const TextureFormat texFormat, in getPackInfo() argument
686 switch (texFormat.type) in getPackInfo()
778 TextureFormat texFormat, in convertNormalizedFormat() argument
783 TextureSwizzle readSwizzle = getChannelReadSwizzle(texFormat.order); in convertNormalizedFormat()
784 const TextureChannelClass chanClass = getTextureChannelClass(texFormat.type); in convertNormalizedFormat()
786 DE_ASSERT(getTextureChannelClass(texFormat.type) < 2); in convertNormalizedFormat()
796 const bool isPacked = isPackedType(texFormat.type); in convertNormalizedFormat()
800 getPackInfo(texFormat, bitSizes, bitOffsets, baseTypeBytes); in convertNormalizedFormat()
804 if (texFormat.type == TextureFormat::UNORM_INT_1010102_REV || in convertNormalizedFormat()
805 texFormat.type == TextureFormat::SNORM_INT_1010102_REV) in convertNormalizedFormat()
[all …]
DvktTextureFilteringTests.cpp232 const tcu::TextureFormat texFormat = vk::mapVkFormat(m_testParameters.format); in Texture2DFilteringTestInstance() local
233 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in Texture2DFilteringTestInstance()
235 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance()
262 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance()
276 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance()
448 const tcu::TextureFormat texFormat = vk::mapVkFormat(m_testParameters.format); in TextureCubeFilteringTestInstance() local
449 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in TextureCubeFilteringTestInstance()
451 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance()
483 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance()
502 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Dtexture_format_table.h38 DXGI_FORMAT texFormat,
56 DXGI_FORMAT texFormat; member
72 texFormat(DXGI_FORMAT_UNKNOWN), in Format()
84 DXGI_FORMAT texFormat, in Format() argument
94 texFormat(texFormat), in Format()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Dtexture_format_table.h38 DXGI_FORMAT texFormat,
56 DXGI_FORMAT texFormat; member
72 texFormat(DXGI_FORMAT_UNKNOWN), in Format()
84 DXGI_FORMAT texFormat, in Format() argument
94 texFormat(texFormat), in Format()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp219 …reateTextureFromInternalFormat (glu::RenderContext& renderCtx, deUint32 texFormat, const tcu::IVec… in createTextureFromInternalFormat()
221 return de::MovePtr<glu::Texture2D>(new glu::Texture2D(renderCtx, texFormat, size.x(), size.y())); in createTextureFromInternalFormat()
224 …createTextureFromFormatAndType (glu::RenderContext& renderCtx, deUint32 texFormat, deUint32 type, … in createTextureFromFormatAndType()
226 …return de::MovePtr<glu::Texture2D>(new glu::Texture2D(renderCtx, texFormat, type, size.x(), size.y… in createTextureFromFormatAndType()
254 …reateTextureFromInternalFormat (glu::RenderContext& renderCtx, deUint32 texFormat, const tcu::IVec… in createTextureFromInternalFormat()
256 …return de::MovePtr<glu::Texture3D>(new glu::Texture3D(renderCtx, texFormat, size.x(), size.y(), si… in createTextureFromInternalFormat()
259 …createTextureFromFormatAndType (glu::RenderContext& renderCtx, deUint32 texFormat, deUint32 type, … in createTextureFromFormatAndType()
261 …return de::MovePtr<glu::Texture3D>(new glu::Texture3D(renderCtx, texFormat, type, size.x(), size.y… in createTextureFromFormatAndType()
284 …lu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, deUint32 texFormat, const typename … in genDefaultTexture() argument
288 …if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH) || isStencilFormat(texFormat, tcu::Sampler:… in genDefaultTexture()
[all …]
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pTextureCases.cpp95 const tcu::TextureFormat texFormat = glu::mapGLInternalFormat(m_internalFormat); in init() local
96 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in init()
97 const glu::Precision samplerPrec = (texFormat.type == tcu::TextureFormat::FLOAT || in init()
98 texFormat.type == tcu::TextureFormat::UNSIGNED_INT32 || in init()
99 texFormat.type == tcu::TextureFormat::SIGNED_INT32) in init()
101 const glu::DataType samplerType = glu::getSampler2DType(texFormat); in init()
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_ext_rendertexture.c108 GLenum texFormat, srcBuffer, target; in wglBindTexImageARB() local
156 texFormat = translate_texture_format(fb->textureFormat); in wglBindTexImageARB()
157 if (texFormat == GL_NONE) { in wglBindTexImageARB()
184 fb->textureFace, texFormat); in wglBindTexImageARB()
/third_party/mesa3d/src/mesa/main/
Dtexparam.c1711 mesa_format texFormat; in get_tex_level_parameter_image() local
1732 texFormat = img->TexFormat; in get_tex_level_parameter_image()
1745 if (_mesa_is_format_compressed(texFormat)) { in get_tex_level_parameter_image()
1747 *params = _mesa_compressed_format_to_glenum(ctx, texFormat); in get_tex_level_parameter_image()
1778 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1787 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1790 *params = MIN2(_mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1792 _mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1797 *params = _mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1806 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
[all …]
Dtexstorage.c145 GLenum internalFormat, mesa_format texFormat) in initialize_texture_fields() argument
165 0, internalFormat, texFormat); in initialize_texture_fields()
444 mesa_format texFormat; in texture_storage() local
457 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, in texture_storage()
465 sizeOK = st_TestProxyTexImage(ctx, target, levels, 0, texFormat, in texture_storage()
472 internalformat, texFormat); in texture_storage()
498 if (_mesa_sparse_texture_error_check(ctx, dims, texObj, texFormat, target, in texture_storage()
510 internalformat, texFormat)) { in texture_storage()
Dtextureview.c312 GLenum internalFormat, mesa_format texFormat, in initialize_texture_fields() argument
337 0, internalFormat, texFormat, in initialize_texture_fields()
539 mesa_format texFormat; in texture_view() local
543 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, in texture_view()
545 if (texFormat == MESA_FORMAT_NONE) return; in texture_view()
626 sizeOK = st_TestProxyTexImage(ctx, target, 1, 0, texFormat, in texture_view()
688 internalformat, texFormat, in texture_view()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageMismatchedWriteOpTests.cpp576 const TextureFormat texFormat = mapVkFormat(m_params->vkFormat); in getBufferFormat() local
577 …return makeBufferFormat(getTextureChannelClass(texFormat.type), is64BitIntegerFormat(m_params->vkF… in getBufferFormat()
808 const auto texFormat = mapVkFormat(m_params->vkFormat); in populate() local
809 const auto bitDepth = tcu::getTextureFormatBitDepth(texFormat); in populate()
810 const auto channelClass = tcu::getTextureChannelClass(texFormat.type); in populate()
846 tcu::PixelBufferAccess floatsAccess (texFormat, 1, 1, 1, floatsData); in populate()
874 …ut::gluePixels(floatsAccess.getPixel(0, 0), sfloatColor, tcu::getNumUsedChannels(texFormat.order)); in populate()
882 …ut::gluePixels(floatsAccess.getPixel(0, 0), ufloatColor, tcu::getNumUsedChannels(texFormat.order)); in populate()
958 const tcu::TextureFormat texFormat = mapVkFormat(m_params->vkFormat); in compare() local
959 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(texFormat.type); in compare()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMismatchedWriteOpTests.cpp576 const TextureFormat texFormat = mapVkFormat(m_params->vkFormat); in getBufferFormat() local
577 …return makeBufferFormat(getTextureChannelClass(texFormat.type), is64BitIntegerFormat(m_params->vkF… in getBufferFormat()
808 const auto texFormat = mapVkFormat(m_params->vkFormat); in populate() local
809 const auto bitDepth = tcu::getTextureFormatBitDepth(texFormat); in populate()
810 const auto channelClass = tcu::getTextureChannelClass(texFormat.type); in populate()
846 tcu::PixelBufferAccess floatsAccess (texFormat, 1, 1, 1, floatsData); in populate()
874 …ut::gluePixels(floatsAccess.getPixel(0, 0), sfloatColor, tcu::getNumUsedChannels(texFormat.order)); in populate()
882 …ut::gluePixels(floatsAccess.getPixel(0, 0), ufloatColor, tcu::getNumUsedChannels(texFormat.order)); in populate()
958 const tcu::TextureFormat texFormat = mapVkFormat(m_params->vkFormat); in compare() local
959 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(texFormat.type); in compare()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglAndroidUtil.cpp295 const TextureFormat texFormat = glu::mapGLInternalFormat(m_format); in createBuffer() local
298 *ref = Texture2D(texFormat, 64, 64); in createBuffer()
314 const int rowPitch = texFormat.getPixelSize() * desc.stride; in createBuffer()
316 …PixelBufferAccess nativeBuffer (texFormat, desc.width, desc.height, 1, rowPitch, slicePitch, buff… in createBuffer()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DD3D11FormatTablesTest.cpp72 bool texSuccess = SUCCEEDED(device->CheckFormatSupport(formatInfo.texFormat, &texSupport)); in TEST_P()
79 const auto &dxgiSupport = rx::d3d11::GetDXGISupport(formatInfo.texFormat, featureLevel); in TEST_P()
177 rx::d3d11::MakeValidSize(image, formatInfo.texFormat, &reqWidth, &reqHeight, &level); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Drenderer9_utils.cpp427 if (d3dFormatInfo.texFormat != D3DFMT_UNKNOWN) in GenerateTextureFormatCaps()
432 adapter, deviceType, adapterFormat, 0, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
438 D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)) && in GenerateTextureFormatCaps()
440 D3DRTYPE_CUBETEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
446 d3dFormatInfo.texFormat)) && in GenerateTextureFormatCaps()
449 d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
455 D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cSampleShadingTests.cpp170 GLenum internalFormat, tcu::TextureFormat const& texFormat, const char* m_sampler,
202 tcu::TextureFormat const& texFormat, const char* sampler, in SampleShadingRenderCase() argument
209 , m_texFormat(texFormat) in SampleShadingRenderCase()
476 const char* format, tcu::TextureFormat const& texFormat, const char* sampler,
498 tcu::TextureFormat const& texFormat, const char* sampler, in SampleShadingRenderFormatTests() argument
504 , m_texFormat(texFormat) in SampleShadingRenderFormatTests()
/third_party/vk-gl-cts/modules/glshared/
DglsLongStressCase.cpp212 …ine bool isMatchingGLInternalFormat (const deUint32 internalFormat, const TextureFormat& texFormat) in isMatchingGLInternalFormat() argument
218 case GL_RGBA: return texFormat.order == TextureFormat::RGBA && in isMatchingGLInternalFormat()
219 (texFormat.type == TextureFormat::UNORM_INT8 || in isMatchingGLInternalFormat()
220 texFormat.type == TextureFormat::UNORM_SHORT_4444 || in isMatchingGLInternalFormat()
221 texFormat.type == TextureFormat::UNORM_SHORT_5551); in isMatchingGLInternalFormat()
223 case GL_RGB: return texFormat.order == TextureFormat::RGB && in isMatchingGLInternalFormat()
224 (texFormat.type == TextureFormat::UNORM_INT8 || in isMatchingGLInternalFormat()
225 texFormat.type == TextureFormat::UNORM_SHORT_565); in isMatchingGLInternalFormat()
227 …case GL_LUMINANCE_ALPHA: return texFormat.order == TextureFormat::LA && texFormat.type == TextureF… in isMatchingGLInternalFormat()
228 …case GL_LUMINANCE: return texFormat.order == TextureFormat::L && texFormat.type == TextureFormat… in isMatchingGLInternalFormat()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp982 void ShaderRenderCaseInstance::uploadImage (const tcu::TextureFormat& texFormat, in uploadImage() argument
1003 offsetMultiples.push_back(texFormat.getPixelSize()); in uploadImage()
1263 void ShaderRenderCaseInstance::uploadSparseImage (const tcu::TextureFormat& texFormat, in uploadSparseImage() argument
1290 offsetMultiples.push_back(texFormat.getPixelSize()); in uploadSparseImage()
1295 …teInfo, *imageMemoryBindSemaphore, sparseQueue, m_memAlloc, m_allocations, texFormat, sparseImage); in uploadSparseImage()
1386 tcu::TextureFormat texFormat; in useSampler() local
1394 texFormat = texture.getFormat(); in useSampler()
1413 texFormat = texture.getFormat(); in useSampler()
1447 texFormat = texture.getFormat(); in useSampler()
1474 texFormat = texture.getFormat(); in useSampler()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRender.cpp982 void ShaderRenderCaseInstance::uploadImage (const tcu::TextureFormat& texFormat, in uploadImage() argument
1003 offsetMultiples.push_back(texFormat.getPixelSize()); in uploadImage()
1263 void ShaderRenderCaseInstance::uploadSparseImage (const tcu::TextureFormat& texFormat, in uploadSparseImage() argument
1290 offsetMultiples.push_back(texFormat.getPixelSize()); in uploadSparseImage()
1295 …teInfo, *imageMemoryBindSemaphore, sparseQueue, m_memAlloc, m_allocations, texFormat, sparseImage); in uploadSparseImage()
1386 tcu::TextureFormat texFormat; in useSampler() local
1394 texFormat = texture.getFormat(); in useSampler()
1413 texFormat = texture.getFormat(); in useSampler()
1447 texFormat = texture.getFormat(); in useSampler()
1474 texFormat = texture.getFormat(); in useSampler()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Drenderer9_utils.cpp427 if (d3dFormatInfo.texFormat != D3DFMT_UNKNOWN) in GenerateTextureFormatCaps()
432 adapter, deviceType, adapterFormat, 0, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
438 D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)) && in GenerateTextureFormatCaps()
440 D3DRTYPE_CUBETEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
445 D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()

12345