Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_context.c66 if (llvmpipe->pipe.stream_uploader) in llvmpipe_destroy()
67 u_upload_destroy(llvmpipe->pipe.stream_uploader); in llvmpipe_destroy()
202 llvmpipe->pipe.stream_uploader = u_upload_create_default(&llvmpipe->pipe); in llvmpipe_create_context()
203 if (!llvmpipe->pipe.stream_uploader) in llvmpipe_create_context()
205 llvmpipe->pipe.const_uploader = llvmpipe->pipe.stream_uploader; in llvmpipe_create_context()
/external/mesa3d/src/gallium/drivers/i915/
Di915_context.c146 if (i915->base.stream_uploader) in i915_destroy()
147 u_upload_destroy(i915->base.stream_uploader); in i915_destroy()
178 i915->base.stream_uploader = u_upload_create_default(&i915->base); in i915_create_context()
179 i915->base.const_uploader = i915->base.stream_uploader; in i915_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/freedreno/
Dfreedreno_context.c137 if (pctx->stream_uploader) in fd_context_destroy()
138 u_upload_destroy(pctx->stream_uploader); in fd_context_destroy()
297 pctx->stream_uploader = u_upload_create_default(pctx); in fd_context_init()
298 if (!pctx->stream_uploader) in fd_context_init()
300 pctx->const_uploader = pctx->stream_uploader; in fd_context_init()
/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()
385 if (pipe->stream_uploader) in nv50_create()
386 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()
274 softpipe->pipe.stream_uploader = u_upload_create_default(&softpipe->pipe); in softpipe_create_context()
275 if (!softpipe->pipe.stream_uploader) in softpipe_create_context()
277 softpipe->pipe.const_uploader = softpipe->pipe.stream_uploader; in softpipe_create_context()
/external/mesa3d/src/gallium/drivers/noop/
Dnoop_pipe.c293 if (ctx->stream_uploader) in noop_destroy_context()
294 u_upload_destroy(ctx->stream_uploader); in noop_destroy_context()
321 ctx->stream_uploader = u_upload_create_default(ctx); in noop_create_context()
322 if (!ctx->stream_uploader) { in noop_create_context()
326 ctx->const_uploader = ctx->stream_uploader; in noop_create_context()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_context.c197 if (nvc0->base.pipe.stream_uploader) in nvc0_destroy()
198 u_upload_destroy(nvc0->base.pipe.stream_uploader); in nvc0_destroy()
390 pipe->stream_uploader = u_upload_create_default(pipe); in nvc0_create()
391 if (!pipe->stream_uploader) in nvc0_create()
393 pipe->const_uploader = pipe->stream_uploader; in nvc0_create()
485 if (pipe->stream_uploader) in nvc0_create()
486 u_upload_destroy(pipe->stream_uploader); in nvc0_create()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c69 if (pctx->stream_uploader) in etna_context_destroy()
70 u_upload_destroy(pctx->stream_uploader); in etna_context_destroy()
424 pctx->stream_uploader = u_upload_create_default(pctx); in etna_context_create()
425 if (!pctx->stream_uploader) in etna_context_create()
427 pctx->const_uploader = pctx->stream_uploader; in etna_context_create()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_context.c111 u_upload_destroy(svga->pipe.stream_uploader); in svga_destroy()
144 svga->pipe.stream_uploader = u_upload_create(&svga->pipe, 1024 * 1024, in svga_context_create()
148 if (!svga->pipe.stream_uploader) in svga_context_create()
312 if (svga->pipe.stream_uploader) in svga_context_create()
313 u_upload_destroy(svga->pipe.stream_uploader); in svga_context_create()
/external/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c112 u_upload_data(pipe->stream_uploader, start_offset, in util_upload_index_buffer()
116 u_upload_unmap(pipe->stream_uploader); in util_upload_index_buffer()
Du_threaded_context.c1457 u_upload_alloc(tc->base.stream_uploader, 0, in tc_transfer_map()
2030 u_upload_data(tc->base.stream_uploader, 0, size, 4, info->index.user, in tc_draw_vbo()
2448 tc->base.stream_uploader != tc->base.const_uploader) in tc_destroy()
2451 if (tc->base.stream_uploader) in tc_destroy()
2452 u_upload_destroy(tc->base.stream_uploader); in tc_destroy()
2536 tc->base.stream_uploader = u_upload_clone(&tc->base, pipe->stream_uploader); in threaded_context_create()
2537 if (pipe->stream_uploader == pipe->const_uploader) in threaded_context_create()
2538 tc->base.const_uploader = tc->base.stream_uploader; in threaded_context_create()
2542 if (!tc->base.stream_uploader || !tc->base.const_uploader) in threaded_context_create()
Du_vbuf.c461 u_upload_alloc(mgr->pipe->stream_uploader, 0, in u_vbuf_translate_buffers()
493 u_upload_alloc(mgr->pipe->stream_uploader, in u_vbuf_translate_buffers()
979 u_upload_data(mgr->pipe->stream_uploader, in u_vbuf_upload_buffers()
1279 u_upload_unmap(pipe->stream_uploader); in u_vbuf_draw_vbo()
/external/mesa3d/src/gallium/auxiliary/indices/
Du_primconvert.c141 u_upload_alloc(pc->pipe->stream_uploader, 0, new_info.index_size * new_info.count, 4, in util_primconvert_draw_vbo()
155 u_upload_unmap(pc->pipe->stream_uploader); in util_primconvert_draw_vbo()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_pipe_common.c447 rctx->b.stream_uploader = u_upload_create(&rctx->b, 1024 * 1024, in si_common_context_init()
450 if (!rctx->b.stream_uploader) in si_common_context_init()
505 if (rctx->b.stream_uploader) in si_common_context_cleanup()
506 u_upload_destroy(rctx->b.stream_uploader); in si_common_context_cleanup()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_context.cpp392 if (ctx->pipe.stream_uploader) in swr_destroy()
393 u_upload_destroy(ctx->pipe.stream_uploader); in swr_destroy()
549 ctx->pipe.stream_uploader = u_upload_create_default(&ctx->pipe); in swr_create_context()
550 if (!ctx->pipe.stream_uploader) in swr_create_context()
552 ctx->pipe.const_uploader = ctx->pipe.stream_uploader; in swr_create_context()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawtex.c159 u_upload_alloc(pipe->stream_uploader, 0, in st_DrawTex()
231 u_upload_unmap(pipe->stream_uploader); in st_DrawTex()
Dst_draw.c362 u_upload_alloc(st->pipe->stream_uploader, 0, in st_draw_quad()
413 u_upload_unmap(st->pipe->stream_uploader); in st_draw_quad()
Dst_atom_array.c643 st->pipe->stream_uploader, in setup_non_interleaved_attribs()
674 u_upload_unmap(st->pipe->stream_uploader); in setup_non_interleaved_attribs()
Dst_pbo.c230 u_upload_alloc(st->pipe->stream_uploader, 0, 8 * sizeof(float), 4, in st_pbo_draw()
244 u_upload_unmap(st->pipe->stream_uploader); in st_pbo_draw()
Dst_cb_bitmap.c697 u_upload_alloc(pipe->stream_uploader, 0, num_vert_bytes, 4, in st_DrawAtlasBitmaps()
774 u_upload_unmap(pipe->stream_uploader); in st_DrawAtlasBitmaps()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c184 u_upload_alloc(rctx->b.stream_uploader, 0, sizeof(float) * 24, in r600_draw_rectangle()
698 rctx->b.stream_uploader = u_upload_create(&rctx->b, 1024 * 1024, in r600_common_context_init()
700 if (!rctx->b.stream_uploader) in r600_common_context_init()
734 if (rctx->b.stream_uploader) in r600_common_context_cleanup()
735 u_upload_destroy(rctx->b.stream_uploader); in r600_common_context_cleanup()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_context.c160 vc4->base.stream_uploader = vc4->uploader; in vc4_context_create()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_context.c155 vc5->base.stream_uploader = vc5->uploader; in vc5_context_create()
/external/mesa3d/src/gallium/include/pipe/
Dp_context.h100 struct u_upload_mgr *stream_uploader; /* everything but shader constants */ member

12