/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_validate.c | 17 * but BaseLevel. 27 intelObj->_MaxLevel = tObj->BaseLevel; 58 firstImage = intel_texture_image(tObj->Image[0][tObj->BaseLevel]); 63 * For pre-gen4, we have to match first_level == tObj->BaseLevel, 65 * determination happen at a nonzero (hardware) baselevel. Because 66 * of that, we just always relayout on baselevel change. 70 intelObj->mt->first_level != tObj->BaseLevel || 85 tObj->BaseLevel, 101 for (i = tObj->BaseLevel; i <= intelObj->_MaxLevel; i++) { 193 for (i = intelObj->base.BaseLevel; i <= intelObj->_MaxLevel; i++) [all...] |
intel_tex_image.c | 29 /* Work back from the specified level of the image to the baselevel and create a 48 if (intelImage->base.Base.Level > intelObj->base.BaseLevel && 60 /* If this image disrespects BaseLevel, allocate from level zero. 61 * Usually BaseLevel == 0, so it's unlikely to happen. 63 if (intelImage->base.Base.Level < intelObj->base.BaseLevel) 66 firstLevel = intelObj->base.BaseLevel;
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_state_tex.c | 70 struct gl_texture_image *ti = t->Image[0][t->BaseLevel]; 77 s = &to_nouveau_texture(t)->surfaces[t->BaseLevel];
|
nouveau_texture.c | 331 if (level == t->BaseLevel && (s->offset & 0x7f)) 366 struct gl_texture_image *base = t->Image[0][t->BaseLevel]; 370 return t->BaseLevel; 372 return MIN2(t->BaseLevel + base->MaxNumLevels - 1, t->MaxLevel); 378 struct gl_texture_image *base = t->Image[0][t->BaseLevel]; 395 for (i = t->BaseLevel; i <= last; i++) { 426 for (i = t->BaseLevel; i < last; i++) 437 if (!teximage_fits(t, t->BaseLevel) || 445 for (i = t->BaseLevel; i <= last; i++) { 461 if (!teximage_fits(t, t->BaseLevel) || [all...] |
nv10_state_tex.c | 175 s = &to_nouveau_texture(t)->surfaces[t->BaseLevel]; 176 ti = t->Image[0][t->BaseLevel];
|
nv20_state_tex.c | 181 s = &to_nouveau_texture(t)->surfaces[t->BaseLevel]; 182 ti = t->Image[0][t->BaseLevel];
|
nv04_context.c | 38 struct gl_texture_image *ti = t->Image[0][t->BaseLevel];
|
nv04_state_frag.c | 142 gl_format format = t->Image[0][t->BaseLevel]->TexFormat;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_mipmap_tree.c | 168 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { 189 GLenum target, gl_format mesaFormat, GLuint baseLevel, GLuint numLevels, 202 mt->baseLevel = baseLevel; 266 minLod = maxLod = tObj->BaseLevel; 268 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); 269 minLod = MAX2(minLod, tObj->BaseLevel); 271 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); 327 if (texObj->BaseLevel < mt->baseLevel) [all...] |
radeon_texture.c | 567 * when there was no image for baselevel specified */ 757 for (i = texObj->BaseLevel; i <= texObj->_MaxLevel; i++) { 773 for (i = texObj->BaseLevel; i <= texObj->_MaxLevel; i++) { 796 if (texImage->Level > texObj->BaseLevel && 808 if (texImage->Level < texObj->BaseLevel) 811 firstLevel = texObj->BaseLevel;
|
/external/mesa3d/src/mesa/state_tracker/ |
st_gen_mipmap.c | 74 uint baseLevel, uint lastLevel) 101 util_gen_mipmap(st->gen_mipmap, psv, face, baseLevel, lastLevel, 127 baseImage = _mesa_get_tex_image(ctx, texObj, target, texObj->BaseLevel); 129 numLevels = texObj->BaseLevel + baseImage->MaxNumLevels; 147 const uint baseLevel = texObj->BaseLevel; 209 if (!st_render_mipmap(st, target, stObj, baseLevel, lastLevel)) { 216 for (dstLevel = baseLevel + 1; dstLevel <= lastLevel; dstLevel++) {
|
st_atom_sampler.c | 158 (GLfloat) texobj->MaxLevel - texobj->BaseLevel); 159 sampler->max_lod = MIN2((GLfloat) texobj->MaxLevel - texobj->BaseLevel, 178 teximg = texobj->Image[0][texobj->BaseLevel];
|
st_atom_texture.c | 155 templ.u.tex.first_level = stObj->base.BaseLevel; 220 st_texture_image(stObj->base.Image[0][stObj->base.BaseLevel]); 245 stObj->base.BaseLevel != stObj->sampler_view->u.tex.first_level) {
|
st_cb_drawtex.c | 201 struct gl_texture_image *img = obj->Image[0][obj->BaseLevel];
|
/external/mesa3d/src/mesa/swrast/ |
s_texfilter.c | 613 return tObj->BaseLevel; 615 return (GLint) (tObj->BaseLevel + tObj->_MaxLambda); 617 return (GLint) (tObj->BaseLevel + lambda); 635 level = (GLint) (tObj->BaseLevel + l + 0.5F); 834 GLenum format = tObj->Image[0][tObj->BaseLevel]->_BaseFormat; 1006 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; 1023 struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel]; 1053 sample_1d_nearest(ctx, samp, tObj->Image[0][tObj->BaseLevel], 1058 sample_1d_linear(ctx, samp, tObj->Image[0][tObj->BaseLevel], 1088 sample_1d_nearest(ctx, samp, tObj->Image[0][tObj->BaseLevel], [all...] |
s_texture.c | 254 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { 275 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) {
|
s_fragprog.c | 120 texObj->Image[0][texObj->BaseLevel];
|
s_triangle.c | 130 obj->Image[0][obj->BaseLevel]; \ 188 obj->Image[0][obj->BaseLevel]; \ 545 obj->Image[0][obj->BaseLevel]; \ 814 obj->Image[0][obj->BaseLevel]; \ [all...] |
s_aalinetemp.h | 182 const struct gl_texture_image *texImage = obj->Image[0][obj->BaseLevel];
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i830_texstate.c | 146 firstImage = tObj->Image[0][tObj->BaseLevel]; 148 intel_miptree_get_image_offset(intelObj->mt, tObj->BaseLevel, 0, 0, 265 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel);
|
i915_texstate.c | 164 firstImage = tObj->Image[0][tObj->BaseLevel]; 188 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); 351 minlod = MIN2(sampler->MinLod, tObj->_MaxLevel - tObj->BaseLevel);
|
/external/mesa3d/src/mesa/main/ |
texobj.c | 120 obj->BaseLevel = 0; 254 dest->BaseLevel = src->BaseLevel; 444 const GLint baseLevel = t->BaseLevel; 463 if ((baseLevel < 0) || (baseLevel >= MAX_TEXTURE_LEVELS)) { 464 incomplete(t, BASE, "base level = %d is invalid", baseLevel); 468 if (t->MaxLevel < baseLevel) { 470 t->MaxLevel, baseLevel); [all...] |
texparam.c | 331 if (texObj->BaseLevel == params[0]) 340 texObj->BaseLevel = params[0]; [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_wm_surface_state.c | 301 struct gl_texture_image *firstImage = tObj->Image[0][tObj->BaseLevel]; 362 surf->ss5.mip_count = intelObj->_MaxLevel - tObj->BaseLevel;
|
brw_wm_sampler_state.c | 89 struct gl_texture_image *firstImage = texObj->Image[0][texObj->BaseLevel];
|