Home
last modified time | relevance | path

Searched refs:pipe_reference (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_bufmgr.h36 struct pipe_reference reference;
71 if (pipe_reference(&(*old_bo)->reference, &new_bo->reference)) in v3d_bo_set_reference()
79 pipe_reference(NULL, &bo->reference); in v3d_bo_reference()
92 if (pipe_reference(&(*bo)->reference, NULL)) in v3d_bo_unreference()
98 if (pipe_reference(&(*bo)->reference, NULL)) { in v3d_bo_unreference()
116 if (pipe_reference(&(*bo)->reference, NULL)) in v3d_bo_unreference_locked_timed()
Dv3d_fence.c44 struct pipe_reference reference;
57 if (pipe_reference(&(*p)->reference, &f->reference)) { in v3d_fence_reference()
/third_party/mesa3d/src/util/
Du_debug_refcnt.h37 typedef void (*debug_reference_descriptor)(char*, const struct pipe_reference*);
44 debug_reference_slowpath(const struct pipe_reference* p,
48 debug_reference(const struct pipe_reference* p, in debug_reference()
58 debug_reference(UNUSED const struct pipe_reference* p, in debug_reference()
Du_debug_describe.h34 struct pipe_reference;
41 void debug_describe_reference(char* buf, const struct pipe_reference*ptr);
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.h168 struct pipe_reference reference;
211 struct pipe_reference reference;
271 if (pipe_reference(old_ptr ? &(*ptr)->reference : NULL, shader ? &shader->reference : NULL)) { in lp_fs_reference()
287 if (pipe_reference(old_ptr ? &(*ptr)->reference : NULL, variant ? &variant->reference : NULL)) { in lp_fs_variant_reference()
Dlp_fence.h43 struct pipe_reference reference;
84 if (pipe_reference(&old->reference, &f->reference)) { in lp_fence_reference()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h83 struct pipe_reference struct
449 struct pipe_reference reference;
476 EXCLUSIVE_CACHELINE(struct pipe_reference reference);
549 EXCLUSIVE_CACHELINE(struct pipe_reference reference);
672 struct pipe_reference reference;
732 struct pipe_reference reference;
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_shader.c40 struct pipe_reference *src_ref; in vmw_svga_winsys_shader_reference()
41 struct pipe_reference *dst_ref; in vmw_svga_winsys_shader_reference()
52 if (pipe_reference(dst_ref, src_ref)) { in vmw_svga_winsys_shader_reference()
Dvmw_surface.c249 struct pipe_reference *src_ref; in vmw_svga_winsys_surface_reference()
250 struct pipe_reference *dst_ref; in vmw_svga_winsys_surface_reference()
261 if (pipe_reference(dst_ref, src_ref)) { in vmw_svga_winsys_surface_reference()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_threaded_context.h387 struct pipe_reference ref;
561 if (pipe_reference((struct pipe_reference *)*dst, (struct pipe_reference *)src)) in tc_unflushed_batch_token_reference()
Du_live_shader_cache.c123 pipe_reference(NULL, &shader->reference); in util_live_shader_cache_get()
156 pipe_reference(NULL, &shader->reference); in util_live_shader_cache_get()
178 bool destroy = pipe_reference(&dst_shader->reference, &src_shader->reference); in util_shader_reference()
Du_inlines.h57 pipe_reference_init(struct pipe_reference *dst, unsigned count) in pipe_reference_init()
63 pipe_is_referenced(struct pipe_reference *src) in pipe_is_referenced()
75 pipe_reference_described(struct pipe_reference *dst, in pipe_reference_described()
76 struct pipe_reference *src, in pipe_reference_described()
100 pipe_reference(struct pipe_reference *dst, struct pipe_reference *src) in pipe_reference() function
239 if (pipe_reference(old_dst ? &old_dst->reference : NULL, in pipe_vertex_state_reference()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_fence.h34 struct pipe_reference ref;
54 if (pipe_reference(&(*dst)->ref, &src->ref)) in crocus_syncobj_reference()
Dcrocus_fine_fence.h47 struct pipe_reference reference;
90 if (pipe_reference(&(*dst)->reference, &src->reference)) in crocus_fine_fence_reference()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_fine_fence.h47 struct pipe_reference reference;
88 if (pipe_reference(&(*dst)->reference, &src->reference)) in iris_fine_fence_reference()
Diris_fence.h37 struct pipe_reference ref;
57 if (pipe_reference(*dst ? &(*dst)->ref : NULL, in iris_syncobj_reference()
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_buffer.h113 struct pipe_reference reference;
269 if (pipe_reference(&(*dst)->reference, &src->reference)) in pb_reference()
281 if (pipe_reference(&(*dst)->reference, &src->reference)) in pb_reference_with_winsys()
/third_party/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_fence.c15 struct pipe_reference reference;
43 if (pipe_reference(&((struct i915_drm_fence *)(*ptr))->reference, &f->reference)) { in i915_drm_fence_reference()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.h46 struct pipe_reference reference;
56 struct pipe_reference reference;
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_gmem.h49 struct pipe_reference reference;
77 if (pipe_reference(&(*ptr)->reference, &gmem->reference)) in fd_gmem_reference()
Dfreedreno_query_hw.h93 struct pipe_reference reference; /* keep this first */
159 if (pipe_reference(&(*ptr)->reference, &samp->reference)) in fd_hw_sample_reference()
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.h38 struct pipe_reference reference;
105 struct pipe_reference reference;
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_fence.c40 struct pipe_reference reference;
103 if (pipe_reference(&(*ptr)->reference, &fence->reference)) in lima_fence_reference()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_fence.c39 struct pipe_reference reference;
58 if (pipe_reference(&(*ptr)->reference, &fence->reference)) in etna_screen_fence_reference()
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_pipe.c337 struct pipe_reference *f = MALLOC_STRUCT(pipe_reference); in noop_flush()
393 struct pipe_reference *f = MALLOC_STRUCT(pipe_reference); in noop_create_fence()
565 if (pipe_reference((struct pipe_reference*)*ptr, in noop_fence_reference()
566 (struct pipe_reference*)fence)) in noop_fence_reference()

1234