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.c83 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/
Dradeon_tcl.c113 #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()
Dradeon_tcl.h41 extern void radeonTclPrimitive( struct gl_context *ctx, GLenum prim, int hw_prim );
Dradeon_swtcl.c360 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/
Dsvga_draw_elements.c160 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()
Dsvga_draw_arrays.c181 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()
Dsvga_context.h464 unsigned hw_prim; member
/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.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.c69 static const uint32_t hw_prim[GL_POLYGON + 1] = { variable
116 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()