Searched refs:old_dst (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_inlines.h | 110 struct pipe_surface *old_dst = *dst; in pipe_surface_reference() local 112 if (pipe_reference_described(old_dst ? &old_dst->reference : NULL, in pipe_surface_reference() 116 old_dst->context->surface_destroy(old_dst->context, old_dst); in pipe_surface_reference() 156 struct pipe_resource *old_dst = *dst; in pipe_resource_reference() local 158 if (pipe_reference_described(old_dst ? &old_dst->reference : NULL, in pipe_resource_reference() 162 pipe_resource_destroy(old_dst); in pipe_resource_reference() 210 struct pipe_sampler_view *old_dst = *dst; in pipe_sampler_view_reference() local 212 if (pipe_reference_described(old_dst ? &old_dst->reference : NULL, in pipe_sampler_view_reference() 216 old_dst->context->sampler_view_destroy(old_dst->context, old_dst); in pipe_sampler_view_reference() 224 struct pipe_stream_output_target *old_dst = *dst; in pipe_so_target_reference() local [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_program.h | 238 struct zink_gfx_program *old_dst = dst ? *dst : NULL; in zink_gfx_program_reference() local 241 if (pipe_reference_described(old_dst ? &old_dst->base.reference : NULL, &src->base.reference, in zink_gfx_program_reference() 243 zink_destroy_gfx_program(ctx, old_dst); in zink_gfx_program_reference() 264 struct zink_compute_program *old_dst = dst ? *dst : NULL; in zink_compute_program_reference() local 267 if (pipe_reference_described(old_dst ? &old_dst->base.reference : NULL, &src->base.reference, in zink_compute_program_reference() 269 zink_destroy_compute_program(ctx, old_dst); in zink_compute_program_reference()
|
D | zink_surface.h | 99 struct zink_surface *old_dst = *dst; in zink_surface_reference() local 101 if (pipe_reference_described(old_dst ? &old_dst->base.reference : NULL, in zink_surface_reference() 105 zink_destroy_surface(screen, &old_dst->base); in zink_surface_reference()
|
D | zink_framebuffer.h | 73 struct zink_framebuffer *old_dst = *dst; in zink_framebuffer_reference() local 76 if (pipe_reference_described(&old_dst->reference, src ? &src->reference : NULL, in zink_framebuffer_reference() 78 zink_destroy_framebuffer(screen, old_dst); in zink_framebuffer_reference()
|
D | zink_resource.h | 217 struct zink_resource_object *old_dst = dst ? *dst : NULL; in zink_resource_object_reference() local 219 if (pipe_reference_described(old_dst ? &old_dst->reference : NULL, &src->reference, in zink_resource_object_reference() 221 zink_destroy_resource_object(screen, old_dst); in zink_resource_object_reference()
|
D | zink_context.h | 580 struct zink_buffer_view *old_dst = dst ? *dst : NULL; in zink_buffer_view_reference() local 582 if (pipe_reference_described(old_dst ? &old_dst->reference : NULL, &src->reference, in zink_buffer_view_reference() 584 zink_destroy_buffer_view(screen, old_dst); in zink_buffer_view_reference()
|
D | zink_descriptors.c | 1038 struct zink_descriptor_pool *old_dst = dst ? *dst : NULL; in zink_descriptor_pool_reference() local 1040 if (pipe_reference_described(old_dst ? &old_dst->reference : NULL, &src->reference, in zink_descriptor_pool_reference() 1042 descriptor_pool_delete(ctx, old_dst); in zink_descriptor_pool_reference()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_context.h | 1025 struct iris_uncompiled_shader *old_dst = *dst; in iris_uncompiled_shader_reference() local 1027 if (pipe_reference(old_dst != NULL ? &old_dst->ref : NULL, in iris_uncompiled_shader_reference() 1039 struct iris_compiled_shader *old_dst = *dst; in iris_shader_variant_reference() local 1041 if (pipe_reference(old_dst ? &old_dst->ref: NULL, src ? &src->ref : NULL)) in iris_shader_variant_reference() 1042 iris_delete_shader_variant(old_dst); in iris_shader_variant_reference()
|