/external/deqp/modules/gles31/functional/ |
D | es31fTextureBorderClampTests.cpp | 219 …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 …]
|
D | es31fOpaqueTypeIndexingTests.cpp | 263 tcu::TextureFormat texFormat, in setupTexture() argument 268 const deUint32 intFormat = glu::getInternalFormat(texFormat); in setupTexture() 269 const glu::TransferFormat transferFmt = glu::getTransferFormat(texFormat); in setupTexture() 438 const TextureFormat texFormat = getSamplerTextureFormat(m_samplerType); in iterate() local 443 vector<deUint8> texData (numSamplers * texFormat.getPixelSize()); in iterate() 444 const tcu::PixelBufferAccess refTexAccess (texFormat, numSamplers, 1, 1, &texData[0]); in iterate() 499 …setupTexture(gl, textures[samplerNdx], m_samplerType, texFormat, &texData[samplerNdx*texFormat.get… in iterate()
|
/external/mesa3d/src/mesa/main/ |
D | texparam.c | 994 gl_format texFormat; in get_tex_level_parameter_image() local 1006 texFormat = img->TexFormat; in get_tex_level_parameter_image() 1019 if (_mesa_is_format_compressed(texFormat)) { in get_tex_level_parameter_image() 1021 *params = _mesa_compressed_format_to_glenum(ctx, texFormat); in get_tex_level_parameter_image() 1050 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image() 1057 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image() 1060 *params = MIN2(_mesa_get_format_bits(texFormat, in get_tex_level_parameter_image() 1062 _mesa_get_format_bits(texFormat, in get_tex_level_parameter_image() 1073 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image() 1079 *params = _mesa_get_format_bits(texFormat, pname); in get_tex_level_parameter_image() [all …]
|
D | texstorage.c | 133 gl_format texFormat; in setup_texstorage() local 142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, in setup_texstorage() 161 0, internalFormat, texFormat); in setup_texstorage()
|
D | texgetimage.c | 229 const gl_format texFormat = in get_tex_rgba_compressed() local 231 const GLenum baseFormat = _mesa_get_format_base_format(texFormat); in get_tex_rgba_compressed() 258 _mesa_decompress_image(texFormat, width, height, in get_tex_rgba_compressed() 323 const gl_format texFormat = in get_tex_rgba_uncompressed() local 388 _mesa_unpack_uint_rgba_row(texFormat, width, src, rgba_uint); in get_tex_rgba_uncompressed() 401 _mesa_unpack_rgba_row(texFormat, width, src, rgba); in get_tex_rgba_uncompressed()
|
D | teximage.c | 2998 gl_format texFormat = MESA_FORMAT_NONE; in teximage() local 3006 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level, in teximage() 3008 if (!legal_texture_size(ctx, texFormat, width, height, depth)) { in teximage() 3022 border, internalFormat, texFormat); in teximage() 3062 gl_format texFormat; in teximage() local 3066 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level, in teximage() 3070 if (legal_texture_size(ctx, texFormat, width, height, depth)) { in teximage() 3073 border, internalFormat, texFormat); in teximage() 3345 get_copy_tex_image_source(struct gl_context *ctx, gl_format texFormat) in get_copy_tex_image_source() argument 3347 if (_mesa_get_format_bits(texFormat, GL_DEPTH_BITS) > 0) { in get_copy_tex_image_source() [all …]
|
D | texobj.c | 728 gl_format texFormat; in _mesa_get_fallback_texture() local 789 texFormat = ctx->Driver.ChooseTextureFormat(ctx, target, in _mesa_get_fallback_texture() 810 GL_RGBA, texFormat); in _mesa_get_fallback_texture()
|
/external/deqp/modules/gles3/performance/ |
D | es3pTextureCases.cpp | 95 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/mesa3d/src/mesa/state_tracker/ |
D | st_cb_eglimage.c | 108 gl_format texFormat; in st_bind_surface() local 125 texFormat = st_pipe_format_to_mesa_format(ps->format); in st_bind_surface() 129 texFormat); in st_bind_surface()
|
D | st_atom_texture.c | 221 const gl_format texFormat = firstImage->base.TexFormat; in update_single_texture() local 223 st_mesa_format_to_pipe_format(texFormat); in update_single_texture() 226 (_mesa_get_format_color_encoding(texFormat) == GL_SRGB)) { in update_single_texture() 231 _mesa_get_srgb_format_linear(texFormat); in update_single_texture()
|
D | st_cb_drawpixels.c | 463 enum pipe_format texFormat) in alloc_texture() argument 467 pt = st_texture_create(st, st->internal_target, texFormat, 0, in alloc_texture() 1428 enum pipe_format srcFormat, texFormat; in st_CopyPixels() local 1504 texFormat = srcFormat; in st_CopyPixels() 1509 texFormat = st_choose_format(screen, GL_DEPTH_COMPONENT, in st_CopyPixels() 1512 assert(texFormat != PIPE_FORMAT_NONE); in st_CopyPixels() 1516 texFormat = st_choose_format(screen, GL_RGBA, in st_CopyPixels() 1519 assert(texFormat != PIPE_FORMAT_NONE); in st_CopyPixels() 1552 pt = alloc_texture(st, width, height, texFormat); in st_CopyPixels() 1564 if (srcFormat == texFormat) { in st_CopyPixels()
|
D | st_cb_fbo.c | 512 gl_format texFormat; in st_validate_attachment() local 526 texFormat = _mesa_get_attachment_teximage_const(att)->TexFormat; in st_validate_attachment() 532 _mesa_get_format_color_encoding(texFormat) == GL_SRGB) { in st_validate_attachment() 533 const gl_format linearFormat = _mesa_get_srgb_format_linear(texFormat); in st_validate_attachment()
|
D | st_manager.c | 516 gl_format texFormat; in st_context_teximage() local 536 texFormat = st_ChooseTextureFormat(ctx, target, internalFormat, in st_context_teximage() 541 internalFormat, texFormat); in st_context_teximage()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_tex_image.c | 280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local 302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2() 306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2() 310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2() 316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tex_image.c | 280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local 302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2() 306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2() 310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2() 316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_tex_image.c | 280 gl_format texFormat = MESA_FORMAT_NONE; in intelSetTexBuffer2() local 302 texFormat = MESA_FORMAT_XRGB8888; in intelSetTexBuffer2() 306 texFormat = MESA_FORMAT_ARGB8888; in intelSetTexBuffer2() 310 texFormat = MESA_FORMAT_RGB565; in intelSetTexBuffer2() 316 internalFormat, texFormat, 0); in intelSetTexBuffer2()
|
/external/deqp/modules/egl/ |
D | teglAndroidUtil.cpp | 127 const TextureFormat texFormat = glu::mapGLInternalFormat(m_format); in createBuffer() local 130 *ref = Texture2D(texFormat, 64, 64); in createBuffer() 137 PixelBufferAccess nativeBuffer(texFormat, 64, 64, 1, bufferData); in createBuffer()
|
D | teglImageUtil.cpp | 453 const TextureFormat texFormat = glu::mapGLInternalFormat(m_format); in createBuffer() local 455 *ref = tcu::Texture2D(texFormat, 64, 64); in createBuffer()
|
/external/deqp/modules/glshared/ |
D | glsLongStressCase.cpp | 212 …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/deqp/framework/opengl/ |
D | gluTextureUtil.cpp | 45 TransferFormat getTransferFormat (tcu::TextureFormat texFormat) in getTransferFormat() argument 53 switch (texFormat.type) in getTransferFormat() 70 switch (texFormat.order) in getTransferFormat() 96 switch (texFormat.type) in getTransferFormat() 119 case TextureFormat::UNSIGNED_INT_24_8: type = texFormat.order == TextureFormat::D in getTransferFormat() 139 deUint32 getInternalFormat (tcu::TextureFormat texFormat) in getInternalFormat() argument 147 switch (PACK_FMT(texFormat.order, texFormat.type)) in getInternalFormat()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_texstate.c | 617 gl_format texFormat; in radeonSetTexBuffer2() local 663 texFormat = MESA_FORMAT_RGB888; in radeonSetTexBuffer2() 667 texFormat = MESA_FORMAT_ARGB8888; in radeonSetTexBuffer2() 673 texFormat = MESA_FORMAT_RGB888; in radeonSetTexBuffer2() 678 texFormat = MESA_FORMAT_RGB565; in radeonSetTexBuffer2() 687 rb->cpp, texFormat); in radeonSetTexBuffer2()
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 74 gl_format texFormat; in swrastSetTexBuffer2() local 90 texFormat = MESA_FORMAT_XRGB8888; in swrastSetTexBuffer2() 92 texFormat = MESA_FORMAT_ARGB8888; in swrastSetTexBuffer2() 95 w, h, 1, 0, internalFormat, texFormat); in swrastSetTexBuffer2()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureUnitTests.cpp | 853 tcu::TextureFormat texFormat = glu::mapGLInternalFormat((deUint32)params.internalFormat); in init() local 858 m_textures2d.push_back(new tcu::Texture2D(texFormat, texWidth, texHeight)); in init() 864 m_texturesCube.push_back(new tcu::TextureCube(texFormat, texWidth)); in init() 869 m_textures2dArray.push_back(new tcu::Texture2DArray(texFormat, texWidth, texHeight, texLayers)); in init() 874 m_textures3d.push_back(new tcu::Texture3D(texFormat, texWidth, texHeight, texDepth)); in init() 877 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in init()
|
D | es3fTextureWrapTests.cpp | 300 const tcu::TextureFormat texFormat = m_texture->getRefTexture().getFormat(); in iterate() local 302 const tcu::TextureFormatInfo texFormatInfo = tcu::getTextureFormatInfo(texFormat); in iterate() 333 const bool isSRGB = tcu::isSRGB(texFormat); in iterate()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_texstate.c | 740 gl_format texFormat; in r200SetTexBuffer2() local 787 texFormat = MESA_FORMAT_RGB888; in r200SetTexBuffer2() 791 texFormat = MESA_FORMAT_ARGB8888; in r200SetTexBuffer2() 798 texFormat = MESA_FORMAT_RGB888; in r200SetTexBuffer2() 803 texFormat = MESA_FORMAT_RGB565; in r200SetTexBuffer2() 812 rb->cpp, texFormat); in r200SetTexBuffer2()
|