Home
last modified time | relevance | path

Searched refs:baseImage (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/common/
Dmeta_generate_mipmap.c62 struct gl_texture_image *baseImage; in fallback_required() local
75 baseImage = _mesa_select_tex_image(texObj, target, srcLevel); in fallback_required()
76 if (!baseImage) { in fallback_required()
82 if (_mesa_is_format_compressed(baseImage->TexFormat)) { in fallback_required()
85 _mesa_get_format_name(baseImage->TexFormat)); in fallback_required()
89 if (_mesa_get_format_color_encoding(baseImage->TexFormat) == GL_SRGB && in fallback_required()
114 GL_COLOR_ATTACHMENT0, baseImage, 0); in fallback_required()
228 const struct gl_texture_image *baseImage = in _mesa_meta_GenerateMipmap() local
231 _mesa_get_format_color_encoding(baseImage->TexFormat) == GL_SRGB; in _mesa_meta_GenerateMipmap()
/external/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c58 const struct gl_texture_image *baseImage; in compute_num_levels() local
61 baseImage = _mesa_get_tex_image(ctx, texObj, target, texObj->BaseLevel); in compute_num_levels()
63 numLevels = texObj->BaseLevel + baseImage->MaxNumLevels; in compute_num_levels()
/external/mesa3d/src/mesa/main/
Dtexobj.c647 const struct gl_texture_image *baseImage; in _mesa_test_texobj_completeness() local
676 baseImage = t->Image[0][baseLevel]; in _mesa_test_texobj_completeness()
679 if (!baseImage) { in _mesa_test_texobj_completeness()
685 if (baseImage->Width == 0 || in _mesa_test_texobj_completeness()
686 baseImage->Height == 0 || in _mesa_test_texobj_completeness()
687 baseImage->Depth == 0) { in _mesa_test_texobj_completeness()
694 GLenum datatype = _mesa_get_format_datatype(baseImage->TexFormat); in _mesa_test_texobj_completeness()
741 (int) (baseLevel + baseImage->MaxNumLevels - 1), in _mesa_test_texobj_completeness()
771 assert(baseImage->Width2 == baseImage->Height); in _mesa_test_texobj_completeness()
777 t->Image[face][baseLevel]->Width2 != baseImage->Width2) { in _mesa_test_texobj_completeness()
[all …]
Dmipmap.c1888 const struct gl_texture_image *baseImage = in _mesa_prepare_mipmap_levels() local
1891 GLint width = baseImage->Width; in _mesa_prepare_mipmap_levels()
1892 GLint height = baseImage->Height; in _mesa_prepare_mipmap_levels()
1893 GLint depth = baseImage->Depth; in _mesa_prepare_mipmap_levels()
1894 const GLenum intFormat = baseImage->InternalFormat; in _mesa_prepare_mipmap_levels()
1895 const mesa_format texFormat = baseImage->TexFormat; in _mesa_prepare_mipmap_levels()