Searched refs:samp (Results 1 - 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c488 compute_lambda_1d(const struct sp_sampler_variant *samp, argument
493 const struct pipe_resource *texture = samp->view->texture;
496 float rho = MAX2(dsdx, dsdy) * u_minify(texture->width0, samp->view->u.tex.first_level);
503 compute_lambda_2d(const struct sp_sampler_variant *samp, argument
508 const struct pipe_resource *texture = samp->view->texture;
513 float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, samp->view->u.tex.first_level);
514 float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, samp->view->u.tex.first_level);
522 compute_lambda_3d(const struct sp_sampler_variant *samp, argument
527 const struct pipe_resource *texture = samp->view->texture;
534 float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, samp
551 compute_lambda_vert(const struct sp_sampler_variant *samp, const float s[TGSI_QUAD_SIZE], const float t[TGSI_QUAD_SIZE], const float p[TGSI_QUAD_SIZE]) argument
577 get_texel_2d_no_border(const struct sp_sampler_variant *samp, union tex_tile_address addr, int x, int y) argument
594 get_texel_2d(const struct sp_sampler_variant *samp, union tex_tile_address addr, int x, int y) argument
613 get_texel_quad_2d_no_border_single_tile(const struct sp_sampler_variant *samp, union tex_tile_address addr, unsigned x, unsigned y, const float *out[4]) argument
637 get_texel_quad_2d_no_border(const struct sp_sampler_variant *samp, union tex_tile_address addr, int x0, int y0, int x1, int y1, const float *out[4]) argument
652 get_texel_quad_2d(const struct sp_sampler_variant *samp, union tex_tile_address addr, int x0, int y0, int x1, int y1, const float *out[4]) argument
669 get_texel_3d_no_border(const struct sp_sampler_variant *samp, union tex_tile_address addr, int x, int y, int z) argument
687 get_texel_3d(const struct sp_sampler_variant *samp, union tex_tile_address addr, int x, int y, int z) argument
706 get_texel_1d_array(const struct sp_sampler_variant *samp, union tex_tile_address addr, int x, int y) argument
723 get_texel_2d_array(const struct sp_sampler_variant *samp, union tex_tile_address addr, int x, int y, int layer) argument
788 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
849 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
888 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
935 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
972 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1010 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1050 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1099 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1139 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1178 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1215 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1253 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1297 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1342 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1387 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1459 struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1516 struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1555 struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1588 struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1639 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1822 struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1921 struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
1979 struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
2089 struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
2170 do_swizzling(const struct sp_sampler_variant *samp, float in[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], float out[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) argument
2251 struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
2467 sp_sampler_variant_bind_view( struct sp_sampler_variant *samp, struct softpipe_tex_tile_cache *tex_cache, const struct pipe_sampler_view *view ) argument
2491 struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
2542 const struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local
2634 struct sp_sampler_variant *samp = CALLOC_STRUCT(sp_sampler_variant); local
[all...]
/external/mesa3d/src/mesa/main/
H A Dsamplerobj.h45 _mesa_is_mipmap_filter(const struct gl_sampler_object *samp) argument
47 return samp->MinFilter != GL_NEAREST && samp->MinFilter != GL_LINEAR;
54 struct gl_sampler_object *samp);
59 struct gl_sampler_object *samp)
61 if (*ptr != samp)
62 _mesa_reference_sampler_object_(ctx, ptr, samp);
57 _mesa_reference_sampler_object(struct gl_context *ctx, struct gl_sampler_object **ptr, struct gl_sampler_object *samp) argument
H A Dsamplerobj.c60 struct gl_sampler_object *samp)
62 assert(*ptr != samp); /* The inline wrapper should prevent no-op calls */
88 if (samp) {
90 /*_glthread_LOCK_MUTEX(samp->Mutex);*/
91 if (samp->RefCount == 0) {
98 samp->RefCount++;
101 (void *) samp, samp->Name, samp->RefCount);
103 *ptr = samp;
58 _mesa_reference_sampler_object_(struct gl_context *ctx, struct gl_sampler_object **ptr, struct gl_sampler_object *samp) argument
324 set_sampler_wrap_s(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
339 set_sampler_wrap_t(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
354 set_sampler_wrap_r(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
369 set_sampler_min_filter(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
392 set_sampler_mag_filter(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
411 set_sampler_lod_bias(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) argument
424 set_sampler_border_colorf(struct gl_context *ctx, struct gl_sampler_object *samp, const GLfloat params[4]) argument
438 set_sampler_border_colori(struct gl_context *ctx, struct gl_sampler_object *samp, const GLint params[4]) argument
452 set_sampler_border_colorui(struct gl_context *ctx, struct gl_sampler_object *samp, const GLuint params[4]) argument
466 set_sampler_min_lod(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) argument
479 set_sampler_max_lod(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) argument
492 set_sampler_compare_mode(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
513 set_sampler_compare_func(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
547 set_sampler_max_anisotropy(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) argument
567 set_sampler_cube_map_seamless(struct gl_context *ctx, struct gl_sampler_object *samp, GLboolean param) argument
585 set_sampler_srgb_decode(struct gl_context *ctx, struct gl_sampler_object *samp, GLenum param) argument
[all...]
H A Dattrib.c759 const struct gl_sampler_object *samp; local
789 samp = &obj->Sampler;
791 _mesa_TexParameterfv(target, GL_TEXTURE_BORDER_COLOR, samp->BorderColor.f);
792 _mesa_TexParameteri(target, GL_TEXTURE_WRAP_S, samp->WrapS);
793 _mesa_TexParameteri(target, GL_TEXTURE_WRAP_T, samp->WrapT);
794 _mesa_TexParameteri(target, GL_TEXTURE_WRAP_R, samp->WrapR);
795 _mesa_TexParameteri(target, GL_TEXTURE_MIN_FILTER, samp->MinFilter);
796 _mesa_TexParameteri(target, GL_TEXTURE_MAG_FILTER, samp->MagFilter);
797 _mesa_TexParameterf(target, GL_TEXTURE_MIN_LOD, samp->MinLod);
798 _mesa_TexParameterf(target, GL_TEXTURE_MAX_LOD, samp
[all...]
H A Dff_fragment_shader.cpp432 const struct gl_sampler_object *samp; local
438 samp = _mesa_get_samplerobj(ctx, i);
450 ((samp->CompareMode == GL_COMPARE_R_TO_TEXTURE) &&
H A Ddd.h825 struct gl_sampler_object *samp);
/external/mesa3d/src/mesa/swrast/
H A Ds_texfilter.c502 nearest_texcoord(const struct gl_sampler_object *samp, argument
515 *i = clamp_rect_coord_nearest(samp->WrapS, texcoord[0], width);
516 *j = clamp_rect_coord_nearest(samp->WrapT, texcoord[1], height);
520 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]);
525 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]);
526 *j = nearest_texel_location(samp->WrapT, img, height, texcoord[1]);
530 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]);
535 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]);
536 *j = nearest_texel_location(samp->WrapT, img, height, texcoord[1]);
551 linear_texcoord(const struct gl_sampler_object *samp, argument
661 compute_min_mag_ranges(const struct gl_sampler_object *samp, GLuint n, const GLfloat lambda[], GLuint *minStart, GLuint *minEnd, GLuint *magStart, GLuint *magEnd) argument
770 get_border_color(const struct gl_sampler_object *samp, const struct gl_texture_image *img, GLfloat rgba[4]) argument
847 sample_1d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
872 sample_1d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
914 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
930 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
946 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
972 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
999 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
1016 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
1033 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
1113 sample_2d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument
1147 sample_2d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument
1212 sample_2d_linear_repeat(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument
1245 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
1260 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
1276 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
1302 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
1328 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
1359 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
1376 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
1411 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
1456 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
1494 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
1641 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
1768 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
1859 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
2013 sample_3d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2046 sample_3d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2141 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
2156 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
2172 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
2198 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
2225 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
2242 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
2259 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
2415 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
2439 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
2463 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
2498 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
2523 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
2558 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
2594 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
2671 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
2706 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
2773 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
2818 sample_2d_array_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2852 sample_2d_array_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2923 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
2939 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
2956 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
2984 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
3013 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
3031 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
3048 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
3137 sample_1d_array_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
3168 sample_1d_array_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
3218 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
3234 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
3251 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
3277 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
3304 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
3321 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
3338 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
3512 choose_depth_texture_level(const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLfloat lambda) argument
3537 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
3681 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 Ds_fragprog.c87 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local
89 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod);
91 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
123 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local
136 lambda += lodBias + texUnit->LodBias + samp->LodBias;
138 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod);
140 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
H A Ds_texcombine.c656 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local
667 if (texUnit->LodBias + samp->LodBias != 0.0F) {
669 const GLfloat bias = CLAMP(texUnit->LodBias + samp->LodBias,
678 if (samp->MinLod != -1000.0 ||
679 samp->MaxLod != 1000.0) {
681 const GLfloat min = samp->MinLod;
682 const GLfloat max = samp->MaxLod;
692 swrast->TextureSample[unit]( ctx, samp,
719 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local
725 if (texUnit->LodBias + samp
[all...]
H A Ds_texfetch.c1151 set_fetch_functions(struct gl_sampler_object *samp, argument
1158 if (samp->sRGBDecode == GL_SKIP_DECODE_EXT &&
1171 struct gl_sampler_object *samp; local
1178 samp = _mesa_get_samplerobj(ctx, unit);
1185 set_fetch_functions(samp,
H A Ds_triangle.c1049 const struct gl_sampler_object *samp; local
1056 samp = ctx->Texture.Unit[0].Sampler;
1058 samp = &texObj2D->Sampler;
1060 samp = NULL;
1066 minFilter = texObj2D ? samp->MinFilter : GL_NONE;
1067 magFilter = texObj2D ? samp->MagFilter : GL_NONE;
1076 && samp->WrapS == GL_REPEAT
1077 && samp->WrapT == GL_REPEAT
H A Ds_context.h55 const struct gl_sampler_object *samp,
H A Ds_span.c501 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, u); local
503 needLambda = (samp->MinFilter != samp->MagFilter)
508 if (samp->MaxAnisotropy > 1.0 &&
509 samp->MinFilter == GL_LINEAR_MIPMAP_LINEAR) {
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
H A Dd3d11blit.hlsl28 sampler samp;
52 return tex.Sample(samp, input.texcoord);
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/
H A Dd3d11tex.cpp40 ID3D11SamplerState* samp[2]; member in struct:d3d11tex
85 dev->CreateSamplerState(&sampd, &samp[0]);
88 dev->CreateSamplerState(&sampd, &samp[1]);
107 ctx->PSSetSamplers(0, 2, samp);
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_tex.c317 struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local
320 radeonSetTexMaxAnisotropy(t , samp->MaxAnisotropy);
321 radeonSetTexFilter(t, samp->MinFilter, samp->MagFilter);
322 radeonSetTexWrap(t, samp->WrapS, samp->WrapT);
323 radeonSetTexBorderColor(t, samp->BorderColor.f);
435 struct gl_sampler_object *samp = _mesa_new_sampler_object(ctx, name); local
436 if (samp)
437 samp
[all...]
H A Dradeon_texture.h53 struct gl_sampler_object *samp,
H A Dradeon_mipmap_tree.c252 static void calculate_min_max_lod(struct gl_sampler_object *samp, struct gl_texture_object *tObj, argument
263 if (samp->MinFilter == GL_NEAREST || samp->MinFilter == GL_LINEAR) {
268 minLod = tObj->BaseLevel + (GLint)(samp->MinLod);
271 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5);
540 struct gl_sampler_object *samp,
547 if (samp == &texObj->Sampler && (t->validated || t->image_override)) {
551 calculate_min_max_lod(samp, &t->base, &t->minLod, &t->maxLod);
539 radeon_validate_texture_miptree(struct gl_context * ctx, struct gl_sampler_object *samp, struct gl_texture_object *texObj) argument
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_tex.c366 struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local
369 r200SetTexMaxAnisotropy(t , samp->MaxAnisotropy);
370 r200SetTexFilter(t, samp->MinFilter, samp->MagFilter);
371 r200SetTexWrap(t, samp->WrapS, samp->WrapT, samp->WrapR);
372 r200SetTexBorderColor(t, samp->BorderColor.f);
496 struct gl_sampler_object *samp = _mesa_new_sampler_object(ctx, name); local
497 if (samp)
[all...]
H A Dradeon_texture.h53 struct gl_sampler_object *samp,
H A Dradeon_mipmap_tree.c252 static void calculate_min_max_lod(struct gl_sampler_object *samp, struct gl_texture_object *tObj, argument
263 if (samp->MinFilter == GL_NEAREST || samp->MinFilter == GL_LINEAR) {
268 minLod = tObj->BaseLevel + (GLint)(samp->MinLod);
271 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5);
540 struct gl_sampler_object *samp,
547 if (samp == &texObj->Sampler && (t->validated || t->image_override)) {
551 calculate_min_max_lod(samp, &t->base, &t->minLod, &t->maxLod);
539 radeon_validate_texture_miptree(struct gl_context * ctx, struct gl_sampler_object *samp, struct gl_texture_object *texObj) argument
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_texture.c144 const struct gl_sampler_object *samp,
171 const struct gl_sampler_object *samp,
180 st_create_texture_sampler_view_from_stobj(pipe, stObj, samp, format);
194 const struct gl_sampler_object *samp; local
200 samp = _mesa_get_samplerobj(ctx, texUnit);
206 samp = &texObj->Sampler;
225 if ((samp->sRGBDecode == GL_SKIP_DECODE_EXT) &&
251 samp,
142 st_create_texture_sampler_view_from_stobj(struct pipe_context *pipe, struct st_texture_object *stObj, const struct gl_sampler_object *samp, enum pipe_format format) argument
169 st_get_texture_sampler_view_from_stobj(struct st_texture_object *stObj, struct pipe_context *pipe, const struct gl_sampler_object *samp, enum pipe_format format) argument
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_state_dump.c256 struct brw_sampler_state *samp = intel->batch.bo->virtual + offset; local
260 for (i = 0; i < size / sizeof(*samp); i++) {
269 samp++;
270 offset += sizeof(*samp);
278 struct gen7_sampler_state *samp = intel->batch.bo->virtual + offset; local
283 for (i = 0; i < size / sizeof(*samp); i++) {
292 samp++;
293 offset += sizeof(*samp);
/external/icu/icu4c/
H A Dicu4c.css301 samp {
482 pre.samp,samp {
/external/openfst/src/include/fst/
H A Drandgen.h316 RandGenFstOptions(const CacheOptions &copts, S *samp, argument
319 arc_sampler(samp),

Completed in 4570 milliseconds

12