/external/mesa3d/src/gallium/drivers/rbug/ |
D | rbug_objects.c | 67 pipe_resource_reference(&resource, NULL); in rbug_resource_create() 79 pipe_resource_reference(&rb_resource->resource, NULL); in rbug_resource_destroy() 106 pipe_resource_reference(&rb_surface->base.texture, &rb_resource->base); in rbug_surface_create() 119 pipe_resource_reference(&rb_surface->base.texture, NULL); in rbug_surface_destroy() 142 pipe_resource_reference(&rb_view->base.texture, &rb_resource->base); in rbug_sampler_view_create() 155 pipe_resource_reference(&rb_view->base.texture, NULL); in rbug_sampler_view_destroy() 183 pipe_resource_reference(&rb_transfer->base.resource, &rb_resource->base); in rbug_transfer_create() 197 pipe_resource_reference(&rb_transfer->base.resource, NULL); in rbug_transfer_destroy()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_vdpau.c | 87 pipe_resource_reference(&res, sv->texture); in st_vdpau_video_surface_gallium() 103 pipe_resource_reference(&res, f((uintptr_t)vdpSurface)); in st_vdpau_output_surface_gallium() 218 pipe_resource_reference(&res, NULL); in st_vdpau_map_surface() 234 pipe_resource_reference(&stObj->pt, res); in st_vdpau_map_surface() 236 pipe_resource_reference(&stImage->pt, res); in st_vdpau_map_surface() 243 pipe_resource_reference(&res, NULL); in st_vdpau_map_surface() 256 pipe_resource_reference(&stObj->pt, NULL); in st_vdpau_unmap_surface() 258 pipe_resource_reference(&stImage->pt, NULL); in st_vdpau_unmap_surface()
|
D | st_cb_eglimage.c | 96 pipe_resource_reference(&out->texture, NULL); in st_get_egl_image() 154 pipe_resource_reference(&stimg.texture, NULL); in st_egl_image_target_renderbuffer_storage() 171 pipe_resource_reference(&strb->texture, ps->texture); in st_egl_image_target_renderbuffer_storage() 229 pipe_resource_reference(&stObj->pt, stimg->texture); in st_bind_egl_image() 231 pipe_resource_reference(&stImage->pt, stObj->pt); in st_bind_egl_image() 253 pipe_resource_reference(&stimg.texture, NULL); in st_egl_image_target_texture_2d()
|
/external/mesa3d/src/gallium/drivers/ddebug/ |
D | dd_draw.c | 627 pipe_resource_reference(&dst->info.draw_vbo.indirect.buffer, NULL); in dd_unreference_copy_of_call() 628 pipe_resource_reference(&dst->info.draw_vbo.indirect.indirect_draw_count, NULL); in dd_unreference_copy_of_call() 631 pipe_resource_reference(&dst->info.draw_vbo.draw.index.resource, NULL); in dd_unreference_copy_of_call() 636 pipe_resource_reference(&dst->info.launch_grid.indirect, NULL); in dd_unreference_copy_of_call() 639 pipe_resource_reference(&dst->info.resource_copy_region.dst, NULL); in dd_unreference_copy_of_call() 640 pipe_resource_reference(&dst->info.resource_copy_region.src, NULL); in dd_unreference_copy_of_call() 643 pipe_resource_reference(&dst->info.blit.dst.resource, NULL); in dd_unreference_copy_of_call() 644 pipe_resource_reference(&dst->info.blit.src.resource, NULL); in dd_unreference_copy_of_call() 647 pipe_resource_reference(&dst->info.flush_resource, NULL); in dd_unreference_copy_of_call() 652 pipe_resource_reference(&dst->info.clear_buffer.res, NULL); in dd_unreference_copy_of_call() [all …]
|
/external/mesa3d/src/gallium/drivers/trace/ |
D | tr_texture.c | 59 pipe_resource_reference(&tr_surf->base.texture, res); in trace_surf_create() 74 pipe_resource_reference(&tr_surf->base.texture, NULL); in trace_surf_destroy() 101 pipe_resource_reference(&tr_trans->base.resource, res); in trace_transfer_create() 116 pipe_resource_reference(&tr_trans->base.resource, NULL); in trace_transfer_destroy()
|
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_streamout.c | 47 pipe_resource_reference(&t->base.buffer, buffer); in virgl_create_so_target() 62 pipe_resource_reference(&t->base.buffer, NULL); in virgl_destroy_so_target() 75 pipe_resource_reference(&vctx->so_targets[i].base.buffer, targets[i]->buffer); in virgl_set_so_targets() 78 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); in virgl_set_so_targets()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_image.c | 45 …pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, images[i].resource); in softpipe_set_shader_images() 49 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, NULL); in softpipe_set_shader_images() 71 … pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, buffers[i].buffer); in softpipe_set_shader_buffers() 75 pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, NULL); in softpipe_set_shader_buffers()
|
D | sp_state_so.c | 48 pipe_resource_reference(&t->target.buffer, buffer); in softpipe_create_so_target() 58 pipe_resource_reference(&target->buffer, NULL); in softpipe_so_target_destroy()
|
D | sp_state_sampler.c | 93 pipe_resource_reference(&view->texture, NULL); in softpipe_sampler_view_destroy() 198 pipe_resource_reference(&mapped_tex[i], tex); in prepare_shader_sampling() 291 pipe_resource_reference(&ctx->mapped_vs_tex[i], NULL); in softpipe_cleanup_vertex_sampling() 313 pipe_resource_reference(&ctx->mapped_gs_tex[i], NULL); in softpipe_cleanup_geometry_sampling()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | swapchain9.c | 292 pipe_resource_reference(&(This->present_buffers[i]), NULL); in NineSwapChain9_Resize() 330 pipe_resource_reference(&resource, NULL); in NineSwapChain9_Resize() 337 pipe_resource_reference(&resource, NULL); in NineSwapChain9_Resize() 353 pipe_resource_reference(&(This->present_buffers[i]), resource); in NineSwapChain9_Resize() 356 pipe_resource_reference(&resource, NULL); in NineSwapChain9_Resize() 383 pipe_resource_reference(&resource, NULL); in NineSwapChain9_Resize() 515 pipe_resource_reference(&(This->present_buffers[i]), NULL); in NineSwapChain9_dtor() 555 pipe_resource_reference(resource, NULL); in create_present_buffer() 841 pipe_resource_reference(&res, This->buffers[0]->base.resource); in NineSwapChain9_Present() 846 pipe_resource_reference(&res, NULL); in NineSwapChain9_Present() [all …]
|
D | nine_buffer_upload.c | 105 pipe_resource_reference(&group->resource, NULL); in nine_upload_create_buffer_group() 122 pipe_resource_reference(&group->resource, NULL); in nine_upload_destroy_buffer_group() 233 pipe_resource_reference(&buf->resource, NULL); in nine_upload_create_buffer() 245 pipe_resource_reference(&buf->resource, group->resource); in nine_upload_create_buffer() 261 pipe_resource_reference(&buf->resource, NULL); in nine_upload_release_buffer() 272 pipe_resource_reference(&buf->resource, NULL); in nine_upload_release_buffer()
|
D | nine_csmt_helper.h | 364 pipe_resource_reference(&args->_##y, y); ,\ 368 pipe_resource_reference(&args->_##y, NULL); ,\ 396 pipe_resource_reference(&args->_##y.src.resource, y->src.resource); \ 397 pipe_resource_reference(&args->_##y.dst.resource, y->dst.resource);,\ 400 pipe_resource_reference(&args->_##y.src.resource, NULL); \ 401 pipe_resource_reference(&args->_##y.dst.resource, NULL);,\ 409 pipe_resource_reference(&args->_##y.buffer.resource, y->buffer.resource); ,\ 412 pipe_resource_reference(&args->_##y.buffer.resource, NULL); ,\ 420 pipe_resource_reference(&args->_##y.buffer, y->buffer); ,\ 423 pipe_resource_reference(&args->_##y.buffer, NULL); ,\
|
/external/mesa3d/src/gallium/drivers/noop/ |
D | noop_state.c | 83 pipe_resource_reference(&sampler_view->texture, texture); in noop_create_sampler_view() 98 pipe_resource_reference(&surface->texture, texture); in noop_create_surface() 173 pipe_resource_reference(&state->texture, NULL); in noop_sampler_view_destroy() 181 pipe_resource_reference(&surface->texture, NULL); in noop_surface_destroy() 230 pipe_resource_reference(&t->buffer, res); in noop_create_stream_output_target() 239 pipe_resource_reference(&t->buffer, NULL); in noop_stream_output_target_destroy()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_suballoc.c | 83 pipe_resource_reference(&allocator->buffer, NULL); in u_suballocator_destroy() 102 pipe_resource_reference(&allocator->buffer, NULL); in u_suballocator_alloc() 147 pipe_resource_reference(outbuf, allocator->buffer); in u_suballocator_alloc() 153 pipe_resource_reference(outbuf, NULL); in u_suballocator_alloc()
|
D | u_upload_mgr.c | 142 pipe_resource_reference(&upload->buffer, NULL); in u_upload_release_buffer() 195 pipe_resource_reference(&upload->buffer, NULL); in u_upload_alloc_buffer() 227 pipe_resource_reference(outbuf, NULL); in u_upload_alloc() 245 pipe_resource_reference(outbuf, NULL); in u_upload_alloc() 259 pipe_resource_reference(outbuf, upload->buffer); in u_upload_alloc()
|
D | u_inlines.h | 134 pipe_resource_reference(struct pipe_resource **ptr, struct pipe_resource *tex) in pipe_resource_reference() function 206 pipe_resource_reference(&dst->buffer.resource, NULL); in pipe_vertex_buffer_unreference() 215 pipe_resource_reference(&dst->buffer.resource, src->buffer.resource); in pipe_vertex_buffer_reference() 223 pipe_resource_reference(&ps->texture, pt); in pipe_surface_reset() 621 pipe_resource_reference(&dst->buffer, src->buffer); in util_copy_constant_buffer() 627 pipe_resource_reference(&dst->buffer, NULL); in util_copy_constant_buffer() 639 pipe_resource_reference(&dst->resource, src->resource); in util_copy_image_view() 644 pipe_resource_reference(&dst->resource, NULL); in util_copy_image_view()
|
D | u_threaded_context.c | 257 pipe_resource_reference(dst, src); in tc_set_resource_reference() 278 pipe_resource_reference(&tres->latest, NULL); in threaded_resource_deinit() 458 pipe_resource_reference(&p->resource, NULL); in tc_call_get_query_result_resource() 660 pipe_resource_reference(&p->cb.buffer, NULL); in tc_call_set_constant_buffer() 849 pipe_resource_reference(&p->slot[i].resource, NULL); in tc_call_set_shader_images() 909 pipe_resource_reference(&p->slot[i].buffer, NULL); in tc_call_set_shader_buffers() 972 pipe_resource_reference(&p->slot[i].buffer.resource, NULL); in tc_call_set_vertex_buffers() 1293 pipe_resource_reference(&p->dst, NULL); in tc_call_replace_buffer_storage() 1294 pipe_resource_reference(&p->src, NULL); in tc_call_replace_buffer_storage() 1319 pipe_resource_reference(&tbuf->latest, NULL); in tc_invalidate_buffer() [all …]
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_run.c | 151 pipe_resource_reference(&ppq->depth, indepth); in pp_run() 152 pipe_resource_reference(&refin, in); in pp_run() 153 pipe_resource_reference(&refout, out); in pp_run() 194 pipe_resource_reference(&ppq->depth, NULL); in pp_run() 195 pipe_resource_reference(&refin, NULL); in pp_run() 196 pipe_resource_reference(&refout, NULL); in pp_run()
|
/external/mesa3d/src/gallium/drivers/svga/ |
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() 306 pipe_resource_reference(&gen_buf, NULL); in svga_hwtnl_draw_arrays()
|
D | svga_pipe_constants.c | 71 pipe_resource_reference(&svga->curr.constbufs[shader][index].buffer, buf); in svga_set_constant_buffer() 93 pipe_resource_reference(&buf, NULL); in svga_set_constant_buffer()
|
D | svga_swtnl_backend.c | 87 pipe_resource_reference(&svga_render->vbuf, NULL); in svga_vbuf_render_allocate_vertices() 89 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_allocate_vertices() 341 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_draw_elements() 408 pipe_resource_reference(&svga_render->vbuf, NULL); in svga_vbuf_render_destroy() 409 pipe_resource_reference(&svga_render->ibuf, NULL); in svga_vbuf_render_destroy()
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | xm_st.c | 73 pipe_resource_reference(&xstfb->display_resource, ptex); in xmesa_st_framebuffer_display() 127 pipe_resource_reference(&xstfb->textures[i], NULL); in xmesa_st_framebuffer_validate_textures() 249 pipe_resource_reference(&out[i], xstfb->textures[statts[i]]); in xmesa_st_framebuffer_validate() 319 pipe_resource_reference(&xstfb->display_resource, NULL); in xmesa_destroy_st_framebuffer() 322 pipe_resource_reference(&xstfb->textures[i], NULL); in xmesa_destroy_st_framebuffer()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_surface.c | 53 pipe_resource_reference(&psurf->texture, ptex); in fd_create_surface() 72 pipe_resource_reference(&psurf->texture, NULL); in fd_surface_destroy()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_vertex_buffers.c | 248 pipe_resource_reference(&buffer->mv[i].resource, NULL); in vl_vb_init() 252 pipe_resource_reference(&buffer->ycbcr[i].resource, NULL); in vl_vb_init() 371 pipe_resource_reference(&buffer->ycbcr[i].resource, NULL); in vl_vb_cleanup() 375 pipe_resource_reference(&buffer->mv[i].resource, NULL); in vl_vb_cleanup()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_so.c | 49 pipe_resource_reference(&t->target.buffer, buffer); in llvmpipe_create_so_target() 59 pipe_resource_reference(&target->buffer, NULL); in llvmpipe_so_target_destroy()
|