Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw.c437 const struct _mesa_prim *prims, in brw_try_draw_prims() argument
517 if (brw->num_instances != prims[i].num_instances || in brw_try_draw_prims()
518 brw->basevertex != prims[i].basevertex || in brw_try_draw_prims()
519 brw->baseinstance != prims[i].base_instance) { in brw_try_draw_prims()
520 brw->num_instances = prims[i].num_instances; in brw_try_draw_prims()
521 brw->basevertex = prims[i].basevertex; in brw_try_draw_prims()
522 brw->baseinstance = prims[i].base_instance; in brw_try_draw_prims()
535 prims[i].indexed ? prims[i].basevertex : prims[i].start; in brw_try_draw_prims()
536 const int new_baseinstance = prims[i].base_instance; in brw_try_draw_prims()
544 if ((uses_draw_parameters && prims[i].is_indirect) || in brw_try_draw_prims()
[all …]
Dbrw_primitive_restart.c130 const struct _mesa_prim *prims, in brw_handle_primitive_restart() argument
161 if (can_cut_index_handle_prims(ctx, prims, nr_prims, ib)) { in brw_handle_primitive_restart()
165 brw_draw_prims(ctx, prims, nr_prims, ib, GL_FALSE, -1, -1, NULL, 0, in brw_handle_primitive_restart()
172 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,
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_vbo_t.c221 const struct _mesa_prim *prims, GLuint nr_prims,
231 const struct _mesa_prim *prims, GLuint nr_prims, in vbo_maybe_split() argument
258 vbo_split_prims(ctx, arrays, prims, nr_prims, ib, min_index, in vbo_maybe_split()
359 const struct _mesa_prim *prims, GLuint nr_prims, in vbo_draw_vbo() argument
372 unsigned start = prims[i].start, in vbo_draw_vbo()
373 count = prims[i].count; in vbo_draw_vbo()
375 if (i == 0 || basevertex != prims[i].basevertex) { in vbo_draw_vbo()
376 basevertex = prims[i].basevertex; in vbo_draw_vbo()
390 BATCH_BEGIN(nvgl_primitive(prims[i].mode)); in vbo_draw_vbo()
409 const struct _mesa_prim *prims, GLuint nr_prims, in vbo_draw_imm() argument
[all …]
/external/mesa3d/src/mesa/vbo/
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.c350 const struct _mesa_prim *prims, in vbo_get_minmax_indices() argument
366 start_prim = &prims[i]; in vbo_get_minmax_indices()
370 (prims[i].start + prims[i].count == prims[i+1].start)) { in vbo_get_minmax_indices()
371 count += prims[i+1].count; in vbo_get_minmax_indices()
Dvbo_split_copy.c144 const struct _mesa_prim *prims, in dump_draw_info() argument
155 printf(" Prim mode 0x%x\n", prims[i].mode); in dump_draw_info()
163 GLint k = prims[i].start + prims[i].count - 1; in dump_draw_info()
Dvbo.h102 const struct _mesa_prim *prims,
/external/javassist/src/main/javassist/bytecode/analysis/
DType.java46 private static final Map prims = new IdentityHashMap(); field in Type
105 prims.put(CtClass.doubleType, DOUBLE); in prims.put()
106 prims.put(CtClass.longType, LONG); in prims.put()
107 prims.put(CtClass.charType, CHAR); in prims.put()
108 prims.put(CtClass.shortType, SHORT); in prims.put()
109 prims.put(CtClass.intType, INTEGER); in prims.put()
110 prims.put(CtClass.floatType, FLOAT); in prims.put()
111 prims.put(CtClass.byteType, BYTE); in prims.put()
112 prims.put(CtClass.booleanType, BOOLEAN); in prims.put()
113 prims.put(CtClass.voidType, VOID); in prims.put()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c177 const struct _mesa_prim *prims, in st_draw_vbo() argument
215 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, in st_draw_vbo()
247 info.mode = translate_prim(ctx, prims[i].mode); in st_draw_vbo()
248 info.start = prims[i].start; in st_draw_vbo()
249 info.count = prims[i].count; in st_draw_vbo()
250 info.start_instance = prims[i].base_instance; in st_draw_vbo()
251 info.instance_count = prims[i].num_instances; in st_draw_vbo()
253 info.index_bias = prims[i].basevertex; in st_draw_vbo()
254 info.drawid = prims[i].draw_id; in st_draw_vbo()
275 else if (u_trim_pipe_prim(prims[i].mode, &info.count)) { in st_draw_vbo()
Dst_draw_feedback.c114 const struct _mesa_prim *prims, in st_feedback_draw_vbo() argument
148 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims); in st_feedback_draw_vbo()
276 draw_arrays(draw, prims[i].mode, prims[i].start, prims[i].count); in st_feedback_draw_vbo()
Dst_draw.h54 const struct _mesa_prim *prims,
66 const struct _mesa_prim *prims,
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dclip.cpp182 void ClipTriangles(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t… in ClipTriangles() argument
187 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx); in ClipTriangles()
191 void ClipLines(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t pri… in ClipLines() argument
196 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx); in ClipLines()
199 void ClipPoints(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t pr… in ClipPoints() argument
204 clipper.ExecuteStage(pa, prims, primMask, primId, viewportIdx); in ClipPoints()
Dfrontend.h312 void BinPoints(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[3], uint32_t pr…
313 void BinLines(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[3], uint32_t pri…
Dclip.h912 void ClipTriangles(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t…
913 void ClipLines(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t pri…
914 void ClipPoints(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[], uint32_t pr…
Dcontext.h217 …f void(*PFN_PROCESS_PRIMS)(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[],
Dbinner.cpp38 void BinPostSetupLines(DRAW_CONTEXT *pDC, PA_STATE& pa, uint32_t workerId, simdvector prims[3], sim…
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.c124 int prims = u_decomposed_prims_for_vertices(info->mode, info->count); in etna_draw_vbo() local
125 if (unlikely(prims <= 0)) { in etna_draw_vbo()
192 etna_draw_indexed_primitives(ctx->stream, draw_mode, info->start, prims, info->index_bias); in etna_draw_vbo()
194 etna_draw_primitives(ctx->stream, draw_mode, info->start, prims); in etna_draw_vbo()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_draw.c65 unsigned i, prims, buffers = 0; in fd_draw_vbo() local
170 prims = u_reduced_prims_for_vertices(info->mode, info->count); in fd_draw_vbo()
181 ctx->stats.prims_emitted += prims; in fd_draw_vbo()
182 ctx->stats.prims_generated += prims; in fd_draw_vbo()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_shader_state.c660 unsigned prims = ~0; in nv50_stream_output_validate() local
715 prims = MIN2(prims, limit); in nv50_stream_output_validate()
720 if (prims != ~0) { in nv50_stream_output_validate()
722 PUSH_DATA (push, prims); in nv50_stream_output_validate()
/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/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.c302 int prims = shader->llvm_emitted_primitives[i]; in llvm_fetch_gs_outputs() local
303 total_prims += prims; in llvm_fetch_gs_outputs()
304 max_prims_per_invocation = MAX2(max_prims_per_invocation, prims); in llvm_fetch_gs_outputs()
/external/mesa3d/docs/relnotes/
D4.1156 when recycling the vertex buffer for long prims).