Home
last modified time | relevance | path

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

1234

/external/angle/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()
/external/deqp/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.cpp205 const tcu::TextureFormat texFormat = vk::mapVkFormat(m_testParameters.format); in Texture2DFilteringTestInstance() local
206 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in Texture2DFilteringTestInstance()
208 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance()
235 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance()
249 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in Texture2DFilteringTestInstance()
421 const tcu::TextureFormat texFormat = vk::mapVkFormat(m_testParameters.format); in TextureCubeFilteringTestInstance() local
422 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in TextureCubeFilteringTestInstance()
424 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance()
456 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance()
475 …if (texFormat.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_ST… in TextureCubeFilteringTestInstance()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c248 mesa_format texFormat; in st_bind_egl_image() local
273 texFormat = MESA_FORMAT_R8G8B8X8_UNORM; in st_bind_egl_image()
276 texFormat = MESA_FORMAT_R_UNORM8; in st_bind_egl_image()
283 texFormat = MESA_FORMAT_R_UNORM16; in st_bind_egl_image()
287 texFormat = MESA_FORMAT_R_UNORM8; in st_bind_egl_image()
292 texFormat = MESA_FORMAT_RG_UNORM8; in st_bind_egl_image()
296 texFormat = MESA_FORMAT_R8G8B8A8_UNORM; in st_bind_egl_image()
301 texFormat = MESA_FORMAT_R8G8B8X8_UNORM; in st_bind_egl_image()
309 texFormat = st_pipe_format_to_mesa_format(stimg->format); in st_bind_egl_image()
322 assert(texFormat != MESA_FORMAT_NONE); in st_bind_egl_image()
[all …]
Dst_copytex.c51 GLuint cubeFace, GLenum texFormat) in st_copy_framebuffer_to_texture() argument
81 texFormat, in st_copy_framebuffer_to_texture()
102 texFormat, in st_copy_framebuffer_to_texture()
126 texFormat, in st_copy_framebuffer_to_texture()
Dst_vdpau.c193 mesa_format texFormat; in st_vdpau_map_surface() local
240 texFormat = st_pipe_format_to_mesa_format(res->format); in st_vdpau_map_surface()
244 texFormat); in st_vdpau_map_surface()
Dst_copytex.h33 GLuint cubeFace, GLenum texFormat);
/external/deqp/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 genDummyTexture() argument
288 …if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH) || isStencilFormat(texFormat, tcu::Sampler:… in genDummyTexture()
[all …]
/external/OpenCL-CTS/test_conformance/gles/
Dtest_renderbuffer.cpp48 GLenum texFormat, GLenum texType, in test_renderbuffer_read_image() argument
57 … void *tmp = CreateGLRenderbuffer( width, height, attachment, rbFormat, rbType, texFormat, texType, in test_renderbuffer_read_image()
119 GLenum texFormat; in test_renderbuffer_read() member
170 formats[ fmtIdx ].texFormat, in test_renderbuffer_read()
221 GLenum texFormat, GLenum texType, in test_renderbuffer_image_write() argument
229 CreateGLRenderbuffer( width, height, attachment, rbFormat, rbType, texFormat, texType, in test_renderbuffer_image_write()
253 texFormat, texType, type, width, height ); in test_renderbuffer_image_write()
296 GLenum texFormat; in test_renderbuffer_write() member
345 formats[ fmtIdx ].texFormat, in test_renderbuffer_write()
Dtest_renderbuffer_info.cpp22 GLenum texFormat, GLenum texType, in test_renderbuffer_object_info() argument
30 … void* tmp = CreateGLRenderbuffer( width, height, attachment, rbFormat, rbType, texFormat, texType, in test_renderbuffer_object_info()
54 GLenum texFormat; in test_renderbuffer_getinfo() member
94 formats[ fmtIdx ].texFormat, in test_renderbuffer_getinfo()
/external/mesa3d/src/gallium/frontends/wgl/
Dstw_ext_rendertexture.c111 GLenum texFormat, srcBuffer, target; in wglBindTexImageARB() local
159 texFormat = translate_texture_format(fb->textureFormat); in wglBindTexImageARB()
160 if (texFormat == GL_NONE) { in wglBindTexImageARB()
186 fb->textureFace, texFormat); in wglBindTexImageARB()
/external/deqp/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()
/external/swiftshader/src/OpenGL/libGLES_CM/
Dutilities.h54 bool IsAlpha(GLint texFormat);
55 bool IsRGB(GLint texFormat);
56 bool IsRGBA(GLint texFormat);
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMismatchedWriteOpTests.cpp662 const TextureFormat texFormat = mapVkFormat(m_params->vkFormat); in initPrograms() local
663 …const tcu::TextureFormat buffFormat = makeBufferFormat(getTextureChannelClass(texFormat.type), i… in initPrograms()
717 const auto texFormat = mapVkFormat(m_params->vkFormat); in populate() local
718 const auto bitDepth = tcu::getTextureFormatBitDepth(texFormat); in populate()
719 const auto channelClass = tcu::getTextureChannelClass(texFormat.type); in populate()
755 tcu::PixelBufferAccess floatsAccess (texFormat, 1, 1, 1, floatsData); in populate()
783 …ut::gluePixels(floatsAccess.getPixel(0, 0), sfloatColor, tcu::getNumUsedChannels(texFormat.order)); in populate()
791 …ut::gluePixels(floatsAccess.getPixel(0, 0), ufloatColor, tcu::getNumUsedChannels(texFormat.order)); in populate()
806 const tcu::TextureFormat texFormat = mapVkFormat(m_params->vkFormat); in compare() local
807 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(texFormat.type); in compare()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_image.c283 mesa_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local
305 texFormat = MESA_FORMAT_B8G8R8X8_UNORM; in intelSetTexBuffer2()
309 texFormat = MESA_FORMAT_B8G8R8A8_UNORM; in intelSetTexBuffer2()
313 texFormat = MESA_FORMAT_B5G6R5_UNORM; in intelSetTexBuffer2()
319 internalFormat, texFormat, 0, in intelSetTexBuffer2()
/external/mesa3d/src/mesa/main/
Dtextureview.c308 GLenum internalFormat, mesa_format texFormat, in initialize_texture_fields() argument
333 0, internalFormat, texFormat, in initialize_texture_fields()
533 mesa_format texFormat; in texture_view() local
537 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, in texture_view()
539 if (texFormat == MESA_FORMAT_NONE) return; in texture_view()
620 sizeOK = ctx->Driver.TestProxyTexImage(ctx, target, 1, 0, texFormat, in texture_view()
682 internalformat, texFormat, in texture_view()
Dtexparam.c1577 mesa_format texFormat; in get_tex_level_parameter_image() local
1598 texFormat = img->TexFormat; in get_tex_level_parameter_image()
1611 if (_mesa_is_format_compressed(texFormat)) { in get_tex_level_parameter_image()
1613 *params = _mesa_compressed_format_to_glenum(ctx, texFormat); in get_tex_level_parameter_image()
1644 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1653 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
1656 *params = MIN2(_mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1658 _mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1663 *params = _mesa_get_format_bits(texFormat, in get_tex_level_parameter_image()
1674 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image()
[all …]
Dtexstorage.c144 GLenum internalFormat, mesa_format texFormat) in initialize_texture_fields() argument
164 0, internalFormat, texFormat); in initialize_texture_fields()
400 mesa_format texFormat; in texture_storage() local
413 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, in texture_storage()
421 sizeOK = ctx->Driver.TestProxyTexImage(ctx, target, levels, 0, texFormat, in texture_storage()
428 internalformat, texFormat); in texture_storage()
458 internalformat, texFormat)) { in texture_storage()
/external/angle/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()
/external/deqp/modules/egl/
DteglAndroidUtil.cpp274 const TextureFormat texFormat = glu::mapGLInternalFormat(m_format); in createBuffer() local
277 *ref = Texture2D(texFormat, 64, 64); in createBuffer()
284 PixelBufferAccess nativeBuffer(texFormat, 64, 64, 1, bufferData); in createBuffer()
/external/deqp/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
208 , m_texFormat(texFormat) in SampleShadingRenderCase()
475 const char* format, tcu::TextureFormat const& texFormat, const char* sampler,
497 tcu::TextureFormat const& texFormat, const char* sampler, in SampleShadingRenderFormatTests() argument
503 , m_texFormat(texFormat) in SampleShadingRenderFormatTests()
/external/deqp/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 …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texstate.c556 mesa_format texFormat; in radeonSetTexBuffer2() local
600 texFormat = MESA_FORMAT_BGR_UNORM8; in radeonSetTexBuffer2()
602 texFormat = MESA_FORMAT_B8G8R8A8_UNORM; in radeonSetTexBuffer2()
606 texFormat = MESA_FORMAT_BGR_UNORM8; in radeonSetTexBuffer2()
609 texFormat = MESA_FORMAT_B5G6R5_UNORM; in radeonSetTexBuffer2()
613 t->pp_txformat = tx_table[texFormat].format; in radeonSetTexBuffer2()
614 t->pp_txfilter |= tx_table[texFormat].filter; in radeonSetTexBuffer2()
619 rb->cpp, texFormat); in radeonSetTexBuffer2()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp970 void ShaderRenderCaseInstance::uploadImage (const tcu::TextureFormat& texFormat, in uploadImage() argument
993 offsetMultiples.push_back(texFormat.getPixelSize()); in uploadImage()
1232 void ShaderRenderCaseInstance::uploadSparseImage (const tcu::TextureFormat& texFormat, in uploadSparseImage() argument
1259 offsetMultiples.push_back(texFormat.getPixelSize()); in uploadSparseImage()
1264 …teInfo, *imageMemoryBindSemaphore, sparseQueue, m_memAlloc, m_allocations, texFormat, sparseImage); in uploadSparseImage()
1354 tcu::TextureFormat texFormat; in useSampler() local
1362 texFormat = texture.getFormat(); in useSampler()
1381 texFormat = texture.getFormat(); in useSampler()
1415 texFormat = texture.getFormat(); in useSampler()
1442 texFormat = texture.getFormat(); in useSampler()
[all …]
/external/angle/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()

1234