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.c212 | nvgl_filter_mode(sa->MinFilter) << 16 in nv20_emit_tex_obj()
252 if (sa->MinFilter != GL_NEAREST && in nv20_emit_tex_obj()
253 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()
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()
Di915_texstate.c203 switch (sampler->MinFilter) { in i915_update_tex_unit()
309 (sampler->MinFilter != GL_NEAREST || in i915_update_tex_unit()
Di830_texstate.c196 switch (sampler->MinFilter) { in i830_update_tex_unit()
/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()
Dintel_tex_image.c109 if ((intelObj->base.Sampler.MinFilter == GL_NEAREST || in intel_miptree_create_for_teximage()
110 intelObj->base.Sampler.MinFilter == GL_LINEAR) && in intel_miptree_create_for_teximage()
/external/mesa3d/src/mesa/main/
Dsamplerobj.h54 return samp->MinFilter != GL_NEAREST && samp->MinFilter != GL_LINEAR; in _mesa_is_mipmap_filter()
Dsamplerobj.c123 sampObj->MinFilter = GL_NEAREST_MIPMAP_LINEAR; in _mesa_init_sampler_object()
589 if (samp->MinFilter == min_filter && samp->MagFilter == mag_filter) in _mesa_set_sampler_filters()
593 samp->MinFilter = min_filter; in _mesa_set_sampler_filters()
601 if (samp->MinFilter == param) in set_sampler_min_filter()
612 samp->MinFilter = param; in set_sampler_min_filter()
1416 *params = sampObj->MinFilter; in _mesa_GetSamplerParameteriv()
1500 *params = (GLfloat) sampObj->MinFilter; in _mesa_GetSamplerParameterfv()
1572 *params = sampObj->MinFilter; in _mesa_GetSamplerParameterIiv()
1644 *params = sampObj->MinFilter; in _mesa_GetSamplerParameterIuiv()
Dtexobj.h131 (sampler->MinFilter != GL_NEAREST && in _mesa_is_texture_complete()
132 sampler->MinFilter != GL_NEAREST_MIPMAP_NEAREST))) { in _mesa_is_texture_complete()
Dtexobj.c83 switch (obj->Sampler.MinFilter) { in valid_filter_for_float()
300 obj->Sampler.MinFilter = GL_LINEAR; in _mesa_initialize_texture_object()
306 obj->Sampler.MinFilter = GL_NEAREST_MIPMAP_LINEAR; in _mesa_initialize_texture_object()
361 obj->Sampler.MinFilter = filter; in finish_texture_init()
445 dest->Sampler.MinFilter = src->Sampler.MinFilter; in _mesa_copy_texture_object()
1023 texObj->Sampler.MinFilter = GL_NEAREST; in _mesa_get_fallback_texture()
Dtexparam.c292 if (texObj->Sampler.MinFilter == params[0]) in set_tex_parameteri()
298 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri()
307 texObj->Sampler.MinFilter = params[0]; in set_tex_parameteri()
1828 *params = ENUM_TO_FLOAT(obj->Sampler.MinFilter); in get_tex_parameterfv()
2069 *params = (GLint) obj->Sampler.MinFilter; in get_tex_parameteriv()
/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.c556 info.filter = obj->Sampler.MinFilter; \
823 info.filter = obj->Sampler.MinFilter; \
1067 minFilter = texObj2D ? samp->MinFilter : GL_NONE; in _swrast_choose_triangle()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c117 sampler->min_img_filter = gl_filter_to_img_filter(msamp->MinFilter); in st_convert_sampler()
118 sampler->min_mip_filter = gl_filter_to_mip_filter(msamp->MinFilter); in st_convert_sampler()
Dst_cb_texture.c486 if (stObj->base.Sampler.MinFilter == GL_NEAREST || in allocate_full_mipmap()
487 stObj->base.Sampler.MinFilter == GL_LINEAR) in allocate_full_mipmap()
2481 if (stObj->base.Sampler.MinFilter == GL_LINEAR || in st_finalize_texture()
2482 stObj->base.Sampler.MinFilter == GL_NEAREST) in st_finalize_texture()
2891 else if (level == 0 && (texObj->Sampler.MinFilter == GL_LINEAR || in st_TestProxyTexImage()
2892 texObj->Sampler.MinFilter == GL_NEAREST)) { in st_TestProxyTexImage()
/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