Home
last modified time | relevance | path

Searched refs:texImg (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_triangle.c130 const struct gl_texture_image *texImg = \
133 swrast_texture_image_const(texImg); \
134 const GLfloat twidth = (GLfloat) texImg->Width; \
135 const GLfloat theight = (GLfloat) texImg->Height; \
136 const GLint twidth_log2 = texImg->WidthLog2; \
138 const GLint smask = texImg->Width - 1; \
139 const GLint tmask = texImg->Height - 1; \
140 assert(texImg->TexFormat == MESA_FORMAT_BGR_UNORM8); \
188 const struct gl_texture_image *texImg = \
191 swrast_texture_image_const(texImg); \
[all …]
Ds_fragprog.c120 const struct gl_texture_image *texImg = _mesa_base_tex_image(texObj); in fetch_texel_deriv() local
122 swrast_texture_image_const(texImg); in fetch_texel_deriv()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c360 struct gl_texture_image *texImg = texObj->Image[0][texObj->BaseLevel]; in radeon_try_alloc_miptree() local
364 if (!texImg) { in radeon_try_alloc_miptree()
371 numLevels = MIN2(texObj->MaxLevel - texObj->BaseLevel + 1, texImg->MaxNumLevels); in radeon_try_alloc_miptree()
374 texImg->TexFormat, texObj->BaseLevel, in radeon_try_alloc_miptree()
375 numLevels, texImg->Width, texImg->Height, in radeon_try_alloc_miptree()
376 texImg->Depth, t->tile_bits); in radeon_try_alloc_miptree()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c360 struct gl_texture_image *texImg = texObj->Image[0][texObj->BaseLevel]; in radeon_try_alloc_miptree() local
364 if (!texImg) { in radeon_try_alloc_miptree()
371 numLevels = MIN2(texObj->MaxLevel - texObj->BaseLevel + 1, texImg->MaxNumLevels); in radeon_try_alloc_miptree()
374 texImg->TexFormat, texObj->BaseLevel, in radeon_try_alloc_miptree()
375 numLevels, texImg->Width, texImg->Height, in radeon_try_alloc_miptree()
376 texImg->Depth, t->tile_bits); in radeon_try_alloc_miptree()
/external/mesa3d/src/mesa/main/
Ddebug.c365 struct gl_texture_image *texImg = texObj->Image[j][i]; in dump_texture() local
366 if (texImg) { in dump_texture()
369 texImg->Width, texImg->Height, texImg->Depth, in dump_texture()
370 _mesa_get_format_name(texImg->TexFormat)); in dump_texture()
Dfbobject.c1048 const struct gl_texture_image *texImg = att->Renderbuffer->TexImage; in _mesa_test_framebuffer_completeness() local
1050 minWidth = MIN2(minWidth, texImg->Width); in _mesa_test_framebuffer_completeness()
1051 maxWidth = MAX2(maxWidth, texImg->Width); in _mesa_test_framebuffer_completeness()
1052 minHeight = MIN2(minHeight, texImg->Height); in _mesa_test_framebuffer_completeness()
1053 maxHeight = MAX2(maxHeight, texImg->Height); in _mesa_test_framebuffer_completeness()
1054 f = texImg->_BaseFormat; in _mesa_test_framebuffer_completeness()
1055 attFormat = texImg->TexFormat; in _mesa_test_framebuffer_completeness()
1059 texImg->InternalFormat) && in _mesa_test_framebuffer_completeness()
1068 numSamples = texImg->NumSamples; in _mesa_test_framebuffer_completeness()
1069 else if (numSamples != texImg->NumSamples) { in _mesa_test_framebuffer_completeness()
[all …]