Searched defs:texFormat (Results 1 - 25 of 31) sorted by relevance

12

/external/deqp/framework/opengl/
H A DgluTextureUtil.cpp43 * \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/state_tracker/
H A Dst_cb_eglimage.c108 gl_format texFormat; local
125 texFormat = st_pipe_format_to_mesa_format(ps->format);
129 texFormat);
H A Dst_atom_texture.c221 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 Dst_cb_fbo.c512 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 Dst_manager.c516 gl_format texFormat; local
536 texFormat = st_ChooseTextureFormat(ctx, target, internalFormat,
541 internalFormat, texFormat);
H A Dst_cb_drawpixels.c463 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...]
H A Dst_cb_texture.c503 gl_format texFormat; local
509 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level,
516 texImage->InternalFormat, texFormat);
/external/mesa3d/src/mesa/main/
H A Dtexstorage.c133 gl_format texFormat; local
142 texFormat = _mesa_choose_texture_format(ctx, texObj, target, 0,
161 0, internalFormat, texFormat);
H A Dtexgetimage.c229 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);
H A Dtexparam.c994 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 Dtexobj.c728 gl_format texFormat; local
789 texFormat = ctx->Driver.ChooseTextureFormat(ctx, target,
810 GL_RGBA, texFormat);
H A Dteximage.c2998 gl_format texFormat = MESA_FORMAT_NONE; local
3006 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level,
3008 if (!legal_texture_size(ctx, texFormat, width, height, depth)) {
3022 border, internalFormat, texFormat);
3062 gl_format texFormat; local
3066 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level,
3070 if (legal_texture_size(ctx, texFormat, width, height, depth)) {
3073 border, internalFormat, texFormat);
3345 get_copy_tex_image_source(struct gl_context *ctx, gl_format texFormat) argument
3347 if (_mesa_get_format_bits(texFormat, GL_DEPTH_BIT
3408 gl_format texFormat = _mesa_choose_texture_format(ctx, texObj, local
[all...]
/external/deqp/modules/gles3/performance/
H A Des3pTextureCases.cpp95 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 Des31fTextureBorderClampTests.cpp219 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...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_tex_image.c280 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 Dintel_tex_image.c280 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 Dintel_tex_image.c280 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/egl/
H A DteglImageUtil.cpp481 const TextureFormat texFormat = glu::mapGLInternalFormat(m_format); local
483 *ref = tcu::Texture2D(texFormat, 64, 64);
/external/deqp/modules/gles3/functional/
H A Des3fTextureWrapTests.cpp300 const tcu::TextureFormat texFormat = m_texture->getRefTexture().getFormat(); local
302 const tcu::TextureFormatInfo texFormatInfo = tcu::getTextureFormatInfo(texFormat);
333 const bool isSRGB = tcu::isSRGB(texFormat);
H A Des3fFboRenderTest.cpp377 tcu::TextureFormat texFormat = glu::mapGLTransferFormat(format, dataType); local
378 tcu::TextureLevel level (texFormat, width, height);
389 tcu::TextureFormat texFormat = glu::mapGLTransferFormat(format, dataType); local
390 tcu::TextureLevel level (texFormat, width, height);
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_texstate.c617 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/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_texstate.c740 gl_format texFormat; local
787 texFormat = MESA_FORMAT_RGB888;
791 texFormat = MESA_FORMAT_ARGB8888;
798 texFormat = MESA_FORMAT_RGB888;
803 texFormat = MESA_FORMAT_RGB565;
812 rb->cpp, texFormat);
/external/mesa3d/src/mesa/drivers/dri/swrast/
H A Dswrast.c74 gl_format texFormat; local
90 texFormat = MESA_FORMAT_XRGB8888;
92 texFormat = MESA_FORMAT_ARGB8888;
95 w, h, 1, 0, internalFormat, texFormat);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktOpaqueTypeIndexingTests.cpp474 const tcu::TextureFormat texFormat = getSamplerTextureFormat(m_samplerType); local
478 std::vector<deUint8> texData (numSamplers * texFormat.getPixelSize());
479 const tcu::PixelBufferAccess refTexAccess (texFormat, numSamplers, 1, 1, &texData[0]);
484 const tcu::Sampler::FilterMode filterMode = (isShadowSampler(m_samplerType) || isIntegerFormat(texFormat)) ? tcu::Sampler::NEAREST : tcu::Sampler::LINEAR;
539 m_uniformSetup->addData(new SamplerUniformData(bindingLocation++, (deUint32)numSamplers, refSampler, texFormat, tcu::IVec3(1, 1, 1), imageType, imageViewType, &texData[0]));
/external/deqp/modules/gles2/functional/
H A Des2fFboRenderTest.cpp513 tcu::TextureFormat texFormat = glu::mapGLTransferFormat(format, dataType); local
514 tcu::TextureLevel level (texFormat, width, height);
525 tcu::TextureFormat texFormat = glu::mapGLTransferFormat(format, dataType); local
526 tcu::TextureLevel level (texFormat, width, height);

Completed in 4717 milliseconds

12