/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | bitmap.c | 96 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpBitmapSurfaceCreate() 100 if (!vlsurface->sampler_view) { in vlVdpBitmapSurfaceCreate() 117 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); in vlVdpBitmapSurfaceCreate() 138 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); in vlVdpBitmapSurfaceDestroy() 167 res = vlsurface->sampler_view->texture; in vlVdpBitmapSurfaceGetParameters() 201 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture); in vlVdpBitmapSurfacePutBitsNative() 202 pipe->texture_subdata(pipe, vlsurface->sampler_view->texture, 0, in vlVdpBitmapSurfacePutBitsNative()
|
D | mixer.c | 250 struct pipe_sampler_view *sampler_view, sv_templ; in vlVdpVideoMixerRender() local 298 vl_compositor_set_rgba_layer(&vmixer->cstate, compositor, layer++, bg->sampler_view, in vlVdpVideoMixerRender() 351 res_tmpl.format = dst->sampler_view->format; in vlVdpVideoMixerRender() 368 sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpVideoMixerRender() 378 sampler_view = dst->sampler_view; in vlVdpVideoMixerRender() 396 vl_compositor_set_rgba_layer(&vmixer->cstate, compositor, layer, src->sampler_view, in vlVdpVideoMixerRender() 408 sampler_view, dst->surface); in vlVdpVideoMixerRender() 416 sampler_view, surface_temp); in vlVdpVideoMixerRender() 418 pipe_sampler_view_reference(&sampler_view, NULL); in vlVdpVideoMixerRender() 421 sampler_view = sampler_view_temp; in vlVdpVideoMixerRender() [all …]
|
D | output.c | 105 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpOutputSurfaceCreate() 106 if (!vlsurface->sampler_view) in vlVdpOutputSurfaceCreate() 130 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); in vlVdpOutputSurfaceCreate() 158 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); in vlVdpOutputSurfaceDestroy() 184 *rgba_format = PipeToFormatRGBA(vlsurface->sampler_view->texture->format); in vlVdpOutputSurfaceGetParameters() 185 *width = vlsurface->sampler_view->texture->width0; in vlVdpOutputSurfaceGetParameters() 186 *height = vlsurface->sampler_view->texture->height0; in vlVdpOutputSurfaceGetParameters() 221 res = vlsurface->sampler_view->texture; in vlVdpOutputSurfaceGetBitsNative() 265 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture); in vlVdpOutputSurfacePutBitsNative() 273 pipe->texture_subdata(pipe, vlsurface->sampler_view->texture, 0, in vlVdpOutputSurfacePutBitsNative() [all …]
|
D | vdpau_private.h | 409 struct pipe_sampler_view *sampler_view; member 418 struct pipe_sampler_view *sampler_view; member
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_texture_state.c | 203 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state() 209 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state() 215 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state() 221 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state() 234 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state() 248 sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state() 254 sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state() 266 sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state() 278 sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state() 290 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state() [all …]
|
D | etnaviv_texture.c | 226 pipe_sampler_view_reference(&ctx->sampler_view[i], views[j]); in set_sampler_views() 235 pipe_sampler_view_reference(&ctx->sampler_view[i], NULL); in set_sampler_views()
|
D | etnaviv_uniforms.c | 49 struct pipe_sampler_view *texture = ctx->sampler_view[index]; in get_texrect_scale()
|
D | etnaviv_context.h | 166 struct pipe_sampler_view *sampler_view[PIPE_MAX_SAMPLERS]; member
|
D | etnaviv_context.c | 263 if (ctx->sampler_view[i]) in etna_draw_vbo() 264 resource_read(ctx, ctx->sampler_view[i]->texture); in etna_draw_vbo()
|
/external/mesa3d/src/gallium/drivers/trace/ |
D | tr_texture.h | 60 struct pipe_sampler_view *sampler_view; member 87 trace_sampler_view(struct pipe_sampler_view *sampler_view) in trace_sampler_view() argument 89 if (!sampler_view) in trace_sampler_view() 91 return (struct trace_sampler_view *)sampler_view; in trace_sampler_view()
|
/external/mesa3d/src/gallium/drivers/noop/ |
D | noop_state.c | 75 struct pipe_sampler_view *sampler_view = CALLOC_STRUCT(pipe_sampler_view); in noop_create_sampler_view() local 77 if (!sampler_view) in noop_create_sampler_view() 81 *sampler_view = *state; in noop_create_sampler_view() 82 sampler_view->texture = NULL; in noop_create_sampler_view() 83 pipe_resource_reference(&sampler_view->texture, texture); in noop_create_sampler_view() 84 pipe_reference_init(&sampler_view->reference, 1); in noop_create_sampler_view() 85 sampler_view->context = ctx; in noop_create_sampler_view() 86 return sampler_view; in noop_create_sampler_view()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_texture.c | 60 struct pipe_sampler_view **sampler_view, in st_update_single_texture() argument 77 *sampler_view = st_get_buffer_sampler_view_from_stobj(st, stObj); in st_update_single_texture() 84 *sampler_view = NULL; in st_update_single_texture() 92 *sampler_view = in st_update_single_texture() 125 struct pipe_sampler_view *sampler_view = NULL; in update_textures() local 157 st_update_single_texture(st, &sampler_view, texUnit, glsl130, in update_textures() 162 pipe_sampler_view_reference(&(sampler_views[unit]), sampler_view); in update_textures()
|
D | st_cb_readpixels.c | 156 struct pipe_sampler_view *sampler_view; in try_pbo_readpixels() local 183 sampler_view = pipe->create_sampler_view(pipe, texture, &templ); in try_pbo_readpixels() 184 if (sampler_view == NULL) in try_pbo_readpixels() 187 cso_set_sampler_views(cso, PIPE_SHADER_FRAGMENT, 1, &sampler_view); in try_pbo_readpixels() 189 pipe_sampler_view_reference(&sampler_view, NULL); in try_pbo_readpixels()
|
D | st_texture.h | 343 struct pipe_sampler_view **sampler_view,
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_pstipple.c | 80 struct pipe_sampler_view *sampler_view; member 208 pstip->sampler_view); in pstip_first_tri() 275 if (pstip->sampler_view) { in pstip_destroy() 276 pipe_sampler_view_reference(&pstip->sampler_view, NULL); in pstip_destroy() 476 pstip->sampler_view = util_pstipple_create_sampler_view(pipe, in draw_install_pstipple_stage() 478 if (!pstip->sampler_view) in draw_install_pstipple_stage()
|
D | draw_pipe_aaline.c | 99 struct pipe_sampler_view *sampler_view; member 405 aaline->sampler_view = pipe->create_sampler_view(pipe, in aaline_create_texture() 408 if (!aaline->sampler_view) { in aaline_create_texture() 680 aaline->sampler_view); in aaline_first_line() 759 if (aaline->sampler_view) { in aaline_destroy() 760 pipe_sampler_view_reference(&aaline->sampler_view, NULL); in aaline_destroy()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_misc.c | 60 if (svga->polygon_stipple.sampler_view) { in svga_set_polygon_stipple() 62 &svga->polygon_stipple.sampler_view->base); in svga_set_polygon_stipple() 70 svga->polygon_stipple.sampler_view = in svga_set_polygon_stipple()
|
D | svga_pipe_sampler.c | 569 if (svga->polygon_stipple.sampler_view) { in svga_cleanup_sampler_state() 571 &svga->polygon_stipple.sampler_view->base); in svga_cleanup_sampler_state()
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.c | 153 } sampler_view[PIPE_MAX_SHADER_SAMPLER_VIEWS]; member 630 if (ureg->sampler_view[i].index == index) { in ureg_DECL_sampler_view() 636 ureg->sampler_view[i].index = index; in ureg_DECL_sampler_view() 637 ureg->sampler_view[i].target = target; in ureg_DECL_sampler_view() 638 ureg->sampler_view[i].return_type_x = return_type_x; in ureg_DECL_sampler_view() 639 ureg->sampler_view[i].return_type_y = return_type_y; in ureg_DECL_sampler_view() 640 ureg->sampler_view[i].return_type_z = return_type_z; in ureg_DECL_sampler_view() 641 ureg->sampler_view[i].return_type_w = return_type_w; in ureg_DECL_sampler_view() 1402 ureg->sampler_view[i].index, in emit_decls() 1403 ureg->sampler_view[i].target, in emit_decls() [all …]
|
/external/mesa3d/src/gallium/drivers/rbug/ |
D | rbug_objects.h | 75 struct pipe_sampler_view *sampler_view; member 153 return rbug_sampler_view(_sampler_view)->sampler_view; in rbug_sampler_view_unwrap()
|
D | rbug_objects.c | 144 rb_view->sampler_view = view; in rbug_sampler_view_create() 156 pipe_sampler_view_reference(&rb_view->sampler_view, NULL); in rbug_sampler_view_destroy()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.c | 167 } sampler_view[PIPE_MAX_SHADER_SAMPLER_VIEWS]; member 746 if (ureg->sampler_view[i].index == index) { in ureg_DECL_sampler_view() 752 ureg->sampler_view[i].index = index; in ureg_DECL_sampler_view() 753 ureg->sampler_view[i].target = target; in ureg_DECL_sampler_view() 754 ureg->sampler_view[i].return_type_x = return_type_x; in ureg_DECL_sampler_view() 755 ureg->sampler_view[i].return_type_y = return_type_y; in ureg_DECL_sampler_view() 756 ureg->sampler_view[i].return_type_z = return_type_z; in ureg_DECL_sampler_view() 757 ureg->sampler_view[i].return_type_w = return_type_w; in ureg_DECL_sampler_view() 1934 ureg->sampler_view[i].index, in emit_decls() 1935 ureg->sampler_view[i].target, in emit_decls() [all …]
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 598 struct pipe_sampler_view **sampler_view = r->bound_sampler_views; in renderer_texture() local 622 sampler_view[0]->texture, src_matrix); in renderer_texture() 631 sampler_view[0]->texture, sampler_view[1]->texture, in renderer_texture()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_derived.c | 398 pipe_sampler_view_reference(&softpipe->pstipple.sampler_view, view); in update_polygon_stipple_pattern() 423 unit, 1, &softpipe->pstipple.sampler_view); in update_polygon_stipple_enable()
|
D | sp_context.h | 160 struct pipe_sampler_view *sampler_view; member
|