/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/ |
D | rbug_objects.c | 66 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/ |
D | st_vdpau.c | 89 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()
|
D | st_cb_eglimage.c | 190 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/ |
D | sp_state_image.c | 46 …pipe_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() 80 … pipe_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/ |
D | virgl_streamout.c | 47 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/ |
D | dd_draw.c | 717 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/ |
D | swapchain9.c | 341 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 …]
|
D | nine_buffer_upload.c | 108 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/ |
D | tr_texture.c | 58 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/ |
D | u_suballoc.c | 67 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()
|
D | u_inlines.h | 154 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 …]
|
D | u_transfer_helper.c | 157 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()
|
D | u_upload_mgr.c | 164 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/ |
D | svga_draw_elements.c | 98 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()
|
D | svga_shader_buffer.c | 119 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()
|
D | svga_draw_arrays.c | 109 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()
|
D | svga_image_view.c | 154 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()
|
D | svga_pipe_constants.c | 72 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/ |
D | pp_run.c | 148 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/ |
D | InputAssembly.cpp | 157 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/ |
D | etnaviv_surface.c | 103 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/ |
D | noop_state.c | 96 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/ |
D | stw_st.c | 177 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/ |
D | freedreno_state.c | 169 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/ |
D | xm_st.c | 77 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()
|