Home
last modified time | relevance | path

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

123456789

/external/mesa3d/src/gallium/drivers/rbug/
Drbug_objects.c67 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/
Dst_vdpau.c87 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()
Dst_cb_eglimage.c96 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/
Ddd_draw.c627 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/
Dtr_texture.c59 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/
Dvirgl_streamout.c47 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/
Dsp_state_image.c45pipe_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()
71pipe_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()
Dsp_state_so.c48 pipe_resource_reference(&t->target.buffer, buffer); in softpipe_create_so_target()
58 pipe_resource_reference(&target->buffer, NULL); in softpipe_so_target_destroy()
Dsp_state_sampler.c93 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/
Dswapchain9.c292 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 …]
Dnine_buffer_upload.c105 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()
Dnine_csmt_helper.h364 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/
Dnoop_state.c83 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/
Du_suballoc.c83 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()
Du_upload_mgr.c142 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()
Du_inlines.h134 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()
Du_threaded_context.c257 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/
Dpp_run.c151 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/
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()
306 pipe_resource_reference(&gen_buf, NULL); in svga_hwtnl_draw_arrays()
Dsvga_pipe_constants.c71 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()
Dsvga_swtnl_backend.c87 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/
Dxm_st.c73 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/
Dfreedreno_surface.c53 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/
Dvl_vertex_buffers.c248 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/
Dlp_state_so.c49 pipe_resource_reference(&t->target.buffer, buffer); in llvmpipe_create_so_target()
59 pipe_resource_reference(&target->buffer, NULL); in llvmpipe_so_target_destroy()

123456789