Home
last modified time | relevance | path

Searched refs:hw_prim (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw.c92 uint32_t hw_prim = prim_to_hw_prim[prim->mode]; in brw_set_prim() local
102 hw_prim = _3DPRIM_TRISTRIP; in brw_set_prim()
108 hw_prim = _3DPRIM_TRIFAN; in brw_set_prim()
111 if (hw_prim != brw->primitive) { in brw_set_prim()
112 brw->primitive = hw_prim; in brw_set_prim()
125 uint32_t hw_prim; in gen6_set_prim() local
129 hw_prim = prim_to_hw_prim[prim->mode]; in gen6_set_prim()
131 if (hw_prim != brw->primitive) { in gen6_set_prim()
132 brw->primitive = hw_prim; in gen6_set_prim()
151 uint32_t hw_prim) in brw_emit_prim() argument
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c112 unsigned hw_prim; in svga_hwtnl_simple_draw_range_elements() local
117 hw_prim = svga_translate_prim(prim, count, &hw_count); in svga_hwtnl_simple_draw_range_elements()
143 range.primType = hw_prim; in svga_hwtnl_simple_draw_range_elements()
Dsvga_draw_arrays.c192 unsigned hw_prim; in simple_draw_arrays() local
195 hw_prim = svga_translate_prim(prim, count, &hw_count); in simple_draw_arrays()
199 range.primType = hw_prim; in simple_draw_arrays()
Dsvga_context.h335 unsigned hw_prim; member
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tcl.c111 #define ELT_INIT(prim, hw_prim) \ argument
112 radeonTclPrimitive( ctx, prim, hw_prim | RADEON_CP_VC_CNTL_PRIM_WALK_IND )
249 int hw_prim ) in radeonTclPrimitive() argument
253 GLuint newprim = hw_prim | RADEON_CP_VC_CNTL_TCL_ENABLE; in radeonTclPrimitive()
260 !discrete_prim[hw_prim&0xf]) { in radeonTclPrimitive()
Dradeon_tcl.h41 extern void radeonTclPrimitive( struct gl_context *ctx, GLenum prim, int hw_prim );
Dradeon_swtcl.c358 static const GLuint hw_prim[GL_POLYGON+1] = { variable
375 rmesa->radeon.swtcl.hw_primitive = hw_prim[prim]; in radeonDmaPrimitive()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_inlines.h214 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/
Dr200_tcl.c108 #define ELT_INIT(prim, hw_prim) \ argument
109 r200TclPrimitive( ctx, prim, hw_prim | R200_VF_PRIM_WALK_IND )
260 int hw_prim ) in r200TclPrimitive() argument
263 GLuint newprim = hw_prim | R200_VF_TCL_OUTPUT_VTX_ENABLE; in r200TclPrimitive()
270 !discrete_prim[hw_prim&0xf]) { in r200TclPrimitive()
Dr200_tcl.h40 extern void r200TclPrimitive( struct gl_context *ctx, GLenum prim, int hw_prim );
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_render.c72 static uint32_t hw_prim[GL_POLYGON + 1] = { variable
119 intel_set_prim(intel, hw_prim[prim]); in intelDmaPrimitive()
Dintel_tris.c675 static const GLuint hw_prim[GL_POLYGON + 1] = { variable
688 #define RASTERIZE(x) intelRasterPrimitive( ctx, x, hw_prim[x] )
1166 intelRasterPrimitive(ctx, reduced_prim[prim], hw_prim[prim]); in intelRenderPrimitive()