/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_fragtex.c | 44 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit]; 160 nv30->fragprog.samplers[i] = hwcso[i]; 165 nv30->fragprog.samplers[i] = NULL;
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_sampler.c | 156 void **samplers) 164 /* we only support fragment shader samplers at this time */ 170 !memcmp(svga->curr.sampler + start, samplers, num * sizeof(void *))) { 176 svga->curr.sampler[start + i] = samplers[i];
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_composite.c | 388 struct pipe_sampler_state *samplers[PIPE_MAX_SAMPLERS]; local 403 samplers[0] = NULL; 417 samplers[0] = &src_sampler; 441 samplers[1] = &mask_sampler; 463 (const struct pipe_sampler_state **)samplers);
|
/external/deqp/framework/platform/null/ |
tcuNullRenderContext.cpp | 108 ObjectManager samplers; member in class:tcu::null::Context 446 GLW_APICALL void GLW_APIENTRY glGenSamplers (GLsizei count, GLuint* samplers) 450 if (samplers) 453 samplers[ndx] = ctx->samplers.allocate();
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_composite.c | 388 struct pipe_sampler_state *samplers[PIPE_MAX_SAMPLERS]; local 403 samplers[0] = NULL; 417 samplers[0] = &src_sampler; 441 samplers[1] = &mask_sampler; 463 (const struct pipe_sampler_state **)samplers);
|
/external/skia/src/effects/ |
SkTableColorFilter.cpp | 298 const TextureSamplerArray& samplers) { 318 builder->fsAppendTextureLookup(samplers[0], "vec2(coord.a, 0.125)"); 322 builder->fsAppendTextureLookup(samplers[0], "vec2(coord.r, 0.375)"); 326 builder->fsAppendTextureLookup(samplers[0], "vec2(coord.g, 0.625)"); 330 builder->fsAppendTextureLookup(samplers[0], "vec2(coord.b, 0.875)");
|
SkAlphaThresholdFilter.cpp | 145 const TextureSamplerArray& samplers) { 158 builder->fsAppendTextureLookup(samplers[0], "coord"); 161 builder->fsAppendTextureLookup(samplers[1], "mask_coord");
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3d1x/ |
sm4_to_tgsi.cpp | 83 std::vector<struct ureg_src> samplers; member in struct:sm4_to_tgsi_converter 459 ureg_SAMPLE(ureg, _dst(), _src(1), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)]); 462 ureg_SAMPLE_B(ureg, _dst(), _src(1), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)], _src(4)); 465 ureg_SAMPLE_C(ureg, _dst(), _src(1), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)], _src(4)); 468 ureg_SAMPLE_C_LZ(ureg, _dst(), _src(1), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)], _src(4)); 471 ureg_SAMPLE_D(ureg, _dst(), _src(1), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)], _src(4), _src(5)); 478 ureg_SAMPLE_L(ureg, _dst(), ureg_src(tmp), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)]); 766 if(samplers.size() <= (unsigned)idx) 767 samplers.resize(idx + 1); 768 samplers[idx] = ureg_DECL_sampler(ureg, idx) [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d1x/ |
sm4_to_tgsi.cpp | 83 std::vector<struct ureg_src> samplers; member in struct:sm4_to_tgsi_converter 459 ureg_SAMPLE(ureg, _dst(), _src(1), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)]); 462 ureg_SAMPLE_B(ureg, _dst(), _src(1), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)], _src(4)); 465 ureg_SAMPLE_C(ureg, _dst(), _src(1), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)], _src(4)); 468 ureg_SAMPLE_C_LZ(ureg, _dst(), _src(1), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)], _src(4)); 471 ureg_SAMPLE_D(ureg, _dst(), _src(1), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)], _src(4), _src(5)); 478 ureg_SAMPLE_L(ureg, _dst(), ureg_src(tmp), resources[_idx(SM4_FILE_RESOURCE, 2)], samplers[_idx(SM4_FILE_SAMPLER, 3)]); 766 if(samplers.size() <= (unsigned)idx) 767 samplers.resize(idx + 1); 768 samplers[idx] = ureg_DECL_sampler(ureg, idx) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_pipe_pstipple.c | 89 void *samplers[PIPE_MAX_SAMPLERS]; member in struct:pstip_stage::__anon18329 126 uint samplersUsed; /**< bitfield of samplers used */ 539 /* how many samplers? */ 545 pstip->state.samplers[pstip->fs->sampler_unit] = pstip->sampler_cso; 552 pstip->driver_bind_sampler_states(pipe, num_samplers, pstip->state.samplers); 576 pstip->state.samplers); 713 memcpy(pstip->state.samplers, sampler, num * sizeof(void *)); 715 pstip->state.samplers[i] = NULL;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_zscan.c | 309 zscan->samplers[i] = zscan->pipe->create_sampler_state(zscan->pipe, &sampler); 310 if (!zscan->samplers[i]) 318 if (zscan->samplers[i]) 319 zscan->pipe->delete_sampler_state(zscan->pipe, zscan->samplers[i]); 338 zscan->pipe->delete_sampler_state(zscan->pipe, zscan->samplers[i]); 599 zscan->pipe->bind_fragment_sampler_states(zscan->pipe, 3, zscan->samplers);
|
vl_compositor.c | 718 struct pipe_sampler_view **samplers = &layer->sampler_views[0]; local 719 unsigned num_sampler_views = !samplers[1] ? 1 : !samplers[2] ? 2 : 3; 725 c->pipe->bind_fragment_sampler_states(c->pipe, num_sampler_views, layer->samplers); 726 c->pipe->set_fragment_sampler_views(c->pipe, num_sampler_views, samplers); 886 s->layers[layer].samplers[i] = c->sampler_linear; 939 s->layers[layer].samplers[0] = c->sampler_linear; 940 s->layers[layer].samplers[1] = c->sampler_nearest; 941 s->layers[layer].samplers[2] = NULL; 967 s->layers[layer].samplers[0] = c->sampler_linear [all...] |
vl_compositor.h | 64 void *samplers[3]; member in struct:vl_compositor_layer 157 * set overlay samplers
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
mask.c | 282 const struct pipe_sampler_state *samplers[2]; local 304 samplers[0] = &sampler; 308 samplers[1] = &ctx->mask.sampler; 314 ~0, samplers, views, 2, fs, (const void *) ones, sizeof(ones))) { 513 VGint mask_bind_samplers(struct pipe_sampler_state **samplers, 519 samplers[1] = &ctx->mask.sampler;
|
image.h | 91 VGint image_bind_samplers(struct vg_image *dst, struct pipe_sampler_state **samplers,
|
paint.h | 110 VGint paint_bind_samplers(struct vg_paint *paint, struct pipe_sampler_state **samplers,
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_pstipple.c | 89 void *samplers[PIPE_MAX_SAMPLERS]; member in struct:pstip_stage::__anon31726 126 uint samplersUsed; /**< bitfield of samplers used */ 539 /* how many samplers? */ 545 pstip->state.samplers[pstip->fs->sampler_unit] = pstip->sampler_cso; 552 pstip->driver_bind_sampler_states(pipe, num_samplers, pstip->state.samplers); 576 pstip->state.samplers); 713 memcpy(pstip->state.samplers, sampler, num * sizeof(void *)); 715 pstip->state.samplers[i] = NULL;
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_zscan.c | 309 zscan->samplers[i] = zscan->pipe->create_sampler_state(zscan->pipe, &sampler); 310 if (!zscan->samplers[i]) 318 if (zscan->samplers[i]) 319 zscan->pipe->delete_sampler_state(zscan->pipe, zscan->samplers[i]); 338 zscan->pipe->delete_sampler_state(zscan->pipe, zscan->samplers[i]); 599 zscan->pipe->bind_fragment_sampler_states(zscan->pipe, 3, zscan->samplers);
|
vl_compositor.c | 718 struct pipe_sampler_view **samplers = &layer->sampler_views[0]; local 719 unsigned num_sampler_views = !samplers[1] ? 1 : !samplers[2] ? 2 : 3; 725 c->pipe->bind_fragment_sampler_states(c->pipe, num_sampler_views, layer->samplers); 726 c->pipe->set_fragment_sampler_views(c->pipe, num_sampler_views, samplers); 886 s->layers[layer].samplers[i] = c->sampler_linear; 939 s->layers[layer].samplers[0] = c->sampler_linear; 940 s->layers[layer].samplers[1] = c->sampler_nearest; 941 s->layers[layer].samplers[2] = NULL; 967 s->layers[layer].samplers[0] = c->sampler_linear [all...] |
vl_compositor.h | 64 void *samplers[3]; member in struct:vl_compositor_layer 157 * set overlay samplers
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
mask.c | 282 const struct pipe_sampler_state *samplers[2]; local 304 samplers[0] = &sampler; 308 samplers[1] = &ctx->mask.sampler; 314 ~0, samplers, views, 2, fs, (const void *) ones, sizeof(ones))) { 513 VGint mask_bind_samplers(struct pipe_sampler_state **samplers, 519 samplers[1] = &ctx->mask.sampler;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_context.h | 63 struct pipe_sampler_state *samplers[PIPE_SHADER_TYPES][PIPE_MAX_SAMPLERS]; member in struct:softpipe_context
|
sp_state.h | 84 struct tgsi_sampler **samplers); 110 int max_sampler; /* -1 if no samplers */
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_cb_bitmap.c | 480 /* user samplers, plus our bitmap sampler */ 482 struct pipe_sampler_state *samplers[PIPE_MAX_SAMPLERS]; local 487 samplers[i] = &st->state.samplers[PIPE_SHADER_FRAGMENT][i]; 489 samplers[fpv->bitmap_sampler] = 490 &st->bitmap.samplers[sv->texture->target != PIPE_TEXTURE_RECT]; 492 (const struct pipe_sampler_state **) samplers); 816 struct pipe_sampler_state *sampler = &st->bitmap.samplers[0]; 828 st->bitmap.samplers[1] = *sampler; 829 st->bitmap.samplers[1].normalized_coords = 1 [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_context.h | 63 struct pipe_sampler_state *samplers[PIPE_SHADER_TYPES][PIPE_MAX_SAMPLERS]; member in struct:softpipe_context
|