Searched refs:hw_prim (Results 1 – 12 of 12) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw.c | 85 uint32_t hw_prim = get_hw_prim_for_gl_prim(prim->mode); in brw_set_prim() local 95 hw_prim = _3DPRIM_TRISTRIP; in brw_set_prim() 101 hw_prim = _3DPRIM_TRIFAN; in brw_set_prim() 104 if (hw_prim != brw->primitive) { in brw_set_prim() 105 brw->primitive = hw_prim; in brw_set_prim() 119 uint32_t hw_prim; in gen6_set_prim() local 124 hw_prim = _3DPRIM_PATCHLIST(ctx->TessCtrlProgram.patch_vertices); in gen6_set_prim() 126 hw_prim = get_hw_prim_for_gl_prim(prim->mode); in gen6_set_prim() 129 if (hw_prim != brw->primitive) { in gen6_set_prim() 130 brw->primitive = hw_prim; in gen6_set_prim() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tcl.c | 112 #define ELT_INIT(prim, hw_prim) \ argument 113 radeonTclPrimitive( ctx, prim, hw_prim | RADEON_CP_VC_CNTL_PRIM_WALK_IND ) 250 int hw_prim ) in radeonTclPrimitive() argument 254 GLuint newprim = hw_prim | RADEON_CP_VC_CNTL_TCL_ENABLE; in radeonTclPrimitive() 261 !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 | 359 static const GLuint hw_prim[GL_POLYGON+1] = { variable 376 rmesa->radeon.swtcl.hw_primitive = hw_prim[prim]; in radeonDmaPrimitive()
|
/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/gallium/drivers/svga/ |
D | svga_draw_arrays.c | 182 unsigned hw_prim; in simple_draw_arrays() local 185 hw_prim = svga_translate_prim(prim, count, &hw_count, vertices_per_patch); in simple_draw_arrays() 189 range.primType = hw_prim; in simple_draw_arrays()
|
D | svga_draw_elements.c | 193 unsigned hw_prim; in svga_hwtnl_simple_draw_range_elements() local 197 hw_prim = svga_translate_prim(prim, count, &hw_count, vertices_per_patch); in svga_hwtnl_simple_draw_range_elements() 201 range.primType = hw_prim; in svga_hwtnl_simple_draw_range_elements()
|
D | svga_context.h | 497 unsigned hw_prim; member
|
/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 | 68 static const uint32_t hw_prim[GL_POLYGON + 1] = { variable 115 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()
|