Home
last modified time | relevance | path

Searched refs:stream_uploader (Results 1 – 25 of 54) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_context.c162 if (nv30->base.pipe.stream_uploader) in nv30_context_destroy()
163 u_upload_destroy(nv30->base.pipe.stream_uploader); in nv30_context_destroy()
211 nv30->base.pipe.stream_uploader = u_upload_create_default(&nv30->base.pipe); in nv30_context_create()
212 if (!nv30->base.pipe.stream_uploader) { in nv30_context_create()
216 nv30->base.pipe.const_uploader = nv30->base.pipe.stream_uploader; in nv30_context_create()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c132 u_upload_alloc(pipe->stream_uploader, 0, size, gen_size, in translate_indices()
148 u_upload_unmap(pipe->stream_uploader); in translate_indices()
173 u_upload_unmap(pipe->stream_uploader); in translate_indices()
267 u_upload_data(pipe->stream_uploader, 0, count * info->index_size, in svga_hwtnl_draw_range_elements()
270 u_upload_unmap(pipe->stream_uploader); in svga_hwtnl_draw_range_elements()
Dsvga_context.c115 u_upload_destroy(svga->pipe.stream_uploader); in svga_destroy()
157 svga->pipe.stream_uploader = u_upload_create(&svga->pipe, 1024 * 1024, in svga_context_create()
161 if (!svga->pipe.stream_uploader) in svga_context_create()
164 u_upload_disable_persistent(svga->pipe.stream_uploader); in svga_context_create()
375 if (svga->pipe.stream_uploader) in svga_context_create()
376 u_upload_destroy(svga->pipe.stream_uploader); in svga_context_create()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_context.c75 if (llvmpipe->pipe.stream_uploader) in llvmpipe_destroy()
76 u_upload_destroy(llvmpipe->pipe.stream_uploader); in llvmpipe_destroy()
282 llvmpipe->pipe.stream_uploader = u_upload_create_default(&llvmpipe->pipe); in llvmpipe_create_context()
283 if (!llvmpipe->pipe.stream_uploader) in llvmpipe_create_context()
285 llvmpipe->pipe.const_uploader = llvmpipe->pipe.stream_uploader; in llvmpipe_create_context()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_context.c191 if (ctx->stream_uploader) in crocus_destroy_context()
192 u_upload_destroy(ctx->stream_uploader); in crocus_destroy_context()
259 ctx->stream_uploader = u_upload_create_default(ctx); in crocus_create_context()
260 if (!ctx->stream_uploader) { in crocus_create_context()
264 ctx->const_uploader = ctx->stream_uploader; in crocus_create_context()
Dcrocus_draw.c232 u_upload_data(ice->ctx.stream_uploader, 0, in crocus_update_draw_parameters()
250 u_upload_data(ice->ctx.stream_uploader, 0, in crocus_update_draw_parameters()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_context.c148 if (i915->base.stream_uploader) in i915_destroy()
149 u_upload_destroy(i915->base.stream_uploader); in i915_destroy()
192 i915->base.stream_uploader = u_upload_create_default(&i915->base); in i915_create_context()
193 i915->base.const_uploader = i915->base.stream_uploader; in i915_create_context()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_context.c78 if (softpipe->pipe.stream_uploader) in softpipe_destroy()
79 u_upload_destroy(softpipe->pipe.stream_uploader); in softpipe_destroy()
270 softpipe->pipe.stream_uploader = u_upload_create_default(&softpipe->pipe); in softpipe_create_context()
271 if (!softpipe->pipe.stream_uploader) in softpipe_create_context()
273 softpipe->pipe.const_uploader = softpipe->pipe.stream_uploader; in softpipe_create_context()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_context.c193 if (nv50->base.pipe.stream_uploader) in nv50_destroy()
194 u_upload_destroy(nv50->base.pipe.stream_uploader); in nv50_destroy()
337 pipe->stream_uploader = u_upload_create_default(pipe); in nv50_create()
338 if (!pipe->stream_uploader) in nv50_create()
340 pipe->const_uploader = pipe->stream_uploader; in nv50_create()
423 if (pipe->stream_uploader) in nv50_create()
424 u_upload_destroy(pipe->stream_uploader); in nv50_create()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_context.c224 if (ctx->stream_uploader) in iris_destroy_context()
225 u_upload_destroy(ctx->stream_uploader); in iris_destroy_context()
302 ctx->stream_uploader = u_upload_create_default(ctx); in iris_create_context()
303 if (!ctx->stream_uploader) { in iris_create_context()
312 u_upload_destroy(ctx->stream_uploader); in iris_create_context()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_context.c253 if (nvc0->base.pipe.stream_uploader) in nvc0_destroy()
254 u_upload_destroy(nvc0->base.pipe.stream_uploader); in nvc0_destroy()
446 pipe->stream_uploader = u_upload_create_default(pipe); in nvc0_create()
447 if (!pipe->stream_uploader) in nvc0_create()
449 pipe->const_uploader = pipe->stream_uploader; in nvc0_create()
560 if (pipe->stream_uploader) in nvc0_create()
561 u_upload_destroy(pipe->stream_uploader); in nvc0_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.c366 if (pctx->stream_uploader) in fd_context_destroy()
367 u_upload_destroy(pctx->stream_uploader); in fd_context_destroy()
642 pctx->stream_uploader = u_upload_create_default(pctx); in fd_context_init()
643 if (!pctx->stream_uploader) in fd_context_init()
645 pctx->const_uploader = pctx->stream_uploader; in fd_context_init()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c116 if (pctx->stream_uploader) in etna_context_destroy()
117 u_upload_destroy(pctx->stream_uploader); in etna_context_destroy()
576 pctx->stream_uploader = u_upload_create_default(pctx); in etna_context_create()
577 if (!pctx->stream_uploader) in etna_context_create()
579 pctx->const_uploader = pctx->stream_uploader; in etna_context_create()
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_pipe.c347 if (ctx->stream_uploader) in noop_destroy_context()
348 u_upload_destroy(ctx->stream_uploader); in noop_destroy_context()
417 ctx->stream_uploader = u_upload_create_default(ctx); in noop_create_context()
418 if (!ctx->stream_uploader) { in noop_create_context()
422 ctx->const_uploader = ctx->stream_uploader; in noop_create_context()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_context.c90 if (r300->context.stream_uploader) in r300_destroy_context()
91 u_upload_destroy(r300->context.stream_uploader); in r300_destroy_context()
442 r300->context.stream_uploader = u_upload_create(&r300->context, 1024 * 1024,
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_pipe.c594 if (pctx->stream_uploader) in agx_destroy_context()
595 u_upload_destroy(pctx->stream_uploader); in agx_destroy_context()
636 pctx->stream_uploader = u_upload_create_default(pctx); in agx_create_context()
637 if (!pctx->stream_uploader) { in agx_create_context()
641 pctx->const_uploader = pctx->stream_uploader; in agx_create_context()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_drawtex.c215 u_upload_alloc(pipe->stream_uploader, 0, in st_DrawTex()
287 u_upload_unmap(pipe->stream_uploader); in st_DrawTex()
Dst_draw.c455 u_upload_alloc(st->pipe->stream_uploader, 0, in st_draw_quad()
506 u_upload_unmap(st->pipe->stream_uploader); in st_draw_quad()
/third_party/mesa3d/src/util/indices/
Du_primconvert.c218 u_upload_alloc(pc->pipe->stream_uploader, 0, new_info->index_size * new_draw->count, 4, in primconvert_init_draw()
265 u_upload_unmap(pc->pipe->stream_uploader); in primconvert_init_draw()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_pipe.c326 if (sctx->b.stream_uploader) in si_destroy_context()
327 u_upload_destroy(sctx->b.stream_uploader); in si_destroy_context()
328 if (sctx->b.const_uploader && sctx->b.const_uploader != sctx->b.stream_uploader) in si_destroy_context()
553 sctx->b.stream_uploader = in si_create_context()
557 if (!sctx->b.stream_uploader) { in si_create_context()
563 sctx->b.const_uploader = sctx->b.stream_uploader; in si_create_context()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c162 u_upload_alloc(rctx->b.stream_uploader, 0, sizeof(float) * 24, in r600_draw_rectangle()
625 rctx->b.stream_uploader = u_upload_create(&rctx->b, 1024 * 1024, in r600_common_context_init()
627 if (!rctx->b.stream_uploader) in r600_common_context_init()
658 if (rctx->b.stream_uploader) in r600_common_context_cleanup()
659 u_upload_destroy(rctx->b.stream_uploader); in r600_common_context_cleanup()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c161 u_upload_data(pipe->stream_uploader, start_offset, in util_upload_index_buffer()
165 u_upload_unmap(pipe->stream_uploader); in util_upload_index_buffer()
Du_vbuf.c548 u_upload_alloc(mgr->pipe->stream_uploader, 0, in u_vbuf_translate_buffers()
580 u_upload_alloc(mgr->pipe->stream_uploader, in u_vbuf_translate_buffers()
1187 u_upload_data(mgr->pipe->stream_uploader, in u_vbuf_upload_buffers()
1247 u_upload_data(mgr->pipe->stream_uploader, in u_vbuf_upload_buffers()
1776 u_upload_unmap(pipe->stream_uploader); in u_vbuf_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/tegra/
Dtegra_context.c41 if (context->base.stream_uploader) in tegra_destroy()
42 u_upload_destroy(context->base.stream_uploader); in tegra_destroy()
1286 context->base.stream_uploader = u_upload_create_default(&context->base); in tegra_screen_context_create()
1287 if (!context->base.stream_uploader) in tegra_screen_context_create()
1290 context->base.const_uploader = context->base.stream_uploader; in tegra_screen_context_create()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_context.c198 vc4->base.stream_uploader = vc4->uploader; in vc4_context_create()

123