Home
last modified time | relevance | path

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

123

/external/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()
246 llvmpipe->pipe.stream_uploader = u_upload_create_default(&llvmpipe->pipe); in llvmpipe_create_context()
247 if (!llvmpipe->pipe.stream_uploader) in llvmpipe_create_context()
249 llvmpipe->pipe.const_uploader = llvmpipe->pipe.stream_uploader; in llvmpipe_create_context()
/external/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()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c131 u_upload_alloc(pipe->stream_uploader, 0, size, gen_size, in translate_indices()
147 u_upload_unmap(pipe->stream_uploader); in translate_indices()
172 u_upload_unmap(pipe->stream_uploader); in translate_indices()
265 u_upload_data(pipe->stream_uploader, 0, count * info->index_size, in svga_hwtnl_draw_range_elements()
268 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()
/external/mesa3d/src/gallium/drivers/i915/
Di915_context.c149 if (i915->base.stream_uploader) in i915_destroy()
150 u_upload_destroy(i915->base.stream_uploader); in i915_destroy()
181 i915->base.stream_uploader = u_upload_create_default(&i915->base); in i915_create_context()
182 i915->base.const_uploader = i915->base.stream_uploader; in i915_create_context()
/external/mesa3d/src/gallium/drivers/iris/
Diris_context.c240 if (ctx->stream_uploader) in iris_destroy_context()
241 u_upload_destroy(ctx->stream_uploader); in iris_destroy_context()
299 ctx->stream_uploader = u_upload_create_default(ctx); in iris_create_context()
300 if (!ctx->stream_uploader) { in iris_create_context()
304 ctx->const_uploader = ctx->stream_uploader; in iris_create_context()
Diris_draw.c140 u_upload_data(ice->ctx.stream_uploader, 0, in iris_update_draw_parameters()
158 u_upload_data(ice->ctx.stream_uploader, 0, in iris_update_draw_parameters()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_context.c175 if (nv50->base.pipe.stream_uploader) in nv50_destroy()
176 u_upload_destroy(nv50->base.pipe.stream_uploader); in nv50_destroy()
309 pipe->stream_uploader = u_upload_create_default(pipe); in nv50_create()
310 if (!pipe->stream_uploader) in nv50_create()
312 pipe->const_uploader = pipe->stream_uploader; in nv50_create()
394 if (pipe->stream_uploader) in nv50_create()
395 u_upload_destroy(pipe->stream_uploader); in nv50_create()
/external/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()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_context.c206 if (nvc0->base.pipe.stream_uploader) in nvc0_destroy()
207 u_upload_destroy(nvc0->base.pipe.stream_uploader); in nvc0_destroy()
399 pipe->stream_uploader = u_upload_create_default(pipe); in nvc0_create()
400 if (!pipe->stream_uploader) in nvc0_create()
402 pipe->const_uploader = pipe->stream_uploader; in nvc0_create()
511 if (pipe->stream_uploader) in nvc0_create()
512 u_upload_destroy(pipe->stream_uploader); in nvc0_create()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.c235 if (pctx->stream_uploader) in fd_context_destroy()
236 u_upload_destroy(pctx->stream_uploader); in fd_context_destroy()
441 pctx->stream_uploader = u_upload_create_default(pctx); in fd_context_init()
442 if (!pctx->stream_uploader) in fd_context_init()
444 pctx->const_uploader = pctx->stream_uploader; in fd_context_init()
/external/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_pipe.c319 if (ctx->stream_uploader) in noop_destroy_context()
320 u_upload_destroy(ctx->stream_uploader); in noop_destroy_context()
362 ctx->stream_uploader = u_upload_create_default(ctx); in noop_create_context()
363 if (!ctx->stream_uploader) { in noop_create_context()
367 ctx->const_uploader = ctx->stream_uploader; in noop_create_context()
/external/mesa3d/src/gallium/auxiliary/indices/
Du_primconvert.c150 u_upload_alloc(pc->pipe->stream_uploader, 0, new_info.index_size * new_info.count, 4, in util_primconvert_draw_vbo()
172 u_upload_unmap(pc->pipe->stream_uploader); in util_primconvert_draw_vbo()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c147 if (pctx->stream_uploader) in etna_context_destroy()
148 u_upload_destroy(pctx->stream_uploader); in etna_context_destroy()
563 pctx->stream_uploader = u_upload_create_default(pctx); in etna_context_create()
564 if (!pctx->stream_uploader) in etna_context_create()
566 pctx->const_uploader = pctx->stream_uploader; in etna_context_create()
/external/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()
431 r300->context.stream_uploader = u_upload_create(&r300->context, 1024 * 1024,
433 r300->context.const_uploader = r300->context.stream_uploader;
/external/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()
567 ctx->pipe.stream_uploader = u_upload_create_default(&ctx->pipe); in swr_create_context()
568 if (!ctx->pipe.stream_uploader) in swr_create_context()
570 ctx->pipe.const_uploader = ctx->pipe.stream_uploader; in swr_create_context()
/external/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c151 u_upload_data(pipe->stream_uploader, start_offset, in util_upload_index_buffer()
155 u_upload_unmap(pipe->stream_uploader); in util_upload_index_buffer()
Du_threaded_context.c1567 u_upload_alloc(tc->base.stream_uploader, 0, in tc_transfer_map()
2239 u_upload_data(tc->base.stream_uploader, 0, size, 4, in tc_draw_vbo()
2665 tc->base.stream_uploader != tc->base.const_uploader) in tc_destroy()
2668 if (tc->base.stream_uploader) in tc_destroy()
2669 u_upload_destroy(tc->base.stream_uploader); in tc_destroy()
2753 tc->base.stream_uploader = u_upload_clone(&tc->base, pipe->stream_uploader); in threaded_context_create()
2754 if (pipe->stream_uploader == pipe->const_uploader) in threaded_context_create()
2755 tc->base.const_uploader = tc->base.stream_uploader; in threaded_context_create()
2759 if (!tc->base.stream_uploader || !tc->base.const_uploader) in threaded_context_create()
Du_vbuf.c482 u_upload_alloc(mgr->pipe->stream_uploader, 0, in u_vbuf_translate_buffers()
514 u_upload_alloc(mgr->pipe->stream_uploader, in u_vbuf_translate_buffers()
1034 u_upload_data(mgr->pipe->stream_uploader, in u_vbuf_upload_buffers()
1094 u_upload_data(mgr->pipe->stream_uploader, in u_vbuf_upload_buffers()
1565 u_upload_unmap(pipe->stream_uploader); in u_vbuf_draw_vbo()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c391 u_upload_alloc(st->pipe->stream_uploader, 0, in st_draw_quad()
442 u_upload_unmap(st->pipe->stream_uploader); in st_draw_quad()
Dst_cb_drawtex.c215 u_upload_alloc(pipe->stream_uploader, 0, in st_DrawTex()
287 u_upload_unmap(pipe->stream_uploader); in st_DrawTex()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c162 u_upload_alloc(rctx->b.stream_uploader, 0, sizeof(float) * 24, in r600_draw_rectangle()
626 rctx->b.stream_uploader = u_upload_create(&rctx->b, 1024 * 1024, in r600_common_context_init()
628 if (!rctx->b.stream_uploader) in r600_common_context_init()
662 if (rctx->b.stream_uploader) in r600_common_context_cleanup()
663 u_upload_destroy(rctx->b.stream_uploader); in r600_common_context_cleanup()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_context.c202 vc4->base.stream_uploader = vc4->uploader; in vc4_context_create()
/external/mesa3d/src/gallium/drivers/tegra/
Dtegra_context.c40 if (context->base.stream_uploader) in tegra_destroy()
41 u_upload_destroy(context->base.stream_uploader); in tegra_destroy()
1239 context->base.stream_uploader = u_upload_create_default(&context->base); in tegra_screen_context_create()
1240 if (!context->base.stream_uploader) in tegra_screen_context_create()
1243 context->base.const_uploader = context->base.stream_uploader; in tegra_screen_context_create()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_pipe.c289 if (sctx->b.stream_uploader) in si_destroy_context()
290 u_upload_destroy(sctx->b.stream_uploader); in si_destroy_context()
488 sctx->b.stream_uploader = in si_create_context()
490 if (!sctx->b.stream_uploader) in si_create_context()

123