Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_context.c70 if (llvmpipe->pipe.stream_uploader) in llvmpipe_destroy()
71 u_upload_destroy(llvmpipe->pipe.stream_uploader); in llvmpipe_destroy()
261 llvmpipe->pipe.stream_uploader = u_upload_create_default(&llvmpipe->pipe); in llvmpipe_create_context()
262 if (!llvmpipe->pipe.stream_uploader) in llvmpipe_create_context()
264 llvmpipe->pipe.const_uploader = llvmpipe->pipe.stream_uploader; in llvmpipe_create_context()
/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.c118 u_upload_destroy(svga->pipe.stream_uploader); in svga_destroy()
151 svga->pipe.stream_uploader = u_upload_create(&svga->pipe, 1024 * 1024, in svga_context_create()
155 if (!svga->pipe.stream_uploader) in svga_context_create()
158 u_upload_disable_persistent(svga->pipe.stream_uploader); in svga_context_create()
337 if (svga->pipe.stream_uploader) in svga_context_create()
338 u_upload_destroy(svga->pipe.stream_uploader); in svga_context_create()
/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/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.c231 u_upload_data(ice->ctx.stream_uploader, 0, in crocus_update_draw_parameters()
249 u_upload_data(ice->ctx.stream_uploader, 0, in crocus_update_draw_parameters()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_context.c192 if (nv50->base.pipe.stream_uploader) in nv50_destroy()
193 u_upload_destroy(nv50->base.pipe.stream_uploader); in nv50_destroy()
336 pipe->stream_uploader = u_upload_create_default(pipe); in nv50_create()
337 if (!pipe->stream_uploader) in nv50_create()
339 pipe->const_uploader = pipe->stream_uploader; in nv50_create()
422 if (pipe->stream_uploader) in nv50_create()
423 u_upload_destroy(pipe->stream_uploader); in nv50_create()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_context.c221 if (ctx->stream_uploader) in iris_destroy_context()
222 u_upload_destroy(ctx->stream_uploader); in iris_destroy_context()
294 ctx->stream_uploader = u_upload_create_default(ctx); in iris_create_context()
295 if (!ctx->stream_uploader) { in iris_create_context()
304 u_upload_destroy(ctx->stream_uploader); in iris_create_context()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_context.c90 if (softpipe->pipe.stream_uploader) in softpipe_destroy()
91 u_upload_destroy(softpipe->pipe.stream_uploader); in softpipe_destroy()
283 softpipe->pipe.stream_uploader = u_upload_create_default(&softpipe->pipe); in softpipe_create_context()
284 if (!softpipe->pipe.stream_uploader) in softpipe_create_context()
286 softpipe->pipe.const_uploader = softpipe->pipe.stream_uploader; in softpipe_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.c365 if (pctx->stream_uploader) in fd_context_destroy()
366 u_upload_destroy(pctx->stream_uploader); in fd_context_destroy()
637 pctx->stream_uploader = u_upload_create_default(pctx); in fd_context_init()
638 if (!pctx->stream_uploader) in fd_context_init()
640 pctx->const_uploader = pctx->stream_uploader; in fd_context_init()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c148 if (pctx->stream_uploader) in etna_context_destroy()
149 u_upload_destroy(pctx->stream_uploader); in etna_context_destroy()
579 pctx->stream_uploader = u_upload_create_default(pctx); in etna_context_create()
580 if (!pctx->stream_uploader) in etna_context_create()
582 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.c91 if (r300->context.stream_uploader) in r300_destroy_context()
92 u_upload_destroy(r300->context.stream_uploader); in r300_destroy_context()
430 r300->context.stream_uploader = u_upload_create(&r300->context, 1024 * 1024,
432 r300->context.const_uploader = r300->context.stream_uploader;
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_context.cpp394 if (ctx->pipe.stream_uploader) in swr_destroy()
395 u_upload_destroy(ctx->pipe.stream_uploader); in swr_destroy()
577 ctx->pipe.stream_uploader = u_upload_create_default(&ctx->pipe); in swr_create_context()
578 if (!ctx->pipe.stream_uploader) in swr_create_context()
580 ctx->pipe.const_uploader = ctx->pipe.stream_uploader; in swr_create_context()
/third_party/mesa3d/src/gallium/auxiliary/indices/
Du_primconvert.c240 u_upload_alloc(pc->pipe->stream_uploader, 0, new_info.index_size * new_draw.count, 4, in util_primconvert_draw_vbo()
286 u_upload_unmap(pc->pipe->stream_uploader); in util_primconvert_draw_vbo()
/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()
635 pctx->stream_uploader = u_upload_create_default(pctx); in agx_create_context()
636 if (!pctx->stream_uploader) { in agx_create_context()
640 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.c433 u_upload_alloc(st->pipe->stream_uploader, 0, in st_draw_quad()
484 u_upload_unmap(st->pipe->stream_uploader); in st_draw_quad()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c160 u_upload_data(pipe->stream_uploader, start_offset, in util_upload_index_buffer()
164 u_upload_unmap(pipe->stream_uploader); in util_upload_index_buffer()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_pipe.c316 if (sctx->b.stream_uploader) in si_destroy_context()
317 u_upload_destroy(sctx->b.stream_uploader); in si_destroy_context()
318 if (sctx->b.const_uploader && sctx->b.const_uploader != sctx->b.stream_uploader) in si_destroy_context()
521 sctx->b.stream_uploader = in si_create_context()
525 if (!sctx->b.stream_uploader) in si_create_context()
529 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/drivers/vc4/
Dvc4_context.c198 vc4->base.stream_uploader = vc4->uploader; in vc4_context_create()
/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()
1268 context->base.stream_uploader = u_upload_create_default(&context->base); in tegra_screen_context_create()
1269 if (!context->base.stream_uploader) in tegra_screen_context_create()
1272 context->base.const_uploader = context->base.stream_uploader; in tegra_screen_context_create()

123