/external/mesa3d/src/mesa/state_tracker/ |
st_cb_eglimage.c | 108 gl_format texFormat; 125 texFormat = st_pipe_format_to_mesa_format(ps->format); 129 texFormat);
|
st_atom_texture.c | 221 const gl_format texFormat = firstImage->base.TexFormat; 223 st_mesa_format_to_pipe_format(texFormat); 226 (_mesa_get_format_color_encoding(texFormat) == GL_SRGB)) { 231 _mesa_get_srgb_format_linear(texFormat);
|
st_cb_fbo.c | 512 gl_format texFormat; 526 texFormat = _mesa_get_attachment_teximage_const(att)->TexFormat; 532 _mesa_get_format_color_encoding(texFormat) == GL_SRGB) { 533 const gl_format linearFormat = _mesa_get_srgb_format_linear(texFormat);
|
st_cb_drawpixels.c | 43 #include "main/texformat.h" 463 enum pipe_format texFormat) 467 pt = st_texture_create(st, st->internal_target, texFormat, 0, [all...] |
st_manager.c | 516 gl_format texFormat; 536 texFormat = st_ChooseTextureFormat(ctx, target, internalFormat, 541 internalFormat, texFormat);
|
/external/deqp/modules/gles3/performance/ |
es3pTextureCases.cpp | 95 const tcu::TextureFormat texFormat = glu::mapGLInternalFormat(m_internalFormat); 96 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); 97 const glu::Precision samplerPrec = (texFormat.type == tcu::TextureFormat::FLOAT || 98 texFormat.type == tcu::TextureFormat::UNSIGNED_INT32 || 99 texFormat.type == tcu::TextureFormat::SIGNED_INT32) 101 const glu::DataType samplerType = glu::getSampler2DType(texFormat);
|
/external/deqp/modules/gles31/functional/ |
es31fTextureBorderClampTests.cpp | 219 static de::MovePtr<glu::Texture2D> createTextureFromInternalFormat (glu::RenderContext& renderCtx, deUint32 texFormat, const tcu::IVec2& size) 221 return de::MovePtr<glu::Texture2D>(new glu::Texture2D(renderCtx, texFormat, size.x(), size.y())); 224 static de::MovePtr<glu::Texture2D> createTextureFromFormatAndType (glu::RenderContext& renderCtx, deUint32 texFormat, deUint32 type, const tcu::IVec2& size) 226 return de::MovePtr<glu::Texture2D>(new glu::Texture2D(renderCtx, texFormat, type, size.x(), size.y())); 254 static de::MovePtr<glu::Texture3D> createTextureFromInternalFormat (glu::RenderContext& renderCtx, deUint32 texFormat, const tcu::IVec3& size) 256 return de::MovePtr<glu::Texture3D>(new glu::Texture3D(renderCtx, texFormat, size.x(), size.y(), size.z())); 259 static de::MovePtr<glu::Texture3D> createTextureFromFormatAndType (glu::RenderContext& renderCtx, deUint32 texFormat, deUint32 type, const tcu::IVec3& size) 261 return de::MovePtr<glu::Texture3D>(new glu::Texture3D(renderCtx, texFormat, type, size.x(), size.y(), size.z())); 284 de::MovePtr<T> genDummyTexture (glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, deUint32 texFormat, const typename TextureTraits<T>::SizeType& size) 288 if (isDepthFormat(texFormat, tcu::Sampler::MODE_DEPTH) || isStencilFormat(texFormat, tcu::Sampler::MODE_STENCIL) [all...] |
es31fOpaqueTypeIndexingTests.cpp | 276 tcu::TextureFormat texFormat, 281 const deUint32 intFormat = glu::getInternalFormat(texFormat); 282 const glu::TransferFormat transferFmt = glu::getTransferFormat(texFormat); 492 const TextureFormat texFormat = getSamplerTextureFormat(m_samplerType); 497 vector<deUint8> texData (numSamplers * texFormat.getPixelSize()); 498 const tcu::PixelBufferAccess refTexAccess (texFormat, numSamplers, 1, 1, &texData[0]); 554 setupTexture(gl, textures[samplerNdx], m_samplerType, texFormat, &texData[samplerNdx*texFormat.getPixelSize()]); [all...] |
/external/deqp/modules/egl/ |
teglAndroidUtil.cpp | 145 const TextureFormat texFormat = glu::mapGLInternalFormat(m_format); 148 *ref = Texture2D(texFormat, 64, 64); 155 PixelBufferAccess nativeBuffer(texFormat, 64, 64, 1, bufferData);
|
teglImageUtil.cpp | 481 const TextureFormat texFormat = glu::mapGLInternalFormat(m_format); 483 *ref = tcu::Texture2D(texFormat, 64, 64);
|
/external/mesa3d/src/mesa/main/ |
texparam.c | 994 gl_format texFormat; 997 if (!img || img->TexFormat == MESA_FORMAT_NONE) { 1006 texFormat = img->TexFormat; 1019 if (_mesa_is_format_compressed(texFormat)) { 1021 *params = _mesa_compressed_format_to_glenum(ctx, texFormat); 1050 *params = _mesa_get_format_bits(texFormat, pname); 1057 *params = _mesa_get_format_bits(texFormat, pname); 1060 *params = MIN2(_mesa_get_format_bits(texFormat, 1062 _mesa_get_format_bits(texFormat, [all...] |
texstorage.c | 133 gl_format texFormat; 142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, 161 0, internalFormat, texFormat);
|
texgetimage.c | 105 _mesa_unpack_float_z_row(texImage->TexFormat, width, src, depthRow); 197 if ((texImage->TexFormat == MESA_FORMAT_YCBCR 199 (texImage->TexFormat == MESA_FORMAT_YCBCR_REV 229 const gl_format texFormat = 230 _mesa_get_srgb_format_linear(texImage->TexFormat); 231 const GLenum baseFormat = _mesa_get_format_base_format(texFormat); 258 _mesa_decompress_image(texFormat, width, height, 323 const gl_format texFormat = 324 _mesa_get_srgb_format_linear(texImage->TexFormat); 333 GLboolean tex_is_integer = _mesa_is_format_integer_color(texImage->TexFormat); [all...] |
teximage.c | 1118 img->TexFormat = MESA_FORMAT_NONE; [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_image.c | 96 intelImage->base.Base.TexFormat, 156 if (!check_pbo_format(format, type, intelImage->base.Base.TexFormat)) { 158 __FUNCTION__, _mesa_get_format_name(intelImage->base.Base.TexFormat), 255 image->TexFormat, 280 gl_format texFormat = MESA_FORMAT_NONE; 302 texFormat = MESA_FORMAT_XRGB8888; 306 texFormat = MESA_FORMAT_ARGB8888; 310 texFormat = MESA_FORMAT_RGB565; 316 internalFormat, texFormat, 0);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderExecutor.hpp | 145 const tcu::TextureFormat& texFormat, 245 const tcu::TextureFormat& texFormat, 259 const tcu::TextureFormat& texFormat, 375 const tcu::TextureFormat& texFormat,
|
vktShaderExecutor.cpp | [all...] |
/external/deqp/modules/glshared/ |
glsLongStressCase.cpp | 212 static inline bool isMatchingGLInternalFormat (const deUint32 internalFormat, const TextureFormat& texFormat) 218 case GL_RGBA: return texFormat.order == TextureFormat::RGBA && 219 (texFormat.type == TextureFormat::UNORM_INT8 || 220 texFormat.type == TextureFormat::UNORM_SHORT_4444 || 221 texFormat.type == TextureFormat::UNORM_SHORT_5551); 223 case GL_RGB: return texFormat.order == TextureFormat::RGB && 224 (texFormat.type == TextureFormat::UNORM_INT8 || 225 texFormat.type == TextureFormat::UNORM_SHORT_565); 227 case GL_LUMINANCE_ALPHA: return texFormat.order == TextureFormat::LA && texFormat.type == TextureFormat::UNORM_INT8 [all...] |
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
swrast.c | 52 #include "main/texformat.h" 74 gl_format texFormat; 90 texFormat = MESA_FORMAT_XRGB8888; 92 texFormat = MESA_FORMAT_ARGB8888; 95 w, h, 1, 0, internalFormat, texFormat);
|
/external/deqp/framework/opengl/ |
gluTextureUtil.cpp | 43 * \param texFormat Generic texture format. 46 TransferFormat getTransferFormat (tcu::TextureFormat texFormat) 54 switch (texFormat.type) 71 switch (texFormat.order) 97 switch (texFormat.type) 120 case TextureFormat::UNSIGNED_INT_24_8: type = texFormat.order == TextureFormat::D 137 * \param texFormat Generic texture format. 140 deUint32 getInternalFormat (tcu::TextureFormat texFormat) 148 switch (PACK_FMT(texFormat.order, texFormat.type) [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_texstate.c | 617 gl_format texFormat; 663 texFormat = MESA_FORMAT_RGB888; 667 texFormat = MESA_FORMAT_ARGB8888; 673 texFormat = MESA_FORMAT_RGB888; 678 texFormat = MESA_FORMAT_RGB565; 687 rb->cpp, texFormat); 989 texelBytes = _mesa_get_format_bytes(firstImage->TexFormat); 992 if (VALID_FORMAT(firstImage->TexFormat)) { 999 t->pp_txformat |= table[ firstImage->TexFormat ].format; 1000 t->pp_txfilter |= table[ firstImage->TexFormat ].filter [all...] |
/device/generic/goldfish-opengl/system/egl/ |
egl.cpp | 233 void setTextureFormat(EGLint _texFormat) { texFormat = _texFormat; } 234 EGLint getTextureFormat() { return texFormat; } 244 EGLint texFormat; 270 texFormat = EGL_NO_TEXTURE; 863 EGLint texFormat = EGL_NO_TEXTURE; 876 texFormat = attrib_list[1]; 892 if (((texFormat == EGL_NO_TEXTURE)&&(texTarget != EGL_NO_TEXTURE)) || 893 ((texFormat != EGL_NO_TEXTURE)&&(texTarget == EGL_NO_TEXTURE))) { 909 surface->setTextureFormat(texFormat); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureWrapTests.cpp | 300 const tcu::TextureFormat texFormat = m_texture->getRefTexture().getFormat(); 302 const tcu::TextureFormatInfo texFormatInfo = tcu::getTextureFormatInfo(texFormat); 333 const bool isSRGB = tcu::isSRGB(texFormat);
|
es3fTextureUnitTests.cpp | 853 tcu::TextureFormat texFormat = glu::mapGLInternalFormat((deUint32)params.internalFormat); 858 m_textures2d.push_back(new tcu::Texture2D(texFormat, texWidth, texHeight)); 864 m_texturesCube.push_back(new tcu::TextureCube(texFormat, texWidth)); 869 m_textures2dArray.push_back(new tcu::Texture2DArray(texFormat, texWidth, texHeight, texLayers)); 874 m_textures3d.push_back(new tcu::Texture3D(texFormat, texWidth, texHeight, texDepth)); 877 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_texstate.c | 740 gl_format texFormat; 787 texFormat = MESA_FORMAT_RGB888; 791 texFormat = MESA_FORMAT_ARGB8888; 798 texFormat = MESA_FORMAT_RGB888; 803 texFormat = MESA_FORMAT_RGB565; 812 rb->cpp, texFormat); [all...] |