/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_texture.c | 178 if (!stObj->sampler_view) { in st_get_texture_sampler_view_from_stobj() 179 stObj->sampler_view = in st_get_texture_sampler_view_from_stobj() 183 return stObj->sampler_view; in st_get_texture_sampler_view_from_stobj() 189 struct pipe_sampler_view **sampler_view, in update_single_texture() argument 240 if (stObj->sampler_view) { in update_single_texture() 241 if (check_sampler_swizzle(stObj->sampler_view, in update_single_texture() 244 (st_view_format != stObj->sampler_view->format) || in update_single_texture() 245 stObj->base.BaseLevel != stObj->sampler_view->u.tex.first_level) { in update_single_texture() 246 pipe_sampler_view_reference(&stObj->sampler_view, NULL); in update_single_texture() 250 *sampler_view = st_get_texture_sampler_view_from_stobj(stObj, pipe, in update_single_texture() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | bitmap.c | 90 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpBitmapSurfaceCreate() 95 if (!vlsurface->sampler_view) { in vlVdpBitmapSurfaceCreate() 122 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); in vlVdpBitmapSurfaceDestroy() 150 res = vlsurface->sampler_view->texture; in vlVdpBitmapSurfaceGetParameters() 186 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture); in vlVdpBitmapSurfacePutBitsNative() 187 pipe->transfer_inline_write(pipe, vlsurface->sampler_view->texture, 0, in vlVdpBitmapSurfacePutBitsNative()
|
D | output.c | 93 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpOutputSurfaceCreate() 94 if (!vlsurface->sampler_view) { in vlVdpOutputSurfaceCreate() 148 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); in vlVdpOutputSurfaceDestroy() 173 *rgba_format = PipeToFormatRGBA(vlsurface->sampler_view->texture->format); in vlVdpOutputSurfaceGetParameters() 174 *width = vlsurface->sampler_view->texture->width0; in vlVdpOutputSurfaceGetParameters() 175 *height = vlsurface->sampler_view->texture->height0; in vlVdpOutputSurfaceGetParameters() 208 res = vlsurface->sampler_view->texture; in vlVdpOutputSurfaceGetBitsNative() 258 dst_box = RectToPipeBox(destination_rect, vlsurface->sampler_view->texture); in vlVdpOutputSurfacePutBitsNative() 259 pipe->transfer_inline_write(pipe, vlsurface->sampler_view->texture, 0, in vlVdpOutputSurfacePutBitsNative() 665 vl_compositor_set_rgba_layer(cstate, compositor, 0, src_vlsurface->sampler_view, in vlVdpOutputSurfaceRenderOutputSurface() [all …]
|
D | device.c | 288 if (surface->texture != vlsurface->sampler_view->texture) { in vlVdpResolveDelayedRendering() 293 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); in vlVdpResolveDelayedRendering() 294 vlsurface->sampler_view = dev->context->create_sampler_view(dev->context, res, &sv_templ); in vlVdpResolveDelayedRendering()
|
D | mixer.c | 261 vl_compositor_set_rgba_layer(&vmixer->cstate, compositor, layer++, bg->sampler_view, in vlVdpVideoMixerRender() 304 vl_compositor_set_rgba_layer(&vmixer->cstate, compositor, layer, src->sampler_view, in vlVdpVideoMixerRender() 322 dst->sampler_view, dst->surface); in vlVdpVideoMixerRender() 326 dst->sampler_view, dst->surface); in vlVdpVideoMixerRender()
|
D | vdpau_private.h | 371 struct pipe_sampler_view *sampler_view; member 381 struct pipe_sampler_view *sampler_view; member
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | paint.c | 62 struct pipe_sampler_view *sampler_view; member 73 struct pipe_sampler_view *sampler_view; member 229 pipe_sampler_view_reference(&paint->gradient.sampler_view, NULL); in paint_destroy() 230 if (paint->pattern.sampler_view) in paint_destroy() 231 pipe_sampler_view_reference(&paint->pattern.sampler_view, NULL); in paint_destroy() 365 map[6] = paint->pattern.sampler_view->texture->width0; in paint_pattern_buffer() 366 map[7] = paint->pattern.sampler_view->texture->height0; in paint_pattern_buffer() 421 if (paint->gradient.sampler_view) { in paint_set_ramp_stops() 422 pipe_sampler_view_reference(&paint->gradient.sampler_view, NULL); in paint_set_ramp_stops() 423 paint->gradient.sampler_view = NULL; in paint_set_ramp_stops() [all …]
|
D | mask.c | 49 struct pipe_sampler_view *sampler_view; member 272 static void mask_using_texture(struct pipe_sampler_view *sampler_view, in mask_using_texture() argument 281 struct pipe_resource *texture = sampler_view->texture; in mask_using_texture() 305 views[0] = sampler_view; in mask_using_texture() 365 mask->sampler_view = view; in mask_layer_create() 378 pipe_sampler_view_reference(&layer->sampler_view, NULL); in mask_layer_destroy() 387 mask_resource_fill(layer->sampler_view->texture, in mask_layer_fill() 401 u_surface_default_template(&surf_tmpl, layer->sampler_view->texture, in mask_copy() 403 surf = ctx->pipe->create_surface(ctx->pipe, layer->sampler_view->texture, in mask_copy() 472 mask_using_texture(layer->sampler_view, VG_TRUE, operation, in mask_using_layer() [all …]
|
D | image.c | 209 struct pipe_resource *tex = img->sampler_view->texture; in image_texture() 288 image->sampler_view = view; in image_create() 354 pipe_sampler_view_reference(&img->sampler_view, NULL); in image_destroy() 453 image->sampler_view->texture, 0, 0, in image_get_sub_data() 487 image->sampler_view = NULL; in image_child_image() 488 pipe_sampler_view_reference(&image->sampler_view, in image_child_image() 489 parent->sampler_view); in image_child_image() 521 vg_copy_texture(ctx, dst->sampler_view->texture, dst->x + dx, dst->y + dy, in image_copy() 522 src->sampler_view, src->x + sx, src->y + sy, width, height); in image_copy() 633 sampler_views[3] = img->sampler_view; in image_bind_samplers()
|
D | image.h | 46 struct pipe_sampler_view *sampler_view; member
|
/external/mesa3d/src/gallium/drivers/trace/ |
D | tr_texture.h | 63 struct pipe_sampler_view *sampler_view; member 101 trace_sampler_view(struct pipe_sampler_view *sampler_view) in trace_sampler_view() argument 103 if (!sampler_view) in trace_sampler_view() 105 return (struct trace_sampler_view *)sampler_view; in trace_sampler_view()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_blit.c | 440 struct pipe_sampler_view *sampler_view = NULL; in util_blit_pixels() local 610 sampler_view = pipe->create_sampler_view(pipe, tex, &sv_templ); in util_blit_pixels() 612 if (!sampler_view) { in util_blit_pixels() 626 sampler_view = pipe->create_sampler_view(pipe, src_tex, &sv_templ); in util_blit_pixels() 628 if (!sampler_view) { in util_blit_pixels() 636 normalized = sampler_view->texture->target != PIPE_TEXTURE_RECT; in util_blit_pixels() 639 s0 /= (float)(u_minify(sampler_view->texture->width0, src_level)); in util_blit_pixels() 640 s1 /= (float)(u_minify(sampler_view->texture->width0, src_level)); in util_blit_pixels() 641 t0 /= (float)(u_minify(sampler_view->texture->height0, src_level)); in util_blit_pixels() 642 t1 /= (float)(u_minify(sampler_view->texture->height0, src_level)); in util_blit_pixels() [all …]
|
/external/mesa3d/src/gallium/drivers/noop/ |
D | noop_state.c | 94 struct pipe_sampler_view *sampler_view = CALLOC_STRUCT(pipe_sampler_view); in noop_create_sampler_view() local 96 if (sampler_view == NULL) in noop_create_sampler_view() 99 pipe_resource_reference(&sampler_view->texture, texture); in noop_create_sampler_view() 100 pipe_reference_init(&sampler_view->reference, 1); in noop_create_sampler_view() 101 sampler_view->context = ctx; in noop_create_sampler_view() 102 return sampler_view; in noop_create_sampler_view()
|
/external/mesa3d/src/gallium/drivers/identity/ |
D | id_objects.h | 52 struct pipe_sampler_view *sampler_view; member 122 return identity_sampler_view(_sampler_view)->sampler_view; in identity_sampler_view_unwrap()
|
D | id_objects.c | 133 id_view->sampler_view = view; in identity_sampler_view_create() 146 id_view->sampler_view); in identity_sampler_view_destroy()
|
/external/mesa3d/src/gallium/drivers/galahad/ |
D | glhd_objects.h | 54 struct pipe_sampler_view *sampler_view; member 124 return galahad_sampler_view(_sampler_view)->sampler_view; in galahad_sampler_view_unwrap()
|
D | glhd_objects.c | 132 glhd_view->sampler_view = view; in galahad_sampler_view_create() 143 pipe_sampler_view_reference(&glhd_view->sampler_view, NULL); in galahad_sampler_view_destroy()
|
/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 | 141 rb_view->sampler_view = view; in rbug_sampler_view_create() 154 rb_view->sampler_view); in rbug_sampler_view_destroy()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.c | 151 } sampler_view[PIPE_MAX_SHADER_SAMPLER_VIEWS]; member 640 if (ureg->sampler_view[i].index == index) { in ureg_DECL_sampler_view() 646 ureg->sampler_view[i].index = index; in ureg_DECL_sampler_view() 647 ureg->sampler_view[i].target = target; in ureg_DECL_sampler_view() 648 ureg->sampler_view[i].return_type_x = return_type_x; in ureg_DECL_sampler_view() 649 ureg->sampler_view[i].return_type_y = return_type_y; in ureg_DECL_sampler_view() 650 ureg->sampler_view[i].return_type_z = return_type_z; in ureg_DECL_sampler_view() 651 ureg->sampler_view[i].return_type_w = return_type_w; in ureg_DECL_sampler_view() 1504 ureg->sampler_view[i].index, in emit_decls() 1505 ureg->sampler_view[i].target, in emit_decls() [all …]
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_derived.c | 294 pipe_sampler_view_reference(&softpipe->pstipple.sampler_view, view); in update_polygon_stipple_pattern() 319 softpipe->pstipple.sampler_view); in update_polygon_stipple_enable() 322 softpipe->pstipple.sampler_view); in update_polygon_stipple_enable()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_pstipple.c | 80 struct pipe_sampler_view *sampler_view; member 456 pstip->sampler_view = pipe->create_sampler_view(pipe, in pstip_create_texture() 459 if (!pstip->sampler_view) { in pstip_create_texture() 547 pstip->sampler_view); in pstip_first_tri() 605 if (pstip->sampler_view) { in pstip_destroy() 606 pipe_sampler_view_reference(&pstip->sampler_view, NULL); in pstip_destroy()
|
D | draw_pipe_aaline.c | 99 struct pipe_sampler_view *sampler_view; member 429 aaline->sampler_view = pipe->create_sampler_view(pipe, in aaline_create_texture() 432 if (!aaline->sampler_view) { in aaline_create_texture() 712 aaline->sampler_view); in aaline_first_line() 784 if (aaline->sampler_view) { in aaline_destroy() 785 pipe_sampler_view_reference(&aaline->sampler_view, NULL); in aaline_destroy()
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_renderer.c | 502 struct pipe_sampler_view **sampler_view, in renderer_texture() argument 530 sampler_view[0]->texture, src_matrix); in renderer_texture() 539 sampler_view[0]->texture, sampler_view[1]->texture, in renderer_texture()
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 570 struct pipe_sampler_view **sampler_view = r->bound_sampler_views; in renderer_texture() local 594 sampler_view[0]->texture, src_matrix); in renderer_texture() 603 sampler_view[0]->texture, sampler_view[1]->texture, in renderer_texture()
|