Home
last modified time | relevance | path

Searched refs:sampler_views (Results 1 – 25 of 90) sorted by relevance

1234

/external/mesa3d/src/gallium/state_trackers/vega/
Dshader.c166 struct pipe_sampler_view **sampler_views) in blend_bind_samplers() argument
172 sampler_views[2] = vg_prepare_blend_surface(ctx); in blend_bind_samplers()
174 if (!samplers[0] || !sampler_views[0]) { in blend_bind_samplers()
176 sampler_views[0] = sampler_views[2]; in blend_bind_samplers()
178 if (!samplers[1] || !sampler_views[1]) { in blend_bind_samplers()
180 sampler_views[1] = sampler_views[0]; in blend_bind_samplers()
190 struct pipe_sampler_view **sampler_views) in setup_samplers() argument
206 sampler_views[0] = NULL; in setup_samplers()
207 sampler_views[1] = NULL; in setup_samplers()
208 sampler_views[2] = NULL; in setup_samplers()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
Dshader.c166 struct pipe_sampler_view **sampler_views) in blend_bind_samplers() argument
172 sampler_views[2] = vg_prepare_blend_surface(ctx); in blend_bind_samplers()
174 if (!samplers[0] || !sampler_views[0]) { in blend_bind_samplers()
176 sampler_views[0] = sampler_views[2]; in blend_bind_samplers()
178 if (!samplers[1] || !sampler_views[1]) { in blend_bind_samplers()
180 sampler_views[1] = sampler_views[0]; in blend_bind_samplers()
190 struct pipe_sampler_view **sampler_views) in setup_samplers() argument
206 sampler_views[0] = NULL; in setup_samplers()
207 sampler_views[1] = NULL; in setup_samplers()
208 sampler_views[2] = NULL; in setup_samplers()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_state_fs.c209 if (svga->curr.sampler_views[i]) { in make_fs_key()
211 assert(svga->curr.sampler_views[i]->texture); in make_fs_key()
212 key->tex[i].texture_target = svga->curr.sampler_views[i]->texture->target; in make_fs_key()
219 key->tex[i].swizzle_r = svga->curr.sampler_views[i]->swizzle_r; in make_fs_key()
220 key->tex[i].swizzle_g = svga->curr.sampler_views[i]->swizzle_g; in make_fs_key()
221 key->tex[i].swizzle_b = svga->curr.sampler_views[i]->swizzle_b; in make_fs_key()
222 key->tex[i].swizzle_a = svga->curr.sampler_views[i]->swizzle_a; in make_fs_key()
Dsvga_pipe_sampler.c245 assert(start + num <= Elements(svga->curr.sampler_views)); in svga_set_sampler_views()
253 !memcmp(svga->curr.sampler_views + start, views, in svga_set_sampler_views()
260 if (svga->curr.sampler_views[start + i] != views[i]) { in svga_set_sampler_views()
265 pipe_sampler_view_release(pipe, &svga->curr.sampler_views[start + i]); in svga_set_sampler_views()
266 pipe_sampler_view_reference(&svga->curr.sampler_views[start + i], in svga_set_sampler_views()
283 while (j > 0 && svga->curr.sampler_views[j - 1] == NULL) in svga_set_sampler_views()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_fs.c209 if (svga->curr.sampler_views[i]) { in make_fs_key()
211 assert(svga->curr.sampler_views[i]->texture); in make_fs_key()
212 key->tex[i].texture_target = svga->curr.sampler_views[i]->texture->target; in make_fs_key()
219 key->tex[i].swizzle_r = svga->curr.sampler_views[i]->swizzle_r; in make_fs_key()
220 key->tex[i].swizzle_g = svga->curr.sampler_views[i]->swizzle_g; in make_fs_key()
221 key->tex[i].swizzle_b = svga->curr.sampler_views[i]->swizzle_b; in make_fs_key()
222 key->tex[i].swizzle_a = svga->curr.sampler_views[i]->swizzle_a; in make_fs_key()
Dsvga_pipe_sampler.c245 assert(start + num <= Elements(svga->curr.sampler_views)); in svga_set_sampler_views()
253 !memcmp(svga->curr.sampler_views + start, views, in svga_set_sampler_views()
260 if (svga->curr.sampler_views[start + i] != views[i]) { in svga_set_sampler_views()
265 pipe_sampler_view_release(pipe, &svga->curr.sampler_views[start + i]); in svga_set_sampler_views()
266 pipe_sampler_view_reference(&svga->curr.sampler_views[start + i], in svga_set_sampler_views()
283 while (j > 0 && svga->curr.sampler_views[j - 1] == NULL) in svga_set_sampler_views()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dsurface.c199 struct pipe_sampler_view **sampler_views; in vlVdpVideoSurfaceGetBitsYCbCr() local
218 sampler_views = vlsurface->video_buffer->get_sampler_view_planes(vlsurface->video_buffer); in vlVdpVideoSurfaceGetBitsYCbCr()
219 if (!sampler_views) { in vlVdpVideoSurfaceGetBitsYCbCr()
226 struct pipe_sampler_view *sv = sampler_views[i]; in vlVdpVideoSurfaceGetBitsYCbCr()
277 struct pipe_sampler_view **sampler_views; in vlVdpVideoSurfacePutBitsYCbCr() local
312 sampler_views = p_surf->video_buffer->get_sampler_view_planes(p_surf->video_buffer); in vlVdpVideoSurfacePutBitsYCbCr()
313 if (!sampler_views) { in vlVdpVideoSurfacePutBitsYCbCr()
320 struct pipe_sampler_view *sv = sampler_views[i]; in vlVdpVideoSurfacePutBitsYCbCr()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
Dsurface.c199 struct pipe_sampler_view **sampler_views; in vlVdpVideoSurfaceGetBitsYCbCr() local
218 sampler_views = vlsurface->video_buffer->get_sampler_view_planes(vlsurface->video_buffer); in vlVdpVideoSurfaceGetBitsYCbCr()
219 if (!sampler_views) { in vlVdpVideoSurfaceGetBitsYCbCr()
226 struct pipe_sampler_view *sv = sampler_views[i]; in vlVdpVideoSurfaceGetBitsYCbCr()
277 struct pipe_sampler_view **sampler_views; in vlVdpVideoSurfacePutBitsYCbCr() local
312 sampler_views = p_surf->video_buffer->get_sampler_view_planes(p_surf->video_buffer); in vlVdpVideoSurfacePutBitsYCbCr()
313 if (!sampler_views) { in vlVdpVideoSurfacePutBitsYCbCr()
320 struct pipe_sampler_view *sv = sampler_views[i]; in vlVdpVideoSurfacePutBitsYCbCr()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c184 assert(start + num <= Elements(softpipe->sampler_views[shader])); in softpipe_set_sampler_views()
188 !memcmp(softpipe->sampler_views[shader] + start, views, in softpipe_set_sampler_views()
197 pipe_sampler_view_reference(&softpipe->sampler_views[shader][start + i], in softpipe_set_sampler_views()
206 while (j > 0 && softpipe->sampler_views[shader][j - 1] == NULL) in softpipe_set_sampler_views()
214 softpipe->sampler_views[shader], in softpipe_set_sampler_views()
320 softpipe->sampler_views[shader][i], in reset_sampler_variants()
325 softpipe->sampler_views[shader][i]); in reset_sampler_variants()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
Dsp_state_sampler.c184 assert(start + num <= Elements(softpipe->sampler_views[shader])); in softpipe_set_sampler_views()
188 !memcmp(softpipe->sampler_views[shader] + start, views, in softpipe_set_sampler_views()
197 pipe_sampler_view_reference(&softpipe->sampler_views[shader][start + i], in softpipe_set_sampler_views()
206 while (j > 0 && softpipe->sampler_views[shader][j - 1] == NULL) in softpipe_set_sampler_views()
214 softpipe->sampler_views[shader], in softpipe_set_sampler_views()
320 softpipe->sampler_views[shader][i], in reset_sampler_variants()
325 softpipe->sampler_views[shader][i]); in reset_sampler_variants()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_context.c72 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { in llvmpipe_destroy()
73 pipe_sampler_view_reference(&llvmpipe->sampler_views[PIPE_SHADER_FRAGMENT][i], NULL); in llvmpipe_destroy()
76 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { in llvmpipe_destroy()
77 pipe_sampler_view_reference(&llvmpipe->sampler_views[PIPE_SHADER_VERTEX][i], NULL); in llvmpipe_destroy()
Dlp_state_sampler.c149 assert(start + num <= Elements(llvmpipe->sampler_views[shader])); in llvmpipe_set_sampler_views()
153 !memcmp(llvmpipe->sampler_views[shader] + start, views, in llvmpipe_set_sampler_views()
162 pipe_sampler_view_reference(&llvmpipe->sampler_views[shader][start + i], in llvmpipe_set_sampler_views()
169 while (j > 0 && llvmpipe->sampler_views[shader][j - 1] == NULL) in llvmpipe_set_sampler_views()
177 llvmpipe->sampler_views[shader], in llvmpipe_set_sampler_views()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_context.c72 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { in llvmpipe_destroy()
73 pipe_sampler_view_reference(&llvmpipe->sampler_views[PIPE_SHADER_FRAGMENT][i], NULL); in llvmpipe_destroy()
76 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { in llvmpipe_destroy()
77 pipe_sampler_view_reference(&llvmpipe->sampler_views[PIPE_SHADER_VERTEX][i], NULL); in llvmpipe_destroy()
Dlp_state_sampler.c149 assert(start + num <= Elements(llvmpipe->sampler_views[shader])); in llvmpipe_set_sampler_views()
153 !memcmp(llvmpipe->sampler_views[shader] + start, views, in llvmpipe_set_sampler_views()
162 pipe_sampler_view_reference(&llvmpipe->sampler_views[shader][start + i], in llvmpipe_set_sampler_views()
169 while (j > 0 && llvmpipe->sampler_views[shader][j - 1] == NULL) in llvmpipe_set_sampler_views()
177 llvmpipe->sampler_views[shader], in llvmpipe_set_sampler_views()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c263 struct pipe_sampler_view **sampler_views, in update_textures() argument
294 pipe_sampler_view_reference(&(sampler_views[unit]), sampler_view); in update_textures()
307 sampler_views); in update_textures()
322 st->state.sampler_views[PIPE_SHADER_VERTEX], in update_vertex_textures()
337 st->state.sampler_views[PIPE_SHADER_FRAGMENT], in update_fragment_textures()
352 st->state.sampler_views[PIPE_SHADER_GEOMETRY], in update_geometry_textures()
Dst_context.c258 for (shader = 0; shader < Elements(st->state.sampler_views); shader++) { in st_destroy_context_priv()
259 for (i = 0; i < Elements(st->state.sampler_views[0]); i++) { in st_destroy_context_priv()
261 &st->state.sampler_views[shader][i]); in st_destroy_context_priv()
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_atom_texture.c263 struct pipe_sampler_view **sampler_views, in update_textures() argument
294 pipe_sampler_view_reference(&(sampler_views[unit]), sampler_view); in update_textures()
307 sampler_views); in update_textures()
322 st->state.sampler_views[PIPE_SHADER_VERTEX], in update_vertex_textures()
337 st->state.sampler_views[PIPE_SHADER_FRAGMENT], in update_fragment_textures()
352 st->state.sampler_views[PIPE_SHADER_GEOMETRY], in update_geometry_textures()
Dst_context.c258 for (shader = 0; shader < Elements(st->state.sampler_views); shader++) { in st_destroy_context_priv()
259 for (i = 0; i < Elements(st->state.sampler_views[0]); i++) { in st_destroy_context_priv()
261 &st->state.sampler_views[shader][i]); in st_destroy_context_priv()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_idct.c596 tex = buffer->sampler_views.individual.source->texture; in init_source()
624 pipe_sampler_view_reference(&buffer->sampler_views.individual.source, NULL); in cleanup_source()
636 tex = buffer->sampler_views.individual.intermediate->texture; in init_intermediate()
678 pipe_sampler_view_reference(&buffer->sampler_views.individual.intermediate, NULL); in cleanup_intermediate()
806 pipe_sampler_view_reference(&buffer->sampler_views.individual.matrix, idct->matrix); in vl_idct_init_buffer()
807 pipe_sampler_view_reference(&buffer->sampler_views.individual.source, source); in vl_idct_init_buffer()
808 pipe_sampler_view_reference(&buffer->sampler_views.individual.transpose, idct->transpose); in vl_idct_init_buffer()
809 pipe_sampler_view_reference(&buffer->sampler_views.individual.intermediate, intermediate); in vl_idct_init_buffer()
828 pipe_sampler_view_reference(&buffer->sampler_views.individual.matrix, NULL); in vl_idct_cleanup_buffer()
829 pipe_sampler_view_reference(&buffer->sampler_views.individual.transpose, NULL); in vl_idct_cleanup_buffer()
[all …]
Dvl_compositor.c557 struct pipe_resource *res = layer->sampler_views[0]->texture; in default_rect()
718 struct pipe_sampler_view **samplers = &layer->sampler_views[0]; in draw_layers()
788 pipe_sampler_view_reference(&s->layers[i].sampler_views[j], NULL); in vl_compositor_clear_layers()
876 struct pipe_sampler_view **sampler_views; in vl_compositor_set_buffer_layer() local
884 sampler_views = buffer->get_sampler_view_components(buffer); in vl_compositor_set_buffer_layer()
887 pipe_sampler_view_reference(&s->layers[layer].sampler_views[i], sampler_views[i]); in vl_compositor_set_buffer_layer()
942 pipe_sampler_view_reference(&s->layers[layer].sampler_views[0], indexes); in vl_compositor_set_palette_layer()
943 pipe_sampler_view_reference(&s->layers[layer].sampler_views[1], palette); in vl_compositor_set_palette_layer()
944 pipe_sampler_view_reference(&s->layers[layer].sampler_views[2], NULL); in vl_compositor_set_palette_layer()
970 pipe_sampler_view_reference(&s->layers[layer].sampler_views[0], rgba); in vl_compositor_set_rgba_layer()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
Dvl_idct.c596 tex = buffer->sampler_views.individual.source->texture; in init_source()
624 pipe_sampler_view_reference(&buffer->sampler_views.individual.source, NULL); in cleanup_source()
636 tex = buffer->sampler_views.individual.intermediate->texture; in init_intermediate()
678 pipe_sampler_view_reference(&buffer->sampler_views.individual.intermediate, NULL); in cleanup_intermediate()
806 pipe_sampler_view_reference(&buffer->sampler_views.individual.matrix, idct->matrix); in vl_idct_init_buffer()
807 pipe_sampler_view_reference(&buffer->sampler_views.individual.source, source); in vl_idct_init_buffer()
808 pipe_sampler_view_reference(&buffer->sampler_views.individual.transpose, idct->transpose); in vl_idct_init_buffer()
809 pipe_sampler_view_reference(&buffer->sampler_views.individual.intermediate, intermediate); in vl_idct_init_buffer()
828 pipe_sampler_view_reference(&buffer->sampler_views.individual.matrix, NULL); in vl_idct_cleanup_buffer()
829 pipe_sampler_view_reference(&buffer->sampler_views.individual.transpose, NULL); in vl_idct_cleanup_buffer()
[all …]
Dvl_compositor.c557 struct pipe_resource *res = layer->sampler_views[0]->texture; in default_rect()
718 struct pipe_sampler_view **samplers = &layer->sampler_views[0]; in draw_layers()
788 pipe_sampler_view_reference(&s->layers[i].sampler_views[j], NULL); in vl_compositor_clear_layers()
876 struct pipe_sampler_view **sampler_views; in vl_compositor_set_buffer_layer() local
884 sampler_views = buffer->get_sampler_view_components(buffer); in vl_compositor_set_buffer_layer()
887 pipe_sampler_view_reference(&s->layers[layer].sampler_views[i], sampler_views[i]); in vl_compositor_set_buffer_layer()
942 pipe_sampler_view_reference(&s->layers[layer].sampler_views[0], indexes); in vl_compositor_set_palette_layer()
943 pipe_sampler_view_reference(&s->layers[layer].sampler_views[1], palette); in vl_compositor_set_palette_layer()
944 pipe_sampler_view_reference(&s->layers[layer].sampler_views[2], NULL); in vl_compositor_set_palette_layer()
970 pipe_sampler_view_reference(&s->layers[layer].sampler_views[0], rgba); in vl_compositor_set_rgba_layer()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_pstipple.c90 struct pipe_sampler_view *sampler_views[PIPE_MAX_SAMPLERS]; member
546 pipe_sampler_view_reference(&pstip->state.sampler_views[pstip->fs->sampler_unit], in pstip_first_tri()
553 pstip->driver_set_sampler_views(pipe, num_samplers, pstip->state.sampler_views); in pstip_first_tri()
579 pstip->state.sampler_views); in pstip_flush()
598 pipe_sampler_view_reference(&pstip->state.sampler_views[i], NULL); in pstip_destroy()
734 pipe_sampler_view_reference(&pstip->state.sampler_views[i], views[i]); in pstip_set_sampler_views()
737 pipe_sampler_view_reference(&pstip->state.sampler_views[i], NULL); in pstip_set_sampler_views()
Ddraw_pipe_aaline.c110 struct pipe_sampler_view *sampler_views[PIPE_MAX_SAMPLERS]; member
711 pipe_sampler_view_reference(&aaline->state.sampler_views[aaline->fs->sampler_unit], in aaline_first_line()
716 aaline->driver_set_sampler_views(pipe, num_samplers, aaline->state.sampler_views); in aaline_first_line()
747 aaline->state.sampler_views); in aaline_flush()
775 pipe_sampler_view_reference(&aaline->state.sampler_views[i], NULL); in aaline_destroy()
919 pipe_sampler_view_reference(&aaline->state.sampler_views[i], views[i]); in aaline_set_sampler_views()
922 pipe_sampler_view_reference(&aaline->state.sampler_views[i], NULL); in aaline_set_sampler_views()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_pipe_pstipple.c90 struct pipe_sampler_view *sampler_views[PIPE_MAX_SAMPLERS]; member
546 pipe_sampler_view_reference(&pstip->state.sampler_views[pstip->fs->sampler_unit], in pstip_first_tri()
553 pstip->driver_set_sampler_views(pipe, num_samplers, pstip->state.sampler_views); in pstip_first_tri()
579 pstip->state.sampler_views); in pstip_flush()
598 pipe_sampler_view_reference(&pstip->state.sampler_views[i], NULL); in pstip_destroy()
734 pipe_sampler_view_reference(&pstip->state.sampler_views[i], views[i]); in pstip_set_sampler_views()
737 pipe_sampler_view_reference(&pstip->state.sampler_views[i], NULL); in pstip_set_sampler_views()

1234