Home
last modified time | relevance | path

Searched refs:sampler_view (Results 1 – 25 of 39) sorted by relevance

12

/external/mesa3d/src/gallium/frontends/vdpau/
Dbitmap.c96 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()
Dmixer.c248 struct pipe_sampler_view *sampler_view, sv_templ; in vlVdpVideoMixerRender() local
296 vl_compositor_set_rgba_layer(&vmixer->cstate, compositor, layer++, bg->sampler_view, in vlVdpVideoMixerRender()
352 res_tmpl.format = dst->sampler_view->format; in vlVdpVideoMixerRender()
369 sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpVideoMixerRender()
379 sampler_view = dst->sampler_view; in vlVdpVideoMixerRender()
397 vl_compositor_set_rgba_layer(&vmixer->cstate, compositor, layer, src->sampler_view, in vlVdpVideoMixerRender()
409 sampler_view, dst->surface); in vlVdpVideoMixerRender()
417 sampler_view, surface_temp); in vlVdpVideoMixerRender()
419 pipe_sampler_view_reference(&sampler_view, NULL); in vlVdpVideoMixerRender()
422 sampler_view = sampler_view_temp; in vlVdpVideoMixerRender()
[all …]
Doutput.c106 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpOutputSurfaceCreate()
107 if (!vlsurface->sampler_view) in vlVdpOutputSurfaceCreate()
131 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); in vlVdpOutputSurfaceCreate()
159 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); in vlVdpOutputSurfaceDestroy()
185 *rgba_format = PipeToFormatRGBA(vlsurface->sampler_view->texture->format); in vlVdpOutputSurfaceGetParameters()
186 *width = vlsurface->sampler_view->texture->width0; in vlVdpOutputSurfaceGetParameters()
187 *height = vlsurface->sampler_view->texture->height0; in vlVdpOutputSurfaceGetParameters()
222 res = vlsurface->sampler_view->texture; in vlVdpOutputSurfaceGetBitsNative()
266 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture); in vlVdpOutputSurfacePutBitsNative()
274 pipe->texture_subdata(pipe, vlsurface->sampler_view->texture, 0, in vlVdpOutputSurfacePutBitsNative()
[all …]
Dvdpau_private.h429 struct pipe_sampler_view *sampler_view; member
438 struct pipe_sampler_view *sampler_view; member
/external/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_texture.h60 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/auxiliary/driver_noop/
Dnoop_state.c75 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/gallium/drivers/etnaviv/
Detnaviv_texture_state.c299 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state()
305 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state()
311 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state()
317 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state()
330 struct etna_sampler_view *sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state()
345 sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state()
352 sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state()
369 sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state()
383 sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state()
392 sv = etna_sampler_view(ctx->sampler_view[x]); in etna_emit_texture_state()
[all …]
Detnaviv_texture_desc.c269 struct etna_sampler_view_desc *sv = etna_sampler_view_desc(ctx->sampler_view[x]); in etna_emit_texture_desc()
294 struct etna_sampler_view_desc *sv = etna_sampler_view_desc(ctx->sampler_view[x]); in etna_emit_texture_desc()
319 struct etna_sampler_view_desc *sv = etna_sampler_view_desc(ctx->sampler_view[x]); in etna_emit_texture_desc()
Detnaviv_texture.c252 pipe_sampler_view_reference(&ctx->sampler_view[i], view); in set_sampler_views()
261 pipe_sampler_view_reference(&ctx->sampler_view[i], NULL); in set_sampler_views()
Detnaviv_uniforms.c52 struct pipe_sampler_view *texture = ctx->sampler_view[index]; in get_texrect_scale()
Detnaviv_context.c347 if (ctx->sampler_view[i]) { in etna_draw_vbo()
348 resource_read(ctx, ctx->sampler_view[i]->texture); in etna_draw_vbo()
354 etna_update_sampler_source(ctx->sampler_view[i], i); in etna_draw_vbo()
Detnaviv_context.h173 struct pipe_sampler_view *sampler_view[PIPE_MAX_SAMPLERS]; member
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c60 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()
124 struct pipe_sampler_view *sampler_view = NULL; in update_textures() local
156 st_update_single_texture(st, &sampler_view, texUnit, glsl130, in update_textures()
161 pipe_sampler_view_reference(&(sampler_views[unit]), sampler_view); in update_textures()
Dst_cb_readpixels.c158 struct pipe_sampler_view *sampler_view; in try_pbo_readpixels() local
185 sampler_view = pipe->create_sampler_view(pipe, texture, &templ); in try_pbo_readpixels()
186 if (sampler_view == NULL) in try_pbo_readpixels()
189 cso_set_sampler_views(cso, PIPE_SHADER_FRAGMENT, 1, &sampler_view); in try_pbo_readpixels()
191 pipe_sampler_view_reference(&sampler_view, NULL); in try_pbo_readpixels()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_pstipple.c82 struct pipe_sampler_view *sampler_view; member
218 pstip->sampler_view); in pstip_first_tri()
285 if (pstip->sampler_view) { in pstip_destroy()
286 pipe_sampler_view_reference(&pstip->sampler_view, NULL); in pstip_destroy()
493 pstip->sampler_view = util_pstipple_create_sampler_view(pipe, in draw_install_pstipple_stage()
495 if (!pstip->sampler_view) in draw_install_pstipple_stage()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_misc.c67 if (svga->polygon_stipple.sampler_view) { in svga_set_polygon_stipple()
69 &svga->polygon_stipple.sampler_view->base); in svga_set_polygon_stipple()
77 svga->polygon_stipple.sampler_view = in svga_set_polygon_stipple()
/external/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_objects.h75 struct pipe_sampler_view *sampler_view; member
153 return rbug_sampler_view(_sampler_view)->sampler_view; in rbug_sampler_view_unwrap()
Drbug_objects.c144 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/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c163 } sampler_view[PIPE_MAX_SHADER_SAMPLER_VIEWS]; member
666 if (ureg->sampler_view[i].index == index) { in ureg_DECL_sampler_view()
672 ureg->sampler_view[i].index = index; in ureg_DECL_sampler_view()
673 ureg->sampler_view[i].target = target; in ureg_DECL_sampler_view()
674 ureg->sampler_view[i].return_type_x = return_type_x; in ureg_DECL_sampler_view()
675 ureg->sampler_view[i].return_type_y = return_type_y; in ureg_DECL_sampler_view()
676 ureg->sampler_view[i].return_type_z = return_type_z; in ureg_DECL_sampler_view()
677 ureg->sampler_view[i].return_type_w = return_type_w; in ureg_DECL_sampler_view()
1467 ureg->sampler_view[i].index, in emit_decls()
1468 ureg->sampler_view[i].target, in emit_decls()
[all …]
/external/mesa3d/src/gallium/frontends/xa/
Dxa_renderer.c589 struct pipe_sampler_view **sampler_view = r->bound_sampler_views; in renderer_texture() local
614 sampler_view[0]->texture, src_matrix); in renderer_texture()
620 sampler_view[0]->texture, mask_matrix); in renderer_texture()
630 sampler_view[0]->texture, sampler_view[1]->texture, in renderer_texture()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_draw.c332 struct zink_sampler_view *sampler_view = zink_sampler_view(psampler_view); in zink_draw_vbo() local
351 wds[num_wds].pTexelBufferView = &sampler_view->buffer_view; in zink_draw_vbo()
361 image_infos[num_image_info].imageView = sampler_view->image_view; in zink_draw_vbo()
419 struct zink_sampler_view *sampler_view = zink_sampler_view(ctx->image_views[i][index]); in zink_draw_vbo() local
420 if (sampler_view) in zink_draw_vbo()
421 zink_batch_reference_sampler_view(batch, sampler_view); in zink_draw_vbo()
Dzink_context.c288 struct zink_sampler_view *sampler_view = CALLOC_STRUCT(zink_sampler_view); in zink_create_sampler_view() local
291 sampler_view->base = *state; in zink_create_sampler_view()
292 sampler_view->base.texture = NULL; in zink_create_sampler_view()
293 pipe_resource_reference(&sampler_view->base.texture, pres); in zink_create_sampler_view()
294 sampler_view->base.reference.count = 1; in zink_create_sampler_view()
295 sampler_view->base.context = pctx; in zink_create_sampler_view()
315 err = vkCreateImageView(screen->dev, &ivci, NULL, &sampler_view->image_view); in zink_create_sampler_view()
325 err = vkCreateBufferView(screen->dev, &bvci, NULL, &sampler_view->buffer_view); in zink_create_sampler_view()
328 FREE(sampler_view); in zink_create_sampler_view()
331 return &sampler_view->base; in zink_create_sampler_view()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c171 } sampler_view[PIPE_MAX_SHADER_SAMPLER_VIEWS]; member
757 if (ureg->sampler_view[i].index == index) { in ureg_DECL_sampler_view()
763 ureg->sampler_view[i].index = index; in ureg_DECL_sampler_view()
764 ureg->sampler_view[i].target = target; in ureg_DECL_sampler_view()
765 ureg->sampler_view[i].return_type_x = return_type_x; in ureg_DECL_sampler_view()
766 ureg->sampler_view[i].return_type_y = return_type_y; in ureg_DECL_sampler_view()
767 ureg->sampler_view[i].return_type_z = return_type_z; in ureg_DECL_sampler_view()
768 ureg->sampler_view[i].return_type_w = return_type_w; in ureg_DECL_sampler_view()
1950 ureg->sampler_view[i].index, in emit_decls()
1951 ureg->sampler_view[i].target, in emit_decls()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c398 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()
Dsp_context.h160 struct pipe_sampler_view *sampler_view; member

12