| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| H A D | s_texfilter.h | 38 const struct gl_texture_object *tObj,
|
| H A D | s_texfilter.c | 613 linear_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) argument 616 return tObj->BaseLevel; 617 else if (lambda > tObj->_MaxLambda) 618 return (GLint) (tObj->BaseLevel + tObj->_MaxLambda); 620 return (GLint) (tObj->BaseLevel + lambda); 628 nearest_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) argument 634 else if (lambda > tObj->_MaxLambda + 0.4999F) 635 l = tObj->_MaxLambda + 0.4999F; 638 level = (GLint) (tObj 835 is_depth_texture(const struct gl_texture_object * tObj) argument 917 sample_1d_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 933 sample_1d_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 949 sample_1d_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 975 sample_1d_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1002 sample_nearest_1d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1019 sample_linear_1d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1036 sample_lambda_1d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1248 sample_2d_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1263 sample_2d_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1279 sample_2d_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1305 sample_2d_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1331 sample_2d_linear_mipmap_linear_repeat(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1362 sample_nearest_2d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1379 sample_linear_2d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1414 opt_sample_rgb_2d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1459 opt_sample_rgba_2d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1497 sample_lambda_2d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1646 sample_2d_ewa(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,const GLfloat texcoord[4],const GLfloat dudx,const GLfloat dvdx,const GLfloat dudy,const GLfloat dvdy,const GLint lod,GLfloat rgba[]) argument 1773 sample_2d_footprint(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,const GLfloat texcoord[4],const GLfloat dudx,const GLfloat dvdx,const GLfloat dudy,const GLfloat dvdy,const GLint lod,GLfloat rgba[]) argument 1836 texture_unit_index(const struct gl_context * ctx,const struct gl_texture_object * tObj) argument 1864 sample_lambda_2d_aniso(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda_iso[],GLfloat rgba[][4]) argument 2146 sample_3d_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2161 sample_3d_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2177 sample_3d_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2203 sample_3d_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2230 sample_nearest_3d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2247 sample_linear_3d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2264 sample_lambda_3d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2420 sample_nearest_cube(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2444 sample_linear_cube(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2468 sample_cube_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2503 sample_cube_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2528 sample_cube_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2563 sample_cube_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2599 sample_lambda_cube(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2676 sample_nearest_rect(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2711 sample_linear_rect(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2778 sample_lambda_rect(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2928 sample_2d_array_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2944 sample_2d_array_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2961 sample_2d_array_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2989 sample_2d_array_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3018 sample_nearest_2d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3036 sample_linear_2d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3053 sample_lambda_2d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3223 sample_1d_array_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3239 sample_1d_array_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3256 sample_1d_array_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3282 sample_1d_array_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3309 sample_nearest_1d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3326 sample_linear_1d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3343 sample_lambda_1d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3517 choose_depth_texture_level(const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLfloat lambda) argument 3542 sample_depth_texture(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat texel[][4]) argument 3686 null_sample_func(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument [all...] |
| H A D | s_context.h | 56 const struct gl_texture_object *tObj,
|
| H A D | s_context.c | 473 struct gl_texture_object *tObj = ctx->Texture.Unit[u]._Current; local in function:_swrast_update_texture_samplers 474 /* Note: If tObj is NULL, the sample function will be a simple 479 _swrast_choose_texture_sample_func(ctx, tObj,
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| H A D | s_texfilter.h | 38 const struct gl_texture_object *tObj,
|
| H A D | s_texfilter.c | 613 linear_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) argument 616 return tObj->Attrib.BaseLevel; 617 else if (lambda > tObj->_MaxLambda) 618 return (GLint) (tObj->Attrib.BaseLevel + tObj->_MaxLambda); 620 return (GLint) (tObj->Attrib.BaseLevel + lambda); 628 nearest_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) argument 634 else if (lambda > tObj->_MaxLambda + 0.4999F) 635 l = tObj->_MaxLambda + 0.4999F; 638 level = (GLint) (tObj 835 is_depth_texture(const struct gl_texture_object * tObj) argument 917 sample_1d_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 933 sample_1d_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 949 sample_1d_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 975 sample_1d_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1002 sample_nearest_1d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1019 sample_linear_1d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1036 sample_lambda_1d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1248 sample_2d_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1263 sample_2d_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1279 sample_2d_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1305 sample_2d_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1331 sample_2d_linear_mipmap_linear_repeat(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1362 sample_nearest_2d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1379 sample_linear_2d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1414 opt_sample_rgb_2d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1459 opt_sample_rgba_2d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1497 sample_lambda_2d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 1646 sample_2d_ewa(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,const GLfloat texcoord[4],const GLfloat dudx,const GLfloat dvdx,const GLfloat dudy,const GLfloat dvdy,const GLint lod,GLfloat rgba[]) argument 1773 sample_2d_footprint(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,const GLfloat texcoord[4],const GLfloat dudx,const GLfloat dvdx,const GLfloat dudy,const GLfloat dvdy,const GLint lod,GLfloat rgba[]) argument 1836 texture_unit_index(const struct gl_context * ctx,const struct gl_texture_object * tObj) argument 1864 sample_lambda_2d_aniso(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda_iso[],GLfloat rgba[][4]) argument 2146 sample_3d_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2161 sample_3d_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2177 sample_3d_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2203 sample_3d_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2230 sample_nearest_3d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2247 sample_linear_3d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2264 sample_lambda_3d(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2420 sample_nearest_cube(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2444 sample_linear_cube(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2468 sample_cube_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2503 sample_cube_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2528 sample_cube_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2563 sample_cube_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2599 sample_lambda_cube(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2676 sample_nearest_rect(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2711 sample_linear_rect(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2778 sample_lambda_rect(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2928 sample_2d_array_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2944 sample_2d_array_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2961 sample_2d_array_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 2989 sample_2d_array_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3018 sample_nearest_2d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3036 sample_linear_2d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3053 sample_lambda_2d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3223 sample_1d_array_nearest_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3239 sample_1d_array_linear_mipmap_nearest(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3256 sample_1d_array_nearest_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3282 sample_1d_array_linear_mipmap_linear(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoord[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3309 sample_nearest_1d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3326 sample_linear_1d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3343 sample_lambda_1d_array(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument 3517 choose_depth_texture_level(const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLfloat lambda) argument 3542 sample_depth_texture(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat texel[][4]) argument 3686 null_sample_func(struct gl_context * ctx,const struct gl_sampler_object * samp,const struct gl_texture_object * tObj,GLuint n,const GLfloat texcoords[][4],const GLfloat lambda[],GLfloat rgba[][4]) argument [all...] |
| H A D | s_context.h | 57 const struct gl_texture_object *tObj,
|
| H A D | s_context.c | 473 struct gl_texture_object *tObj = ctx->Texture.Unit[u]._Current; local in function:_swrast_update_texture_samplers 474 /* Note: If tObj is NULL, the sample function will be a simple 479 _swrast_choose_texture_sample_func(ctx, tObj,
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/ |
| H A D | intel_tex_validate.c | 24 struct gl_texture_object *tObj = &intelObj->base; local in function:intel_update_max_level 29 maxlevel = tObj->BaseLevel; 31 maxlevel = tObj->_MaxLevel; 46 struct gl_texture_object *tObj = intel->ctx.Texture.Unit[unit]._Current; local in function:intel_finalize_mipmap_tree 47 struct intel_texture_object *intelObj = intel_texture_object(tObj); 55 if (tObj->Target == GL_TEXTURE_BUFFER) 65 if (intelObj->mt && intelObj->mt->first_level != tObj->BaseLevel) 71 firstImage = intel_texture_image(tObj->Image[0][tObj->BaseLevel]); 76 * For pre-gen4, we have to match first_level == tObj [all...] |
| H A D | i915_texstate.c | 145 struct gl_texture_object *tObj = tUnit->_Current; local in function:i915_update_tex_unit 146 struct intel_texture_object *intelObj = intel_texture_object(tObj); 169 firstImage = tObj->Image[0][tObj->BaseLevel]; 176 tObj->DepthMode); 192 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); 270 tObj->Target != GL_TEXTURE_3D) { 271 if (tObj->Target == GL_TEXTURE_1D) 298 if (tObj [all...] |
| H A D | i830_texstate.c | 120 struct gl_texture_object *tObj = tUnit->_Current; local in function:i830_update_tex_unit 121 struct intel_texture_object *intelObj = intel_texture_object(tObj); 144 firstImage = tObj->Image[0][tObj->BaseLevel]; 146 intel_miptree_get_image_offset(intelObj->mt, tObj->BaseLevel, 0, 177 if (tObj->Target == GL_TEXTURE_CUBE_MAP) 265 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); 290 if (tObj->Target == GL_TEXTURE_3D)
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/ |
| H A D | intel_tex_validate.c | 24 struct gl_texture_object *tObj = &intelObj->base; local in function:intel_update_max_level 29 maxlevel = tObj->Attrib.BaseLevel; 31 maxlevel = tObj->_MaxLevel; 46 struct gl_texture_object *tObj = intel->ctx.Texture.Unit[unit]._Current; local in function:intel_finalize_mipmap_tree 47 struct intel_texture_object *intelObj = intel_texture_object(tObj); 55 if (tObj->Target == GL_TEXTURE_BUFFER) 65 if (intelObj->mt && intelObj->mt->first_level != tObj->Attrib.BaseLevel) 71 firstImage = intel_texture_image(tObj->Image[0][tObj->Attrib.BaseLevel]); 76 * For pre-gen4, we have to match first_level == tObj [all...] |
| H A D | i915_texstate.c | 145 struct gl_texture_object *tObj = tUnit->_Current; local in function:i915_update_tex_unit 146 struct intel_texture_object *intelObj = intel_texture_object(tObj); 169 firstImage = tObj->Image[0][tObj->Attrib.BaseLevel]; 176 tObj->Attrib.DepthMode); 192 maxlod = MIN2(sampler->Attrib.MaxLod, tObj->_MaxLevel - tObj->Attrib.BaseLevel); 270 tObj->Target != GL_TEXTURE_3D) { 271 if (tObj->Target == GL_TEXTURE_1D) 298 if (tObj [all...] |
| H A D | i830_texstate.c | 120 struct gl_texture_object *tObj = tUnit->_Current; local in function:i830_update_tex_unit 121 struct intel_texture_object *intelObj = intel_texture_object(tObj); 144 firstImage = tObj->Image[0][tObj->Attrib.BaseLevel]; 146 intel_miptree_get_image_offset(intelObj->mt, tObj->Attrib.BaseLevel, 0, 177 if (tObj->Target == GL_TEXTURE_CUBE_MAP) 265 maxlod = MIN2(sampler->Attrib.MaxLod, tObj->_MaxLevel - tObj->Attrib.BaseLevel); 290 if (tObj->Target == GL_TEXTURE_3D)
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | intel_tex_validate.c | 37 * Sets our driver-specific variant of tObj->_MaxLevel for later surface state 45 intel_update_max_level(struct gl_texture_object *tObj, argument 48 struct intel_texture_object *intelObj = intel_texture_object(tObj); 50 if (!tObj->_MipmapComplete || 51 (tObj->_RenderToTexture && 54 intelObj->_MaxLevel = tObj->BaseLevel; 56 intelObj->_MaxLevel = tObj->_MaxLevel; 68 struct gl_texture_object *tObj) 70 struct intel_texture_object *intelObj = intel_texture_object(tObj); 77 if (tObj 67 intel_finalize_mipmap_tree(struct brw_context * brw,struct gl_texture_object * tObj) argument [all...] |
| H A D | brw_wm_surface_state.c | 692 struct gl_texture_object *tObj = ctx->Texture.Unit[unit]._Current; local in function:brw_update_buffer_texture_surface 694 intel_buffer_object(tObj->BufferObject); 695 const unsigned size = buffer_texture_range_size(brw, tObj); 697 mesa_format format = tObj->_BufferObjectFormat; 702 bo = intel_bufferobj_buffer(brw, intel_obj, tObj->BufferOffset, size, 711 tObj->BufferOffset,
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_tex_validate.c | 37 * Sets our driver-specific variant of tObj->_MaxLevel for later surface state 45 brw_update_max_level(struct gl_texture_object *tObj, argument 48 struct brw_texture_object *brw_obj = brw_texture_object(tObj); 50 if (!tObj->_MipmapComplete || 51 (tObj->_RenderToTexture && 54 brw_obj->_MaxLevel = tObj->Attrib.BaseLevel; 56 brw_obj->_MaxLevel = tObj->_MaxLevel; 68 struct gl_texture_object *tObj) 70 struct brw_texture_object *brw_obj = brw_texture_object(tObj); 77 if (tObj 67 brw_finalize_mipmap_tree(struct brw_context * brw,struct gl_texture_object * tObj) argument [all...] |
| H A D | brw_wm_surface_state.c | 694 struct gl_texture_object *tObj = ctx->Texture.Unit[unit]._Current; local in function:brw_update_buffer_texture_surface 696 brw_buffer_object(tObj->BufferObject); 697 const unsigned size = buffer_texture_range_size(brw, tObj); 699 mesa_format format = tObj->_BufferObjectFormat; 703 if (tObj->BufferObject == NULL) { 709 bo = brw_bufferobj_buffer(brw, intel_obj, tObj->BufferOffset, size, 718 tObj->BufferOffset,
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_cb_texture.h | 51 struct gl_texture_object *tObj,
|
| H A D | st_cb_texture.c | 2584 struct gl_texture_object *tObj, 2588 struct st_texture_object *stObj = st_texture_object(tObj); 2596 if (tObj->Immutable) 2599 if (tObj->_MipmapComplete) 2601 else if (tObj->_BaseComplete) 2582 st_finalize_texture(struct gl_context * ctx,struct pipe_context * pipe,struct gl_texture_object * tObj,GLuint cubeMapFace) argument
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| H A D | st_cb_texture.h | 51 struct gl_texture_object *tObj,
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_mipmap_tree.c | 238 * @param[in] tObj texture object whose LOD values to calculate 242 static void calculate_min_max_lod(struct gl_sampler_object *samp, struct gl_texture_object *tObj, argument 248 switch (tObj->Target) { 256 minLod = maxLod = tObj->BaseLevel; 258 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); 259 minLod = MAX2(minLod, tObj->BaseLevel); 260 minLod = MIN2(minLod, tObj->MaxLevel); 261 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); 262 maxLod = MIN2(maxLod, tObj->MaxLevel); 263 maxLod = MIN2(maxLod, tObj [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_mipmap_tree.c | 239 * @param[in] tObj texture object whose LOD values to calculate 243 static void calculate_min_max_lod(struct gl_sampler_object *samp, struct gl_texture_object *tObj, argument 249 switch (tObj->Target) { 257 minLod = maxLod = tObj->Attrib.BaseLevel; 259 minLod = tObj->Attrib.BaseLevel + (GLint)(samp->Attrib.MinLod); 260 minLod = MAX2(minLod, tObj->Attrib.BaseLevel); 261 minLod = MIN2(minLod, tObj->Attrib.MaxLevel); 262 maxLod = tObj->Attrib.BaseLevel + (GLint)(samp->Attrib.MaxLod + 0.5); 263 maxLod = MIN2(maxLod, tObj->Attrib.MaxLevel); 264 maxLod = MIN2(maxLod, tObj [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/ |
| H A D | r200_tex.c | 64 struct gl_texture_object *tObj = &t->base; local in function:r200SetTexWrap 108 if (tObj->Target != GL_TEXTURE_1D) {
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/ |
| H A D | r200_tex.c | 65 struct gl_texture_object *tObj = &t->base; local in function:r200SetTexWrap 109 if (tObj->Target != GL_TEXTURE_1D) {
|