/external/deqp/external/vulkancts/modules/vulkan/texture/ |
H A D | vktSampleVerifierUtil.cpp | 676 void getPackInfo (const TextureFormat texFormat, 683 switch (texFormat.type) 773 TextureFormat texFormat, 778 TextureSwizzle readSwizzle = getChannelReadSwizzle(texFormat.order); 779 const TextureChannelClass chanClass = getTextureChannelClass(texFormat.type); 781 DE_ASSERT(getTextureChannelClass(texFormat.type) < 2); 791 const bool isPacked = isPackedType(texFormat.type); 795 getPackInfo(texFormat, bitSizes, bitOffsets, baseTypeBytes); 799 if (texFormat.type == TextureFormat::UNORM_INT_1010102_REV || 800 texFormat [all...] |
H A D | vktSampleVerifierUtil.hpp | 103 tcu::TextureFormat texFormat,
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_eglimage.c | 108 gl_format texFormat; local 125 texFormat = st_pipe_format_to_mesa_format(ps->format); 129 texFormat);
|
H A D | st_atom_texture.c | 221 const gl_format texFormat = firstImage->base.TexFormat; local 223 st_mesa_format_to_pipe_format(texFormat); 226 (_mesa_get_format_color_encoding(texFormat) == GL_SRGB)) { 231 _mesa_get_srgb_format_linear(texFormat);
|
H A D | st_cb_fbo.c | 512 gl_format texFormat; local 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);
|
H A D | st_cb_drawpixels.c | 463 enum pipe_format texFormat) 467 pt = st_texture_create(st, st->internal_target, texFormat, 0, 1428 enum pipe_format srcFormat, texFormat; local 1504 texFormat = srcFormat; 1509 texFormat = st_choose_format(screen, GL_DEPTH_COMPONENT, 1512 assert(texFormat != PIPE_FORMAT_NONE); 1516 texFormat = st_choose_format(screen, GL_RGBA, 1519 assert(texFormat != PIPE_FORMAT_NONE); 1552 pt = alloc_texture(st, width, height, texFormat); 1564 if (srcFormat == texFormat) { 462 alloc_texture(struct st_context *st, GLsizei width, GLsizei height, enum pipe_format texFormat) argument [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
H A D | utilities.h | 45 bool IsAlpha(GLenum texFormat); 46 bool IsRGB(GLenum texFormat); 47 bool IsRGBA(GLenum texFormat);
|
H A D | utilities.cpp | 166 bool IsAlpha(GLenum texFormat) argument 168 switch(texFormat) 177 bool IsRGB(GLenum texFormat) argument 179 switch(texFormat) 194 bool IsRGBA(GLenum texFormat) argument 196 switch(texFormat)
|
H A D | Context.cpp | 2093 GLenum texFormat = texture->getFormat(GL_TEXTURE_2D, 0); local 2098 if(IsAlpha(texFormat)) // GL_ALPHA 2104 else if(IsRGB(texFormat)) // GL_LUMINANCE (or 1) / GL_RGB (or 3) 2110 else if(IsRGBA(texFormat)) // GL_LUMINANCE_ALPHA (or 2) / GL_RGBA (or 4) 2116 else UNREACHABLE(texFormat); 2119 if(IsAlpha(texFormat)) // GL_ALPHA 2125 else if(IsRGB(texFormat)) // GL_LUMINANCE (or 1) / GL_RGB (or 3) 2131 else if(IsRGBA(texFormat)) // GL_LUMINANCE_ALPHA (or 2) / GL_RGBA (or 4) 2137 else UNREACHABLE(texFormat); 2140 if(texFormat [all...] |
/external/deqp/modules/gles3/performance/ |
H A D | es3pTextureCases.cpp | 95 const tcu::TextureFormat texFormat = glu::mapGLInternalFormat(m_internalFormat); local 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/ |
H A D | es31fTextureBorderClampTests.cpp | 219 static de::MovePtr<glu::Texture2D> createTextureFromInternalFormat (glu::RenderContext& renderCtx, deUint32 texFormat, const tcu::IVec2& size) argument 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) argument 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) argument 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) argument 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) argument 288 if (isDepthFormat(texFormat, tc [all...] |
H A D | 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); local 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()]); 273 setupTexture(const glw::Functions& gl, deUint32 texture, glu::DataType samplerType, tcu::TextureFormat texFormat, const void* color) argument
|
/external/deqp/modules/egl/ |
H A D | teglAndroidUtil.cpp | 145 const TextureFormat texFormat = glu::mapGLInternalFormat(m_format); 148 *ref = Texture2D(texFormat, 64, 64); 155 PixelBufferAccess nativeBuffer(texFormat, 64, 64, 1, bufferData);
|
/external/mesa3d/src/mesa/main/ |
H A D | texparam.c | 994 gl_format texFormat; local 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, 1073 *params = _mesa_get_format_bits(texFormat, pname); 1079 *params = _mesa_get_format_bits(texFormat, pnam 1140 gl_format texFormat = texObj->_BufferObjectFormat; local [all...] |
H A D | texstorage.c | 133 gl_format texFormat; local 142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0, 161 0, internalFormat, texFormat);
|
H A D | texgetimage.c | 229 const gl_format texFormat = local 231 const GLenum baseFormat = _mesa_get_format_base_format(texFormat); 258 _mesa_decompress_image(texFormat, width, height, 323 const gl_format texFormat = local 388 _mesa_unpack_uint_rgba_row(texFormat, width, src, rgba_uint); 401 _mesa_unpack_rgba_row(texFormat, width, src, rgba);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_tex_image.c | 280 gl_format texFormat = MESA_FORMAT_NONE; local 302 texFormat = MESA_FORMAT_XRGB8888; 306 texFormat = MESA_FORMAT_ARGB8888; 310 texFormat = MESA_FORMAT_RGB565; 316 internalFormat, texFormat, 0);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | intel_tex_image.c | 280 gl_format texFormat = MESA_FORMAT_NONE; local 302 texFormat = MESA_FORMAT_XRGB8888; 306 texFormat = MESA_FORMAT_ARGB8888; 310 texFormat = MESA_FORMAT_RGB565; 316 internalFormat, texFormat, 0);
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_tex_image.c | 280 gl_format texFormat = MESA_FORMAT_NONE; local 302 texFormat = MESA_FORMAT_XRGB8888; 306 texFormat = MESA_FORMAT_ARGB8888; 310 texFormat = MESA_FORMAT_RGB565; 316 internalFormat, texFormat, 0);
|
/external/deqp/modules/glshared/ |
H A D | glsLongStressCase.cpp | 212 static inline bool isMatchingGLInternalFormat (const deUint32 internalFormat, const TextureFormat& texFormat) argument 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 [all...] |
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
H A D | swrast.c | 74 gl_format texFormat; local 90 texFormat = MESA_FORMAT_XRGB8888; 92 texFormat = MESA_FORMAT_ARGB8888; 95 w, h, 1, 0, internalFormat, texFormat);
|
/external/deqp/framework/opengl/ |
H A D | gluTextureUtil.cpp | 43 * \param texFormat Generic texture format. 46 TransferFormat getTransferFormat (tcu::TextureFormat texFormat) argument 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) argument 148 switch (PACK_FMT(texFormat.order, texFormat [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_texstate.c | 617 gl_format texFormat; local 663 texFormat = MESA_FORMAT_RGB888; 667 texFormat = MESA_FORMAT_ARGB8888; 673 texFormat = MESA_FORMAT_RGB888; 678 texFormat = MESA_FORMAT_RGB565; 687 rb->cpp, texFormat);
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryBasicGeometryShaderTests.cpp | 387 const tcu::TextureFormat texFormat = glu::mapGLInternalFormat(GL_RGBA8); local 388 const VkFormat format = mapTextureFormat(texFormat); 391 tcu::TextureLevel texture (texFormat, static_cast<int>(viewportSize.x()), static_cast<int>(viewportSize.y())); 467 const tcu::TextureFormat texFormat = glu::mapGLInternalFormat(GL_RGBA8); local 468 const VkFormat format = mapTextureFormat(texFormat);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.hpp | 544 void uploadImage (const tcu::TextureFormat& texFormat, 558 void uploadSparseImage (const tcu::TextureFormat& texFormat, 570 const tcu::TextureFormat& texFormat,
|