Home
last modified time | relevance | path

Searched refs:prims (Results 1 – 25 of 37) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_vbo_t.c231 const struct _mesa_prim *prims, GLuint nr_prims,
241 const struct _mesa_prim *prims, GLuint nr_prims, in vbo_maybe_split() argument
268 vbo_split_prims(ctx, arrays, prims, nr_prims, ib, min_index, in vbo_maybe_split()
369 const struct _mesa_prim *prims, GLuint nr_prims, in vbo_draw_vbo() argument
382 unsigned start = prims[i].start, in vbo_draw_vbo()
383 count = prims[i].count; in vbo_draw_vbo()
385 if (i == 0 || basevertex != prims[i].basevertex) { in vbo_draw_vbo()
386 basevertex = prims[i].basevertex; in vbo_draw_vbo()
400 BATCH_BEGIN(nvgl_primitive(prims[i].mode)); in vbo_draw_vbo()
419 const struct _mesa_prim *prims, GLuint nr_prims, in vbo_draw_imm() argument
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dclip.cpp163 void ClipTriangles(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t… in ClipTriangles() argument
169 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx, rtIdx); in ClipTriangles()
173 void ClipLines(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t pri… in ClipLines() argument
179 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx, rtIdx); in ClipLines()
183 void ClipPoints(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t pr… in ClipPoints() argument
189 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx, rtIdx); in ClipPoints()
194 …s_simd16(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector prims[], uint32_t primMa… in ClipTriangles_simd16() argument
205 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx, rtIdx); in ClipTriangles_simd16()
210 …s_simd16(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector prims[], uint32_t primMa… in ClipLines_simd16() argument
221 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx, rtIdx); in ClipLines_simd16()
[all …]
Dfrontend.h392 void BinPoints(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[3], uint32_t pr…
393 void BinLines(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[3], uint32_t pri…
395 …s_simd16(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector prims[3], uint32_t primM…
396 …s_simd16(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector prims[3], uint32_t primM…
Dclip.h181 …void BinFunc(DRAW_CONTEXT *pDC, PA_STATE &pa, uint32_t workerId, SIMD256::Vec4 prims[], uint32_t p…
185 pfnBinFunc(pDC, pa, workerId, prims, primMask, primID, viewportIdx, rtIdx);
234 …void BinFunc(DRAW_CONTEXT *pDC, PA_STATE &pa, uint32_t workerId, SIMD512::Vec4 prims[], uint32_t p…
238 pfnBinFunc(pDC, pa, workerId, prims, primMask, primID, viewportIdx, rtIdx);
1144 void ClipTriangles(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t…
1145 void ClipLines(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t pri…
1146 void ClipPoints(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t pr…
1148 …s_simd16(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector prims[], uint32_t primMa…
1149 …s_simd16(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector prims[], uint32_t primMa…
1150 …s_simd16(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector prims[], uint32_t primMa…
Dcontext.h216 …f void(*PFN_PROCESS_PRIMS)(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[],
221 …PFN_PROCESS_PRIMS_SIMD16)(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simd16vector prims[],
/external/mesa3d/src/mesa/vbo/
Dvbo_save_api.c107 const struct _mesa_prim *prim = &node->prims[node->prim_count - 1]; in copy_vertices()
312 save->prims = save->prim_store->prims + save->prim_store->used; in reset_counters()
374 struct _mesa_prim *prim = &node->prims[node->prim_count - 1]; in convert_line_loop_to_strip()
442 node->prims = save->prims; in compile_vertex_list()
450 if (node->prims[0].no_current_update) { in compile_vertex_list()
491 if (node->prims[node->prim_count - 1].mode == GL_LINE_LOOP) { in compile_vertex_list()
495 merge_prims(node->prims, &node->prim_count); in compile_vertex_list()
509 node->attrsz, node->prims, node->prim_count, in compile_vertex_list()
559 save->prims[i].start += start_offset; in compile_vertex_list()
591 save->prims[i].count = (save->vert_count - save->prims[i].start); in wrap_buffers()
[all …]
Dvbo_primitive_restart.c164 const struct _mesa_prim *prims, in vbo_sw_primitive_restart() argument
186 if (indirect && prims[0].is_indirect) { in vbo_sw_primitive_restart()
198 new_prim = prims[0]; in vbo_sw_primitive_restart()
213 prims = &new_prim; in vbo_sw_primitive_restart()
241 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart()
242 memcpy(&temp_prim, &prims[prim_num], sizeof (temp_prim)); in vbo_sw_primitive_restart()
247 if (prims[prim_num].start <= sub_prim->start) { in vbo_sw_primitive_restart()
248 temp_prim.start = MAX2(prims[prim_num].start, sub_prim->start); in vbo_sw_primitive_restart()
Dvbo_minmax_index.c353 const struct _mesa_prim *prims, in vbo_get_minmax_indices() argument
369 start_prim = &prims[i]; in vbo_get_minmax_indices()
373 (prims[i].start + prims[i].count == prims[i+1].start)) { in vbo_get_minmax_indices()
374 count += prims[i+1].count; in vbo_get_minmax_indices()
Dvbo_save.h83 struct _mesa_prim *prims; member
132 struct _mesa_prim prims[VBO_SAVE_PRIM_SIZE]; member
156 struct _mesa_prim *prims; member
Dvbo_save_draw.c118 const struct _mesa_prim *prim = &node->prims[node->prim_count - 1]; in playback_copy_to_current()
249 list->prims, in loopback_vertex_list()
288 if (_mesa_inside_begin_end(ctx) && node->prims[0].begin) { in vbo_save_playback_vertex_list()
331 node->prims, in vbo_save_playback_vertex_list()
Dvbo_split_copy.c143 const struct _mesa_prim *prims, in dump_draw_info() argument
154 printf(" Prim mode 0x%x\n", prims[i].mode); in dump_draw_info()
162 GLint k = prims[i].start + prims[i].count - 1; in dump_draw_info()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c133 const struct _mesa_prim *prims, in st_draw_vbo() argument
164 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, in st_draw_vbo()
201 info.count = prims[i].count; in st_draw_vbo()
207 info.mode = translate_prim(ctx, prims[i].mode); in st_draw_vbo()
208 info.start = start + prims[i].start; in st_draw_vbo()
209 info.start_instance = prims[i].base_instance; in st_draw_vbo()
210 info.instance_count = prims[i].num_instances; in st_draw_vbo()
211 info.index_bias = prims[i].basevertex; in st_draw_vbo()
212 info.drawid = prims[i].draw_id; in st_draw_vbo()
Dst_draw_feedback.c114 const struct _mesa_prim *prims, in st_feedback_draw_vbo() argument
147 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims); in st_feedback_draw_vbo()
273 draw_arrays(draw, prims[i].mode, start + prims[i].start, prims[i].count); in st_feedback_draw_vbo()
Dst_draw.h53 const struct _mesa_prim *prims,
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_primitive_restart.c131 const struct _mesa_prim *prims, in brw_handle_primitive_restart() argument
162 if (can_cut_index_handle_prims(ctx, prims, nr_prims, ib)) { in brw_handle_primitive_restart()
166 brw_draw_prims(ctx, prims, nr_prims, ib, GL_FALSE, -1, -1, NULL, 0, in brw_handle_primitive_restart()
173 vbo_sw_primitive_restart(ctx, prims, nr_prims, ib, indirect); in brw_handle_primitive_restart()
Dbrw_draw.h48 const struct _mesa_prim *prims,
66 const struct _mesa_prim *prims,
Dbrw_draw.c916 const struct _mesa_prim *prims, in brw_draw_prims() argument
937 if (brw_handle_primitive_restart(ctx, prims, nr_prims, ib, indirect)) { in brw_draw_prims()
950 _tnl_draw_prims(ctx, prims, nr_prims, ib, in brw_draw_prims()
962 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims); in brw_draw_prims()
987 brw_load_register_imm64(brw, MI_PREDICATE_SRC1, prims[i].draw_id); in brw_draw_prims()
1004 brw_draw_single_prim(ctx, arrays, &prims[i], i, xfb_obj, stream, in brw_draw_prims()
/external/skqp/src/compute/skc/
Dpath.h30 skc_uint prims; // # of path elements: lines, quads, cubics, rat-quads, rat-cubics member
72 #define SKC_PATH_HEAD_OFFSET_PRIMS_CALC (SKC_OFFSET_OF(struct skc_path_head,header.prims) / size…
/external/skia/src/compute/skc/
Dpath.h30 skc_uint prims; // # of path elements: lines, quads, cubics, rat-quads, rat-cubics member
72 #define SKC_PATH_HEAD_OFFSET_PRIMS_CALC (SKC_OFFSET_OF(struct skc_path_head,header.prims) / size…
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c168 int prims = u_decomposed_prims_for_vertices(info->mode, info->count); in etna_draw_vbo() local
169 if (unlikely(prims <= 0)) { in etna_draw_vbo()
284 etna_draw_indexed_primitives(ctx->stream, draw_mode, 0, prims, info->index_bias); in etna_draw_vbo()
286 etna_draw_primitives(ctx->stream, draw_mode, info->start, prims); in etna_draw_vbo()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.c68 unsigned i, prims, buffers = 0, restore_buffers = 0; in fd_draw_vbo() local
233 prims = u_reduced_prims_for_vertices(info->mode, info->count); in fd_draw_vbo()
244 ctx->stats.prims_emitted += prims; in fd_draw_vbo()
245 ctx->stats.prims_generated += prims; in fd_draw_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_shader_state.c663 unsigned prims = ~0; in nv50_stream_output_validate() local
718 prims = MIN2(prims, limit); in nv50_stream_output_validate()
723 if (prims != ~0) { in nv50_stream_output_validate()
725 PUSH_DATA (push, prims); in nv50_stream_output_validate()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_draw.c320 uint32_t prims = u_prims_for_vertices(info->mode, info->count); in vc5_tf_statistics_record() local
321 vc5->prims_generated += prims; in vc5_tf_statistics_record()
325 vc5->tf_prims_generated += prims; in vc5_tf_statistics_record()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DICUJDKCompare.java731 static final Class[] prims = { field in ICUJDKCompare
737 for (int i = 0; i < prims.length; ++i) { in primIndex()
738 if (cls == prims[i]) { in primIndex()
/external/skqp/src/compute/skc/platforms/cl_12/
Dpath_builder_cl_12.c358 .prims = 0 in skc_path_builder_pfn_begin()
1166 impl->wip.head->header.prims += 1; in skc_path_builder_pfn_new_line()
1181 impl->wip.head->header.prims += 1; in skc_path_builder_pfn_new_quad()
1196 impl->wip.head->header.prims += 1; in skc_path_builder_pfn_new_cubic()

12