/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...] |
/external/mesa3d/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...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
samplerobj.h | 45 _mesa_is_mipmap_filter(const struct gl_sampler_object *samp) 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);
|
samplerobj.c | 60 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; [all...] |
/external/mesa3d/src/mesa/main/ |
samplerobj.h | 45 _mesa_is_mipmap_filter(const struct gl_sampler_object *samp) 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);
|
samplerobj.c | 60 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; [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_texfilter.c | 502 nearest_texcoord(const struct gl_sampler_object *samp, 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, [all...] |
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_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...] |
/external/mesa3d/src/mesa/swrast/ |
s_texfilter.c | 502 nearest_texcoord(const struct gl_sampler_object *samp, 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, [all...] |
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_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...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11blit.hlsl | 28 sampler samp;
52 return tex.Sample(samp, input.texcoord);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11blit.hlsl | 28 sampler samp;
52 return tex.Sample(samp, input.texcoord);
|
/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/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...] |
radeon_texture.h | 53 struct gl_sampler_object *samp,
|
/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/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/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/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,
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
wavefront.h | 428 #define WF_SET_CHANNEL(samp,chn) \ 429 (samp)->Unused1 = chn & 0x1; \ 430 (samp)->Unused2 = chn & 0x2; \ 431 (samp)->Unused3 = chn & 0x4 433 #define WF_GET_CHANNEL(samp) \ 434 (((samp)->Unused3 << 2)|((samp)->Unused2<<1)|(samp)->Unused1)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
wavefront.h | 428 #define WF_SET_CHANNEL(samp,chn) \ 429 (samp)->Unused1 = chn & 0x1; \ 430 (samp)->Unused2 = chn & 0x2; \ 431 (samp)->Unused3 = chn & 0x4 433 #define WF_GET_CHANNEL(samp) \ 434 (((samp)->Unused3 << 2)|((samp)->Unused2<<1)|(samp)->Unused1)
|