Searched refs:hw_prim (Results 1 – 12 of 12) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw.c | 83 uint32_t hw_prim = get_hw_prim_for_gl_prim(prim->mode); in brw_set_prim() local 93 hw_prim = _3DPRIM_TRISTRIP; in brw_set_prim() 99 hw_prim = _3DPRIM_TRIFAN; in brw_set_prim() 102 if (hw_prim != brw->primitive) { in brw_set_prim() 103 brw->primitive = hw_prim; in brw_set_prim() 117 uint32_t hw_prim; in gen6_set_prim() local 122 hw_prim = _3DPRIM_PATCHLIST(ctx->TessCtrlProgram.patch_vertices); in gen6_set_prim() 124 hw_prim = get_hw_prim_for_gl_prim(prim->mode); in gen6_set_prim() 127 if (hw_prim != brw->primitive) { in gen6_set_prim() 128 brw->primitive = hw_prim; in gen6_set_prim() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tcl.c | 113 #define ELT_INIT(prim, hw_prim) \ argument 114 radeonTclPrimitive( ctx, prim, hw_prim | RADEON_CP_VC_CNTL_PRIM_WALK_IND ) 251 int hw_prim ) in radeonTclPrimitive() argument 255 GLuint newprim = hw_prim | RADEON_CP_VC_CNTL_TCL_ENABLE; in radeonTclPrimitive() 262 !discrete_prim[hw_prim&0xf]) { in radeonTclPrimitive()
|
D | radeon_tcl.h | 41 extern void radeonTclPrimitive( struct gl_context *ctx, GLenum prim, int hw_prim );
|
D | radeon_swtcl.c | 360 static const GLuint hw_prim[GL_POLYGON+1] = { variable 377 rmesa->radeon.swtcl.hw_primitive = hw_prim[prim]; in radeonDmaPrimitive()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_elements.c | 160 unsigned hw_prim; in svga_hwtnl_simple_draw_range_elements() local 164 hw_prim = svga_translate_prim(prim, count, &hw_count); in svga_hwtnl_simple_draw_range_elements() 168 range.primType = hw_prim; in svga_hwtnl_simple_draw_range_elements()
|
D | svga_draw_arrays.c | 181 unsigned hw_prim; in simple_draw_arrays() local 184 hw_prim = svga_translate_prim(prim, count, &hw_count); in simple_draw_arrays() 188 range.primType = hw_prim; in simple_draw_arrays()
|
D | svga_context.h | 464 unsigned hw_prim; member
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_inlines.h | 214 static inline boolean i915_validate_vertices( unsigned hw_prim, unsigned nr ) in i915_validate_vertices() argument 218 switch (hw_prim) { in i915_validate_vertices()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_tcl.c | 107 #define ELT_INIT(prim, hw_prim) \ argument 108 r200TclPrimitive( ctx, prim, hw_prim | R200_VF_PRIM_WALK_IND ) 259 int hw_prim ) in r200TclPrimitive() argument 262 GLuint newprim = hw_prim | R200_VF_TCL_OUTPUT_VTX_ENABLE; in r200TclPrimitive() 269 !discrete_prim[hw_prim&0xf]) { in r200TclPrimitive()
|
D | r200_tcl.h | 40 extern void r200TclPrimitive( struct gl_context *ctx, GLenum prim, int hw_prim );
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_render.c | 69 static const uint32_t hw_prim[GL_POLYGON + 1] = { variable 116 intel_set_prim(intel, hw_prim[prim]); in intelDmaPrimitive()
|
D | intel_tris.c | 669 static const GLuint hw_prim[GL_POLYGON + 1] = { variable 682 #define RASTERIZE(x) intelRasterPrimitive( ctx, x, hw_prim[x] ) 1167 intelRasterPrimitive(ctx, reduced_prim[prim], hw_prim[prim]); in intelRenderPrimitive()
|