/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11tex/ |
d3d11tex.cpp | 40 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/gallium/state_trackers/d3d1x/progs/d3d11tex/ |
d3d11tex.cpp | 40 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/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_tex.c | 366 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...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_tex.c | 317 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->MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_fragprog.c | 87 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,
|
s_texfetch.c | 1151 set_fetch_functions(struct gl_sampler_object *samp, 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,
|
s_texcombine.c | 664 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local 675 if (texUnit->LodBias + samp->LodBias != 0.0F) { 677 const GLfloat bias = CLAMP(texUnit->LodBias + samp->LodBias, 686 if (samp->MinLod != -1000.0 || 687 samp->MaxLod != 1000.0) { 689 const GLfloat min = samp->MinLod; 690 const GLfloat max = samp->MaxLod; 700 swrast->TextureSample[unit]( ctx, samp, 727 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local 733 if (texUnit->LodBias + samp->LodBias != 0.0F) [all...] |
s_triangle.c | 1049 const struct gl_sampler_object *samp; local [all...] |
s_span.c | 501 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) { [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_tex.c | 366 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...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_tex.c | 317 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->MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_fragprog.c | 87 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,
|
s_texfetch.c | 1151 set_fetch_functions(struct gl_sampler_object *samp, 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,
|
s_texcombine.c | 656 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->LodBias != 0.0F) [all...] |
s_triangle.c | 1049 const struct gl_sampler_object *samp; local [all...] |
s_span.c | 501 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) { [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_texture.c | 144 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,
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_texture.c | 144 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,
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_state_dump.c | 256 struct brw_sampler_state *samp = intel->batch.bo->virtual + offset; local 260 for (i = 0; i < size / sizeof(*samp); i++) { 263 sprintf(name, "WM SAMP%d", 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++) { 286 sprintf(name, "WM SAMP%d", i); 292 samp++; 293 offset += sizeof(*samp); [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_state_dump.c | 256 struct brw_sampler_state *samp = intel->batch.bo->virtual + offset; local 260 for (i = 0; i < size / sizeof(*samp); i++) { 263 sprintf(name, "WM SAMP%d", 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++) { 286 sprintf(name, "WM SAMP%d", i); 292 samp++; 293 offset += sizeof(*samp); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
attrib.c | 759 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->MaxLod) [all...] |
ff_fragment_shader.cpp | 432 const struct gl_sampler_object *samp; local 438 samp = _mesa_get_samplerobj(ctx, i); 450 ((samp->CompareMode == GL_COMPARE_R_TO_TEXTURE) && [all...] |
get.c | 1838 struct gl_sampler_object *samp = local [all...] |
/external/mesa3d/src/mesa/main/ |
attrib.c | 759 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->MaxLod) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_tex_sample.c | 488 compute_lambda_1d(const struct sp_sampler_variant *samp, 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, 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, 527 const struct pipe_resource *texture = samp->view->texture; 534 float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, samp->view->u.tex.first_level) 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 2251 struct sp_sampler_variant *samp = sp_sampler_variant(tgsi_sampler); local 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...] |