Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_triangle.c129 const struct gl_texture_image *texImg = \
132 swrast_texture_image_const(texImg); \
133 const GLfloat twidth = (GLfloat) texImg->Width; \
134 const GLfloat theight = (GLfloat) texImg->Height; \
135 const GLint twidth_log2 = texImg->WidthLog2; \
137 const GLint smask = texImg->Width - 1; \
138 const GLint tmask = texImg->Height - 1; \
139 assert(texImg->TexFormat == MESA_FORMAT_BGR_UNORM8); \
187 const struct gl_texture_image *texImg = \
190 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/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/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/main/
Ddebug.c359 struct gl_texture_image *texImg = texObj->Image[j][i]; in dump_texture() local
360 if (texImg) { in dump_texture()
363 texImg->Width, texImg->Height, texImg->Depth, in dump_texture()
364 _mesa_get_format_name(texImg->TexFormat)); in dump_texture()
Dfbobject.c1036 const struct gl_texture_image *texImg = att->Renderbuffer->TexImage; in _mesa_test_framebuffer_completeness() local
1038 minWidth = MIN2(minWidth, texImg->Width); in _mesa_test_framebuffer_completeness()
1039 maxWidth = MAX2(maxWidth, texImg->Width); in _mesa_test_framebuffer_completeness()
1040 minHeight = MIN2(minHeight, texImg->Height); in _mesa_test_framebuffer_completeness()
1041 maxHeight = MAX2(maxHeight, texImg->Height); in _mesa_test_framebuffer_completeness()
1042 f = texImg->_BaseFormat; in _mesa_test_framebuffer_completeness()
1043 attFormat = texImg->TexFormat; in _mesa_test_framebuffer_completeness()
1047 texImg->InternalFormat) && in _mesa_test_framebuffer_completeness()
1056 numSamples = texImg->NumSamples; in _mesa_test_framebuffer_completeness()
1057 else if (numSamples != texImg->NumSamples) { in _mesa_test_framebuffer_completeness()
[all …]