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.c85 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/
Dradeon_tcl.c112 #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()
Dradeon_tcl.h41 extern void radeonTclPrimitive( struct gl_context *ctx, GLenum prim, int hw_prim );
Dradeon_swtcl.c359 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/
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/gallium/drivers/svga/
Dsvga_draw_arrays.c182 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()
Dsvga_draw_elements.c193 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()
Dsvga_context.h497 unsigned hw_prim; member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tcl.c107 #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()
Dr200_tcl.h40 extern void r200TclPrimitive( struct gl_context *ctx, GLenum prim, int hw_prim );
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_render.c68 static const uint32_t hw_prim[GL_POLYGON + 1] = { variable
115 intel_set_prim(intel, hw_prim[prim]); in intelDmaPrimitive()
Dintel_tris.c669 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()