/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_save.h | 82 struct _mesa_prim *prim; member in struct:vbo_save_vertex_list 142 struct _mesa_prim *prim; member in struct:vbo_save_context 174 const struct _mesa_prim *prim,
|
vbo_split_copy.c | 54 const struct _mesa_prim *prim; member in struct:copy_context 114 * off the prim: 152 printf("Prim %u of %u\n", i, nr_prims); 153 printf(" Prim mode 0x%x\n", prims[i].mode); 229 struct _mesa_prim *prim = ©->dstprim[copy->dstprim_nr]; local 231 prim->mode = mode; 232 prim->begin = begin_flag; 233 prim->num_instances = 1; 310 struct _mesa_prim *prim = ©->dstprim[copy->dstprim_nr]; local 314 prim->end = end_flag 330 const struct _mesa_prim *prim = ©->prim[i]; local [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_debug.c | 133 const char *prim = get_prim_name( ptr[0] ); local 138 PRINTF(stream, "%s %s (%d dwords):\n", name, prim, len); 206 const char *prim = get_prim_name( ptr[0] ); local 215 PRINTF(stream, "3DPRIM, %s variable length %d indicies (%d dwords):\n", prim, i, len);
|
i915_prim_vbuf.c | 69 unsigned prim; member in struct:i915_vbuf_render 327 unsigned prim) 330 i915_render->prim = prim; 332 switch(prim) { 375 assert(0 && "unexpected prim in i915_vbuf_render_set_primitive()");
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_setup_context.h | 76 uint prim; member in struct:lp_setup_context
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_draw.c | 52 uint32_t prim; member in struct:nv30_render 109 nv30_render_set_primitive(struct vbuf_render *render, unsigned prim) 113 r->prim = nv30_prim_gl(prim); 136 PUSH_DATA (push, r->prim); 181 PUSH_DATA (push, r->prim);
|
nv30_vbo.c | 333 unsigned prim; local 335 prim = nv30_prim_gl(mode); 338 PUSH_DATA (push, prim); 459 unsigned prim = nv30_prim_gl(mode); local 484 PUSH_DATA (push, prim); 517 PUSH_DATA (push, prim);
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_vbo.c | 401 nv50_prim_gl(unsigned prim) 403 switch (prim) { 449 unsigned prim; local 457 prim = nv50_prim_gl(mode); 461 PUSH_DATA (push, prim); 468 prim |= NV50_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT; 568 unsigned prim; local 571 prim = nv50_prim_gl(mode); 591 PUSH_DATA (push, prim); 627 prim |= NV50_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_push.c | 25 uint32_t prim; member in struct:push_context 156 (ctx->prim & ~NVC0_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT)); 197 (ctx->prim & ~NVC0_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT)); 238 (ctx->prim & ~NVC0_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT)); 272 nvc0_prim_gl(unsigned prim) 274 switch (prim) { 353 ctx.prim = nvc0_prim_gl(info->mode); 367 PUSH_DATA (ctx.push, ctx.prim); 388 ctx.prim |= NVC0_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT;
|
nvc0_vbo.c | 527 nvc0_prim_gl(unsigned prim) 529 switch (prim) { 565 unsigned prim; local 573 prim = nvc0_prim_gl(mode); 578 PUSH_DATA (push, prim); 584 prim |= NVC0_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT; 691 unsigned prim; local 694 prim = nvc0_prim_gl(mode); 705 IMMED_NVC0(push, NVC0_3D(VERTEX_BEGIN_GL), prim); 714 PUSH_DATA (push, prim | NVC0_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT) [all...] |
nvc0_vbo_translate.c | 405 nvc0_prim_gl(unsigned prim) 407 switch (prim) { 436 unsigned prim; local 475 prim = nvc0_prim_gl(info->mode); 488 PUSH_DATA (ctx.push, prim); 508 prim |= NVC0_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT;
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_state_draw.c | 248 unsigned prim = si_conv_pipe_prim(info->mode); local 254 if (prim == ~0) { 259 si_pm4_set_reg(pm4, R_008958_VGT_PRIMITIVE_TYPE, prim); 271 if (prim == V_008958_DI_PT_LINELIST) 273 else if (prim == V_008958_DI_PT_LINESTRIP) 286 prim == PIPE_PRIM_POINTS ? rctx->pa_cl_vs_out_cntl : 0
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_debug.c | 85 const char *prim = get_prim_name( ptr[0] ); local 90 printf("%s %s (%d dwords):\n", name, prim, len); 161 const char *prim = get_prim_name( ptr[0] ); local 170 printf("3DPRIM, %s variable length %d indicies (%d dwords):\n", prim, i, len);
|
intel_render.c | 113 intelDmaPrimitive(struct intel_context *intel, GLenum prim) 116 fprintf(stderr, "%s %s\n", __FUNCTION__, _mesa_lookup_enum_by_nr(prim)); 118 intel->vtbl.reduced_primitive_state(intel, reduced_prim[prim]); 119 intel_set_prim(intel, hw_prim[prim]); 144 ret = (INTEL_VB_SIZE - intel->prim.current_offset); 150 #define INIT( prim ) \ 152 intelDmaPrimitive( intel, prim ); \ 188 GLuint prim = VB->Primitive[i].mode; local 195 nr_rverts += length * scale_prim[prim & PRIM_MODE_MASK]; 197 if (reduced_prim[prim & PRIM_MODE_MASK] != rprim) 246 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); local [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_render.c | 309 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); local 313 assert((prim & PRIM_MODE_MASK) <= GL_POLYGON); 316 _mesa_debug(NULL, "MESA prim %s %d..%d\n", 317 _mesa_lookup_enum_by_nr(prim & PRIM_MODE_MASK), 321 tab[prim & PRIM_MODE_MASK]( ctx, start, start + length, prim );
|
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_dmatmp.h | 52 #define ELT_INIT(prim) 1188 GLuint prim = VB->Primitive[i].mode; local 1195 switch (prim & PRIM_MODE_MASK) { 1259 /* fprintf(stderr, "not ok %s\n", _mesa_lookup_enum_by_nr(prim & PRIM_MODE_MASK)); */
|
/external/mesa3d/src/mesa/vbo/ |
vbo_exec.h | 92 struct _mesa_prim prim[VBO_MAX_PRIM]; member in struct:vbo_exec_context::__anon26607
|
vbo_save.h | 82 struct _mesa_prim *prim; member in struct:vbo_save_vertex_list 142 struct _mesa_prim *prim; member in struct:vbo_save_context 174 const struct _mesa_prim *prim,
|
vbo_split_copy.c | 54 const struct _mesa_prim *prim; member in struct:copy_context 114 * off the prim: 152 printf("Prim %u of %u\n", i, nr_prims); 153 printf(" Prim mode 0x%x\n", prims[i].mode); 229 struct _mesa_prim *prim = ©->dstprim[copy->dstprim_nr]; local 231 prim->mode = mode; 232 prim->begin = begin_flag; 233 prim->num_instances = 1; 310 struct _mesa_prim *prim = ©->dstprim[copy->dstprim_nr]; local 314 prim->end = end_flag 330 const struct _mesa_prim *prim = ©->prim[i]; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_vbo.c | 527 nvc0_prim_gl(unsigned prim) 529 switch (prim) { 565 unsigned prim; local 573 prim = nvc0_prim_gl(mode); 578 PUSH_DATA (push, prim); 584 prim |= NVC0_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT; 691 unsigned prim; local 694 prim = nvc0_prim_gl(mode); 705 IMMED_NVC0(push, NVC0_3D(VERTEX_BEGIN_GL), prim); 714 PUSH_DATA (push, prim | NVC0_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT) [all...] |
nvc0_vbo_translate.c | 405 nvc0_prim_gl(unsigned prim) 407 switch (prim) { 436 unsigned prim; local 475 prim = nvc0_prim_gl(info->mode); 488 PUSH_DATA (ctx.push, prim); 508 prim |= NVC0_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_tcl.c | 108 #define ELT_INIT(prim, hw_prim) \ 109 r200TclPrimitive( ctx, prim, hw_prim | R200_VF_PRIM_WALK_IND ) 179 GLenum prim, 185 r200TclPrimitive( ctx, prim, hwprim ); 187 // fprintf(stderr,"Emit prim %d\n", rmesa->radeon.tcl.aos_count); 200 #define EMIT_PRIM(ctx, prim, hwprim, start, count) do { \ 201 r200EmitPrim( ctx, prim, hwprim, start, count ); \ 208 #define PREFER_DISCRETE_ELT_PRIM( NR, PRIM ) 0 210 #define PREFER_DISCRETE_ELT_PRIM( NR, PRIM ) \ 213 rmesa->tcl.hw_primitive == (PRIM| \ 468 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_tcl.c | 111 #define ELT_INIT(prim, hw_prim) \ 112 radeonTclPrimitive( ctx, prim, hw_prim | RADEON_CP_VC_CNTL_PRIM_WALK_IND ) 168 GLenum prim, 174 radeonTclPrimitive( ctx, prim, hwprim ); 188 #define EMIT_PRIM( ctx, prim, hwprim, start, count ) do { \ 189 radeonEmitPrim( ctx, prim, hwprim, start, count ); \ 197 #define PREFER_DISCRETE_ELT_PRIM( NR, PRIM ) 0 199 #define PREFER_DISCRETE_ELT_PRIM( NR, PRIM ) \ 202 rmesa->tcl.hw_primitive == (PRIM| \ 248 GLenum prim, 406 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_tcl.c | 108 #define ELT_INIT(prim, hw_prim) \ 109 r200TclPrimitive( ctx, prim, hw_prim | R200_VF_PRIM_WALK_IND ) 179 GLenum prim, 185 r200TclPrimitive( ctx, prim, hwprim ); 187 // fprintf(stderr,"Emit prim %d\n", rmesa->radeon.tcl.aos_count); 200 #define EMIT_PRIM(ctx, prim, hwprim, start, count) do { \ 201 r200EmitPrim( ctx, prim, hwprim, start, count ); \ 208 #define PREFER_DISCRETE_ELT_PRIM( NR, PRIM ) 0 210 #define PREFER_DISCRETE_ELT_PRIM( NR, PRIM ) \ 213 rmesa->tcl.hw_primitive == (PRIM| \ 468 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_tcl.c | 111 #define ELT_INIT(prim, hw_prim) \ 112 radeonTclPrimitive( ctx, prim, hw_prim | RADEON_CP_VC_CNTL_PRIM_WALK_IND ) 168 GLenum prim, 174 radeonTclPrimitive( ctx, prim, hwprim ); 188 #define EMIT_PRIM( ctx, prim, hwprim, start, count ) do { \ 189 radeonEmitPrim( ctx, prim, hwprim, start, count ); \ 197 #define PREFER_DISCRETE_ELT_PRIM( NR, PRIM ) 0 199 #define PREFER_DISCRETE_ELT_PRIM( NR, PRIM ) \ 202 rmesa->tcl.hw_primitive == (PRIM| \ 248 GLenum prim, 406 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); local [all...] |