Home
last modified time | relevance | path

Searched refs:baseFormat (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/mesa/main/
Dtexgetimage.c231 const GLenum baseFormat = _mesa_get_format_base_format(texFormat); in get_tex_rgba_compressed() local
270 if (baseFormat == GL_LUMINANCE || in get_tex_rgba_compressed()
271 baseFormat == GL_INTENSITY || in get_tex_rgba_compressed()
272 baseFormat == GL_LUMINANCE_ALPHA) { in get_tex_rgba_compressed()
279 else if ((baseFormat == GL_RGBA || in get_tex_rgba_compressed()
280 baseFormat == GL_RGB || in get_tex_rgba_compressed()
281 baseFormat == GL_RG) && in get_tex_rgba_compressed()
705 GLenum baseFormat, err; in getteximage_error_check() local
737 baseFormat = _mesa_get_format_base_format(texImage->TexFormat); in getteximage_error_check()
743 && !_mesa_is_color_format(baseFormat)) { in getteximage_error_check()
[all …]
Dtexstore.c1691 const GLenum baseFormat = _mesa_get_format_base_format(dstFormat); in _mesa_texstore_argb2101010() local
1711 baseFormat, in _mesa_texstore_argb2101010()
1767 const GLenum baseFormat = _mesa_get_format_base_format(dstFormat); in _mesa_texstore_unorm44() local
1776 baseFormat, in _mesa_texstore_unorm44()
1810 const GLenum baseFormat = _mesa_get_format_base_format(dstFormat); in _mesa_texstore_unorm88() local
1881 baseFormat, in _mesa_texstore_unorm88()
1926 const GLenum baseFormat = _mesa_get_format_base_format(dstFormat); in _mesa_texstore_unorm1616() local
1954 baseFormat, in _mesa_texstore_unorm1616()
2002 const GLenum baseFormat = _mesa_get_format_base_format(dstFormat); in _mesa_texstore_unorm16() local
2026 baseFormat, in _mesa_texstore_unorm16()
[all …]
Dfbobject.c484 _mesa_is_legal_color_format(const struct gl_context *ctx, GLenum baseFormat) in _mesa_is_legal_color_format() argument
486 switch (baseFormat) { in _mesa_is_legal_color_format()
508 is_legal_depth_format(const struct gl_context *ctx, GLenum baseFormat) in is_legal_depth_format() argument
510 switch (baseFormat) { in is_legal_depth_format()
539 GLenum baseFormat; in test_attachment_completeness() local
566 baseFormat = _mesa_get_format_base_format(texImage->TexFormat); in test_attachment_completeness()
569 if (!_mesa_is_legal_color_format(ctx, baseFormat)) { in test_attachment_completeness()
581 if (baseFormat == GL_DEPTH_COMPONENT) { in test_attachment_completeness()
586 baseFormat == GL_DEPTH_STENCIL_EXT) { in test_attachment_completeness()
599 baseFormat == GL_DEPTH_STENCIL_EXT) { in test_attachment_completeness()
[all …]
Dpack.h160 _mesa_rebase_rgba_float(GLuint n, GLfloat rgba[][4], GLenum baseFormat);
163 _mesa_rebase_rgba_uint(GLuint n, GLuint rgba[][4], GLenum baseFormat);
Dfbobject.h121 _mesa_is_legal_color_format(const struct gl_context *ctx, GLenum baseFormat);
Dframebuffer.c517 const GLenum baseFormat = _mesa_get_format_base_format(rb->Format); in _mesa_update_framebuffer_visual() local
527 if (_mesa_is_legal_color_format(ctx, baseFormat)) { in _mesa_update_framebuffer_visual()
Dtexparam.c1142 GLenum baseFormat = _mesa_get_format_base_format(texFormat); in get_tex_level_parameter_buffer() local
1171 if (_mesa_base_format_has_channel(baseFormat, pname)) in get_tex_level_parameter_buffer()
1178 if (_mesa_base_format_has_channel(baseFormat, pname)) { in get_tex_level_parameter_buffer()
1213 if (_mesa_base_format_has_channel(baseFormat, pname)) in get_tex_level_parameter_buffer()
Dteximage.c2332 GLint baseFormat; in copytexture_error_check() local
2395 baseFormat = _mesa_base_tex_format(ctx, internalFormat); in copytexture_error_check()
2396 if (baseFormat < 0) { in copytexture_error_check()
2402 if (!_mesa_source_buffer_exists(ctx, baseFormat)) { in copytexture_error_check()
2431 internalFormat, baseFormat, in copytexture_error_check()
Dpack.c5990 _mesa_rebase_rgba_float(GLuint n, GLfloat rgba[][4], GLenum baseFormat) in _mesa_rebase_rgba_float() argument
5994 switch (baseFormat) { in _mesa_rebase_rgba_float()
6028 _mesa_rebase_rgba_uint(GLuint n, GLuint rgba[][4], GLenum baseFormat) in _mesa_rebase_rgba_uint() argument
6032 switch (baseFormat) { in _mesa_rebase_rgba_uint()
/external/mesa3d/src/mesa/state_tracker/
Dst_format.h80 GLenum baseFormat, GLboolean is_integer);
Dst_cb_texture.c717 GLenum baseFormat, in fallback_copy_texsubimage() argument
743 if ((baseFormat == GL_DEPTH_COMPONENT || in fallback_copy_texsubimage()
744 baseFormat == GL_DEPTH_STENCIL) && in fallback_copy_texsubimage()
754 if (baseFormat == GL_DEPTH_COMPONENT || in fallback_copy_texsubimage()
755 baseFormat == GL_DEPTH_STENCIL) { in fallback_copy_texsubimage()
Dst_format.c1704 GLenum baseFormat, GLboolean is_integer) in st_translate_color() argument
1710 switch (baseFormat) { in st_translate_color()
1752 switch (baseFormat) { in st_translate_color()
/external/deqp/framework/common/
DtcuTextureUtil.hpp160 TextureFormat getEffectiveDepthStencilTextureFormat (const TextureFormat& baseFormat, Sampler::D…
DtcuTextureUtil.cpp1401 TextureFormat getEffectiveDepthStencilTextureFormat (const TextureFormat& baseFormat, Sampler::Dept… in getEffectiveDepthStencilTextureFormat() argument
1403 …return toSamplerAccess(ConstPixelBufferAccess(baseFormat, IVec3(0, 0, 0), DE_NULL), mode).getForma… in getEffectiveDepthStencilTextureFormat()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c3476 GLenum baseFormat; in get_temp_image_type() local
3478 baseFormat = _mesa_get_format_base_format(format); in get_temp_image_type()
3480 switch (baseFormat) { in get_temp_image_type()
3505 baseFormat); in get_temp_image_type()