Home
last modified time | relevance | path

Searched refs:prims (Results 1 - 17 of 17) sorted by relevance

/third_party/mesa3d/src/mesa/vbo/
H A Dvbo_save_api.c154 struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1]; in copy_vertices()
183 store->prims = realloc(store->prims, store->size * sizeof(struct _mesa_prim)); in realloc_prim_store()
184 memset(&store->prims[old_size], 0, (store->size - old_size) * sizeof(struct _mesa_prim)); in realloc_prim_store()
201 * For a list of prims, try merging prims that can just be extensions of the
250 struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1]; in convert_line_loop_to_strip()
535 node->cold->prims = malloc(sizeof(struct _mesa_prim) * save->prim_store->used); in compile_vertex_list()
536 memcpy(node->cold->prims, save->prim_store->prims, sizeo in compile_vertex_list()
[all...]
H A Dvbo_save.h94 struct _mesa_prim *prims; member
124 struct _mesa_prim *prims; member
H A Dvbo_save_loopback.c183 const struct _mesa_prim *prims = node->cold->prims; in _vbo_loopback_vertex_list() local
188 &prims[i], wrap_count, stride, la, nr); in _vbo_loopback_vertex_list() local
H A Dvbo_minmax_index.c360 const struct _mesa_prim *prims, in vbo_get_minmax_indices()
378 start_prim = &prims[i]; in vbo_get_minmax_indices()
382 (prims[i].start + prims[i].count == prims[i+1].start)) { in vbo_get_minmax_indices()
383 count += prims[i+1].count; in vbo_get_minmax_indices()
359 vbo_get_minmax_indices(struct gl_context *ctx, const struct _mesa_prim *prims, const struct _mesa_index_buffer *ib, GLuint *min_index, GLuint *max_index, GLuint nr_prims, bool primitive_restart, unsigned restart_index) vbo_get_minmax_indices() argument
H A Dvbo_save.c65 free(save->prim_store->prims); in vbo_save_destroy()
H A Dvbo_save_draw.c122 const struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1]; in playback_copy_to_current()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_draw_feedback.c96 const struct _mesa_prim *prims, in st_feedback_draw_vbo()
136 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims, in st_feedback_draw_vbo()
445 d.count = prims[i].count; in st_feedback_draw_vbo()
450 d.start = start + prims[i].start; in st_feedback_draw_vbo()
452 info.mode = prims[i].mode; in st_feedback_draw_vbo()
453 d.index_bias = prims[i].basevertex; in st_feedback_draw_vbo()
459 draw_vbo(draw, &info, prims[i].draw_id, NULL, &d, 1, in st_feedback_draw_vbo()
95 st_feedback_draw_vbo(struct gl_context *ctx, const struct _mesa_prim *prims, unsigned nr_prims, const struct _mesa_index_buffer *ib, bool index_bounds_valid, bool primitive_restart, unsigned restart_index, unsigned min_index, unsigned max_index, unsigned num_instances, unsigned base_instance) st_feedback_draw_vbo() argument
H A Dst_draw.h53 const struct _mesa_prim *prims,
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_prim.h370 unsigned prims = u_decomposed_prims_for_vertices(primitive, nr); in u_stream_outputs_for_vertices() local
374 return u_vertices_for_prims(base, prims); in u_stream_outputs_for_vertices()
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_draw.c245 /* Counting prims in sw doesn't work for GS and tesselation. For older
249 unsigned prims = 0; variable
252 prims += u_reduced_prims_for_vertices(info->mode, draws[i].count);
256 ctx->stats.prims_generated += prims;
259 /* Clip the prims we're writing to the size of the SO buffers. */
261 unsigned verts_written = u_vertices_for_prims(tf_prim, prims);
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_context.c247 int prims = u_decomposed_prims_for_vertices(info->mode, draws[0].count); in etna_draw_vbo() local
248 if (unlikely(prims <= 0)) { in etna_draw_vbo()
399 etna_draw_indexed_primitives(ctx->stream, draw_mode, 0, prims, draws->index_bias); in etna_draw_vbo()
401 etna_draw_primitives(ctx->stream, draw_mode, draws[0].start, prims); in etna_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_shader_state.c669 unsigned prims = ~0; in nv50_stream_output_validate() local
730 prims = MIN2(prims, limit); in nv50_stream_output_validate()
736 if (prims != ~0) { in nv50_stream_output_validate()
738 PUSH_DATA (push, prims); in nv50_stream_output_validate()
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A 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()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_gs.c313 int prims = shader->llvm_emitted_primitives[i + (stream * shader->vector_length)]; in llvm_fetch_gs_outputs() local
314 total_prims += prims; in llvm_fetch_gs_outputs()
315 max_prims_per_invocation = MAX2(max_prims_per_invocation, prims); in llvm_fetch_gs_outputs()
436 debug_printf("stream %d: PRIM emitted prims = %d (verts=%d), cur prim count = %d\n", in gs_flush()
599 debug_printf("%s count = %d (in prims # = %d, invocs = %d, streams = %d)\n", in draw_geometry_shader_run()
700 debug_printf("stream %d: prims = %d verts = %d\n", i, output_prims[i].primitive_count, output_verts[i].count); in draw_geometry_shader_run()
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3dx_draw.c847 uint32_t prims = u_prims_for_vertices(info->mode, draw->count); in v3d_update_primitives_generated_counter()
848 v3d->prims_generated += prims; in v3d_update_primitives_generated_counter()
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_cmdstream.c2801 uint32_t prims = u_prims_for_vertices(info->mode, draw->count); in panfrost_statistics_record()
2802 ctx->prims_generated += prims; in panfrost_statistics_record()
2807 ctx->tf_prims_generated += prims; in panfrost_statistics_record()
/third_party/mesa3d/src/mesa/main/
H A Ddlist.c761 free(node->cold->prims); in vbo_destroy_vertex_list()
784 struct _mesa_prim *prim = &node->cold->prims[i]; in vbo_print_vertex_list()

Completed in 39 milliseconds