Home
last modified time | relevance | path

Searched refs:MinFilter (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_tex.c79 if (sa->MinFilter != GL_NEAREST && in nv04_emit_tex_obj()
80 sa->MinFilter != GL_LINEAR) { in nv04_emit_tex_obj()
98 nvgl_filter_mode(sa->MinFilter) << 24 | in nv04_emit_tex_obj()
Dnv10_state_tex.c190 | nvgl_filter_mode(sa->MinFilter) << 24; in nv10_emit_tex_obj()
206 if (sa->MinFilter != GL_NEAREST && in nv10_emit_tex_obj()
207 sa->MinFilter != GL_LINEAR) { in nv10_emit_tex_obj()
Dnv20_state_tex.c201 | nvgl_filter_mode(sa->MinFilter) << 16 in nv20_emit_tex_obj()
218 if (sa->MinFilter != GL_NEAREST && in nv20_emit_tex_obj()
219 sa->MinFilter != GL_LINEAR) { in nv20_emit_tex_obj()
Dnouveau_texture.c298 if (t->Sampler.MinFilter == GL_NEAREST || in get_last_level()
299 t->Sampler.MinFilter == GL_LINEAR || !base) in get_last_level()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_validate.c27 if (sampler->MinFilter == GL_NEAREST || in intel_update_max_level()
28 sampler->MinFilter == GL_LINEAR) { in intel_update_max_level()
Di915_texstate.c203 switch (sampler->MinFilter) { in i915_update_tex_unit()
309 (sampler->MinFilter != GL_NEAREST || in i915_update_tex_unit()
Dintel_tex_image.c81 if ((intelObj->base.Sampler.MinFilter == GL_NEAREST || in intel_miptree_create_for_teximage()
82 intelObj->base.Sampler.MinFilter == GL_LINEAR) && in intel_miptree_create_for_teximage()
Di830_texstate.c196 switch (sampler->MinFilter) { in i830_update_tex_unit()
/external/mesa3d/src/mesa/main/
Dsamplerobj.h54 return samp->MinFilter != GL_NEAREST && samp->MinFilter != GL_LINEAR; in _mesa_is_mipmap_filter()
Dtexobj.h137 (sampler->MinFilter != GL_NEAREST && in _mesa_is_texture_complete()
138 sampler->MinFilter != GL_NEAREST_MIPMAP_NEAREST))) { in _mesa_is_texture_complete()
Dsamplerobj.c151 sampObj->MinFilter = GL_NEAREST_MIPMAP_LINEAR; in _mesa_init_sampler_object()
545 if (samp->MinFilter == min_filter && samp->MagFilter == mag_filter) in _mesa_set_sampler_filters()
549 samp->MinFilter = min_filter; in _mesa_set_sampler_filters()
557 if (samp->MinFilter == param) in set_sampler_min_filter()
568 samp->MinFilter = param; in set_sampler_min_filter()
1371 *params = sampObj->MinFilter; in _mesa_GetSamplerParameteriv()
1463 *params = (GLfloat) sampObj->MinFilter; in _mesa_GetSamplerParameterfv()
1538 *params = sampObj->MinFilter; in _mesa_GetSamplerParameterIiv()
1613 *params = sampObj->MinFilter; in _mesa_GetSamplerParameterIuiv()
Dtexobj.c82 switch (obj->Sampler.MinFilter) { in valid_filter_for_float()
309 obj->Sampler.MinFilter = GL_LINEAR; in _mesa_initialize_texture_object()
315 obj->Sampler.MinFilter = GL_NEAREST_MIPMAP_LINEAR; in _mesa_initialize_texture_object()
366 obj->Sampler.MinFilter = filter; in finish_texture_init()
447 dest->Sampler.MinFilter = src->Sampler.MinFilter; in _mesa_copy_texture_object()
1028 texObj->Sampler.MinFilter = GL_NEAREST; in _mesa_get_fallback_texture()
Dtexparam.c285 if (texObj->Sampler.MinFilter == params[0]) in set_tex_parameteri()
291 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri()
300 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri()
1786 *params = ENUM_TO_FLOAT(obj->Sampler.MinFilter); in get_tex_parameterfv()
2021 *params = (GLint) obj->Sampler.MinFilter; in get_tex_parameteriv()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_validate.c53 (sampler->MinFilter == GL_NEAREST || in intel_update_max_level()
54 sampler->MinFilter == GL_LINEAR))) { in intel_update_max_level()
Dbrw_sampler_state.c420 switch (sampler->MinFilter) { in brw_update_sampler_state()
481 sampler->MinFilter == GL_NEAREST || sampler->MagFilter == GL_NEAREST; in brw_update_sampler_state()
Dintel_tex_image.c99 if ((intelObj->base.Sampler.MinFilter == GL_NEAREST || in intel_miptree_create_for_teximage()
100 intelObj->base.Sampler.MinFilter == GL_LINEAR) && in intel_miptree_create_for_teximage()
/external/mesa3d/src/mesa/swrast/
Ds_texfilter.c672 assert(samp->MinFilter != samp->MagFilter); in compute_min_mag_ranges()
676 && (samp->MinFilter == GL_NEAREST_MIPMAP_NEAREST || in compute_min_mag_ranges()
677 samp->MinFilter == GL_NEAREST_MIPMAP_LINEAR)) { in compute_min_mag_ranges()
1053 switch (samp->MinFilter) { in sample_lambda_1d()
1522 switch (samp->MinFilter) { in sample_lambda_2d()
2281 switch (samp->MinFilter) { in sample_lambda_3d()
2615 switch (samp->MinFilter) { in sample_lambda_cube()
2793 if (samp->MinFilter == GL_NEAREST) { in sample_lambda_rect()
3070 switch (samp->MinFilter) { in sample_lambda_2d_array()
3360 switch (samp->MinFilter) { in sample_lambda_1d_array()
[all …]
Ds_triangle.c555 info.filter = obj->Sampler.MinFilter; \
822 info.filter = obj->Sampler.MinFilter; \
1066 minFilter = texObj2D ? samp->MinFilter : GL_NONE; in _swrast_choose_triangle()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c154 sampler->min_img_filter = gl_filter_to_img_filter(msamp->MinFilter); in convert_sampler()
155 sampler->min_mip_filter = gl_filter_to_mip_filter(msamp->MinFilter); in convert_sampler()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex.c318 radeonSetTexFilter(t, samp->MinFilter, samp->MagFilter); in radeonTexUpdateParameters()
422 radeonSetTexFilter( t, t->base.Sampler.MinFilter, t->base.Sampler.MagFilter ); in radeonNewTextureObject()
Dradeon_texture.c683 if ((texObj->Sampler.MinFilter == GL_NEAREST || in radeon_miptree_create_for_teximage()
684 texObj->Sampler.MinFilter == GL_LINEAR) && in radeon_miptree_create_for_teximage()
Dradeon_mipmap_tree.c253 if (samp->MinFilter == GL_NEAREST || samp->MinFilter == GL_LINEAR) { in calculate_min_max_lod()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tex.c367 r200SetTexFilter(t, samp->MinFilter, samp->MagFilter); in r200TexUpdateParameters()
482 r200SetTexFilter(t, t->base.Sampler.MinFilter, t->base.Sampler.MagFilter); in r200NewTextureObject()
Dradeon_texture.c683 if ((texObj->Sampler.MinFilter == GL_NEAREST || in radeon_miptree_create_for_teximage()
684 texObj->Sampler.MinFilter == GL_LINEAR) && in radeon_miptree_create_for_teximage()
Dradeon_mipmap_tree.c253 if (samp->MinFilter == GL_NEAREST || samp->MinFilter == GL_LINEAR) { in calculate_min_max_lod()

12