Home
last modified time | relevance | path

Searched refs:pipe_resource_reference (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_objects.c66 pipe_resource_reference(&resource, NULL); in rbug_resource_create()
78 pipe_resource_reference(&rb_resource->resource, NULL); in rbug_resource_destroy()
105 pipe_resource_reference(&rb_surface->base.texture, &rb_resource->base); in rbug_surface_create()
118 pipe_resource_reference(&rb_surface->base.texture, NULL); in rbug_surface_destroy()
141 pipe_resource_reference(&rb_view->base.texture, &rb_resource->base); in rbug_sampler_view_create()
154 pipe_resource_reference(&rb_view->base.texture, NULL); in rbug_sampler_view_destroy()
182 pipe_resource_reference(&rb_transfer->base.resource, &rb_resource->base); in rbug_transfer_create()
199 pipe_resource_reference(&rb_transfer->base.resource, NULL); in rbug_transfer_destroy()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_vdpau.c89 pipe_resource_reference(&res, sv->texture); in st_vdpau_video_surface_gallium()
105 pipe_resource_reference(&res, f((uintptr_t)vdpSurface)); in st_vdpau_output_surface_gallium()
228 pipe_resource_reference(&res, NULL); in st_vdpau_map_surface()
249 pipe_resource_reference(&texObj->pt, res); in st_vdpau_map_surface()
251 pipe_resource_reference(&texImage->pt, res); in st_vdpau_map_surface()
258 pipe_resource_reference(&res, NULL); in st_vdpau_map_surface()
269 pipe_resource_reference(&texObj->pt, NULL); in st_vdpau_unmap_surface()
271 pipe_resource_reference(&texImage->pt, NULL); in st_vdpau_unmap_surface()
Dst_cb_eglimage.c190 pipe_resource_reference(&out->texture, NULL); in st_get_egl_image()
249 pipe_resource_reference(&stimg.texture, NULL); in st_egl_image_target_renderbuffer_storage()
383 pipe_resource_reference(&texObj->pt, stimg->texture); in st_bind_egl_image()
385 pipe_resource_reference(&texImage->pt, texObj->pt); in st_bind_egl_image()
429 pipe_resource_reference(&stimg.texture, NULL); in st_egl_image_target_texture_2d()
447 pipe_resource_reference(&stimg.texture, NULL); in st_egl_image_target_tex_storage()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_image.c46pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, images[i].resource); in softpipe_set_shader_images()
50 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, NULL); in softpipe_set_shader_images()
58 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, NULL); in softpipe_set_shader_images()
80pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, buffers[i].buffer); in softpipe_set_shader_buffers()
84 pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, NULL); in softpipe_set_shader_buffers()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_streamout.c47 pipe_resource_reference(&t->base.buffer, buffer); in virgl_create_so_target()
67 pipe_resource_reference(&t->base.buffer, NULL); in virgl_destroy_so_target()
84 pipe_resource_reference(&vctx->so_targets[i].base.buffer, targets[i]->buffer); in virgl_set_so_targets()
88 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); in virgl_set_so_targets()
92 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); in virgl_set_so_targets()
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_draw.c717 pipe_resource_reference(&dst->info.draw_vbo.indirect.buffer, NULL); in dd_unreference_copy_of_call()
718 pipe_resource_reference(&dst->info.draw_vbo.indirect.indirect_draw_count, NULL); in dd_unreference_copy_of_call()
721 pipe_resource_reference(&dst->info.draw_vbo.info.index.resource, NULL); in dd_unreference_copy_of_call()
726 pipe_resource_reference(&dst->info.launch_grid.indirect, NULL); in dd_unreference_copy_of_call()
729 pipe_resource_reference(&dst->info.resource_copy_region.dst, NULL); in dd_unreference_copy_of_call()
730 pipe_resource_reference(&dst->info.resource_copy_region.src, NULL); in dd_unreference_copy_of_call()
733 pipe_resource_reference(&dst->info.blit.dst.resource, NULL); in dd_unreference_copy_of_call()
734 pipe_resource_reference(&dst->info.blit.src.resource, NULL); in dd_unreference_copy_of_call()
737 pipe_resource_reference(&dst->info.flush_resource, NULL); in dd_unreference_copy_of_call()
742 pipe_resource_reference(&dst->info.clear_buffer.res, NULL); in dd_unreference_copy_of_call()
[all …]
/third_party/mesa3d/src/gallium/frontends/nine/
Dswapchain9.c341 pipe_resource_reference(&(This->present_buffers[i]), NULL); in NineSwapChain9_Resize()
380 pipe_resource_reference(&resource, NULL); in NineSwapChain9_Resize()
387 pipe_resource_reference(&resource, NULL); in NineSwapChain9_Resize()
404 pipe_resource_reference(&(This->present_buffers[i]), resource); in NineSwapChain9_Resize()
407 pipe_resource_reference(&resource, NULL); in NineSwapChain9_Resize()
435 pipe_resource_reference(&resource, NULL); in NineSwapChain9_Resize()
577 pipe_resource_reference(&(This->present_buffers[i]), NULL); in NineSwapChain9_dtor()
617 pipe_resource_reference(resource, NULL); in create_present_buffer()
817 pipe_resource_reference(&new_resource[i], NULL); in present()
825 pipe_resource_reference(&This->present_buffers[i], new_resource[i]); in present()
[all …]
Dnine_buffer_upload.c108 pipe_resource_reference(&group->resource, NULL); in nine_upload_create_buffer_group()
127 pipe_resource_reference(&group->resource, NULL); in nine_upload_destroy_buffer_group()
241 pipe_resource_reference(&buf->resource, NULL); in nine_upload_create_buffer()
253 pipe_resource_reference(&buf->resource, group->resource); in nine_upload_create_buffer()
269 pipe_resource_reference(&buf->resource, NULL); in nine_upload_release_buffer()
280 pipe_resource_reference(&buf->resource, NULL); in nine_upload_release_buffer()
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_texture.c58 pipe_resource_reference(&tr_surf->base.texture, res); in trace_surf_create()
72 pipe_resource_reference(&tr_surf->base.texture, NULL); in trace_surf_destroy()
97 pipe_resource_reference(&tr_trans->base.b.resource, res); in trace_transfer_create()
115 pipe_resource_reference(&tr_trans->base.b.resource, NULL); in trace_transfer_destroy()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_suballoc.c67 pipe_resource_reference(&allocator->buffer, NULL); in u_suballocator_destroy()
85 pipe_resource_reference(&allocator->buffer, NULL); in u_suballocator_alloc()
130 pipe_resource_reference(outbuf, allocator->buffer); in u_suballocator_alloc()
136 pipe_resource_reference(outbuf, NULL); in u_suballocator_alloc()
Du_inlines.h154 pipe_resource_reference(struct pipe_resource **dst, struct pipe_resource *src) in pipe_resource_reference() function
194 pipe_resource_reference(&surf->texture, NULL); in pipe_surface_release_no_context()
251 pipe_resource_reference(&dst->buffer.resource, NULL); in pipe_vertex_buffer_unreference()
277 pipe_resource_reference(&dst->buffer.resource, src->buffer.resource); in pipe_vertex_buffer_reference()
284 pipe_resource_reference(&ps->texture, pt); in pipe_surface_reset()
717 pipe_resource_reference(&dst->buffer, NULL); in util_copy_constant_buffer()
720 pipe_resource_reference(&dst->buffer, src->buffer); in util_copy_constant_buffer()
727 pipe_resource_reference(&dst->buffer, NULL); in util_copy_constant_buffer()
739 pipe_resource_reference(&dst->buffer, src->buffer); in util_copy_shader_buffer()
744 pipe_resource_reference(&dst->buffer, NULL); in util_copy_shader_buffer()
[all …]
Du_transfer_helper.c157 pipe_resource_reference(&stencil, NULL); in u_transfer_helper_resource_destroy()
186 pipe_resource_reference(&ptrans->resource, prsc); in transfer_map_msaa()
269 pipe_resource_reference(&ptrans->resource, prsc); in u_transfer_helper_transfer_map()
358 pipe_resource_reference(&ptrans->resource, NULL); in u_transfer_helper_transfer_map()
538 pipe_resource_reference(&trans->ss, NULL); in u_transfer_helper_transfer_unmap()
545 pipe_resource_reference(&ptrans->resource, NULL); in u_transfer_helper_transfer_unmap()
611 pipe_resource_reference(&ptrans->resource, prsc); in u_transfer_helper_deinterleave_transfer_map()
685 pipe_resource_reference(&ptrans->resource, NULL); in u_transfer_helper_deinterleave_transfer_map()
715 pipe_resource_reference(&ptrans->resource, NULL); in u_transfer_helper_deinterleave_transfer_unmap()
Du_upload_mgr.c164 pipe_resource_reference(&upload->buffer, NULL); in u_upload_release_buffer()
277 pipe_resource_reference(outbuf, NULL); in u_upload_alloc()
292 pipe_resource_reference(outbuf, NULL); in u_upload_alloc()
309 pipe_resource_reference(outbuf, NULL); in u_upload_alloc()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c98 pipe_resource_reference(out_buf, src_sbuf->translated_indices.buffer); in translate_indices()
156 pipe_resource_reference(&src_sbuf->translated_indices.buffer, dst); in translate_indices()
176 pipe_resource_reference(&dst, NULL); in translate_indices()
273 pipe_resource_reference(&index_buffer, info->index.resource); in svga_hwtnl_draw_range_elements()
288 pipe_resource_reference(&index_buffer, NULL); in svga_hwtnl_draw_range_elements()
320 pipe_resource_reference(&gen_buf, NULL); in svga_hwtnl_draw_range_elements()
Dsvga_shader_buffer.c119 pipe_resource_reference(&cbuf->resource, buf->buffer); in svga_set_shader_buffers()
126 pipe_resource_reference(&cbuf->resource, NULL); in svga_set_shader_buffers()
138 pipe_resource_reference(&cbuf->resource, NULL); in svga_set_shader_buffers()
192 pipe_resource_reference(&cbuf->resource, buf->buffer); in svga_set_hw_atomic_buffers()
206 pipe_resource_reference(&cbuf->resource, NULL); in svga_set_hw_atomic_buffers()
218 pipe_resource_reference(&cbuf->resource, NULL); in svga_set_hw_atomic_buffers()
Dsvga_draw_arrays.c109 pipe_resource_reference(out_buf, in retrieve_or_generate_indices()
118 pipe_resource_reference(&hwtnl->index_cache[prim][i].buffer, in retrieve_or_generate_indices()
147 pipe_resource_reference(&hwtnl->index_cache[prim][smallest].buffer, in retrieve_or_generate_indices()
163 pipe_resource_reference(&hwtnl->index_cache[prim][i].buffer, *out_buf); in retrieve_or_generate_indices()
311 pipe_resource_reference(&gen_buf, NULL); in svga_hwtnl_draw_arrays()
Dsvga_image_view.c154 pipe_resource_reference(&svga->dummy_resource, res); in svga_set_shader_images()
156 pipe_resource_reference(&cur_image_view->resource, in svga_set_shader_images()
160 pipe_resource_reference(&cur_image_view->resource, in svga_set_shader_images()
165 pipe_resource_reference(&cur_image_view->resource, NULL); in svga_set_shader_images()
176 pipe_resource_reference(&cur_image_view->resource, NULL); in svga_set_shader_images()
Dsvga_pipe_constants.c72 pipe_resource_reference(&svga->curr.constbufs[shader][index].buffer, NULL); in svga_set_constant_buffer()
75 pipe_resource_reference(&svga->curr.constbufs[shader][index].buffer, buf); in svga_set_constant_buffer()
122 pipe_resource_reference(&buf, NULL); in svga_set_constant_buffer()
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_run.c148 pipe_resource_reference(&ppq->depth, indepth); in pp_run()
149 pipe_resource_reference(&refin, in); in pp_run()
150 pipe_resource_reference(&refout, out); in pp_run()
202 pipe_resource_reference(&ppq->depth, NULL); in pp_run()
203 pipe_resource_reference(&refin, NULL); in pp_run()
204 pipe_resource_reference(&refout, NULL); in pp_run()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DInputAssembly.cpp157 pipe_resource_reference(&vb->buffer.resource, resource); in IaSetVertexBuffers()
163 pipe_resource_reference(&vb->buffer.resource, NULL); in IaSetVertexBuffers()
227 pipe_resource_reference(&pDevice->index_buffer, resource); in IaSetIndexBuffer()
229 pipe_resource_reference(&pDevice->index_buffer, NULL); in IaSetIndexBuffer()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_surface.c103 pipe_resource_reference(&surf->base.texture, &rsc->base); in etna_create_surface()
104 pipe_resource_reference(&surf->prsc, prsc); in etna_create_surface()
195 pipe_resource_reference(&psurf->texture, NULL); in etna_surface_destroy()
196 pipe_resource_reference(&etna_surface(psurf)->prsc, NULL); in etna_surface_destroy()
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_state.c96 pipe_resource_reference(&sampler_view->texture, texture); in noop_create_sampler_view()
111 pipe_resource_reference(&surface->texture, texture); in noop_create_surface()
195 pipe_resource_reference(&state->texture, NULL); in noop_sampler_view_destroy()
203 pipe_resource_reference(&surface->texture, NULL); in noop_surface_destroy()
254 pipe_resource_reference(&t->buffer, res); in noop_create_stream_output_target()
263 pipe_resource_reference(&t->buffer, NULL); in noop_stream_output_target_destroy()
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_st.c177 pipe_resource_reference(&stwfb->msaa_textures[i], NULL); in stw_st_framebuffer_validate_locked()
178 pipe_resource_reference(&stwfb->textures[i], NULL); in stw_st_framebuffer_validate_locked()
180 pipe_resource_reference(&stwfb->back_texture, NULL); in stw_st_framebuffer_validate_locked()
350 pipe_resource_reference(&out[i], texture); in stw_st_framebuffer_validate()
528 pipe_resource_reference(&stwfb->msaa_textures[i], NULL); in stw_st_destroy_framebuffer_locked()
529 pipe_resource_reference(&stwfb->textures[i], NULL); in stw_st_destroy_framebuffer_locked()
531 pipe_resource_reference(&stwfb->back_texture, NULL); in stw_st_destroy_framebuffer_locked()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_state.c169 pipe_resource_reference(&buf->buffer, buffers[i].buffer); in fd_set_shader_buffers()
182 pipe_resource_reference(&buf->buffer, NULL); in fd_set_shader_buffers()
237 pipe_resource_reference(&img->resource, NULL); in fd_set_shader_images()
244 pipe_resource_reference(&so->si[i + start + count].resource, NULL); in fd_set_shader_images()
537 pipe_resource_reference(&target->base.buffer, prsc); in fd_create_stream_output_target()
559 pipe_resource_reference(&cso->base.buffer, NULL); in fd_stream_output_target_destroy()
560 pipe_resource_reference(&cso->offset_buf, NULL); in fd_stream_output_target_destroy()
672 pipe_resource_reference(&so->buf[n], prscs[i]); in fd_set_global_binding()
693 pipe_resource_reference(&so->buf[n], NULL); in fd_set_global_binding()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_st.c77 pipe_resource_reference(&xstfb->display_resource, ptex); in xmesa_st_framebuffer_display()
131 pipe_resource_reference(&xstfb->textures[i], NULL); in xmesa_st_framebuffer_validate_textures()
254 pipe_resource_reference(&out[i], xstfb->textures[statts[i]]); in xmesa_st_framebuffer_validate()
327 pipe_resource_reference(&xstfb->display_resource, NULL); in xmesa_destroy_st_framebuffer()
330 pipe_resource_reference(&xstfb->textures[i], NULL); in xmesa_destroy_st_framebuffer()

12345678910>>...12