Home
last modified time | relevance | path

Searched refs:hwprim (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/i915/
Di915_prim_vbuf.c72 unsigned hwprim; member
334 i915_render->hwprim = PRIM3D_POINTLIST; in i915_vbuf_render_set_primitive()
338 i915_render->hwprim = PRIM3D_LINELIST; in i915_vbuf_render_set_primitive()
342 i915_render->hwprim = PRIM3D_LINELIST; in i915_vbuf_render_set_primitive()
346 i915_render->hwprim = PRIM3D_LINESTRIP; in i915_vbuf_render_set_primitive()
350 i915_render->hwprim = PRIM3D_TRILIST; in i915_vbuf_render_set_primitive()
354 i915_render->hwprim = PRIM3D_TRISTRIP; in i915_vbuf_render_set_primitive()
358 i915_render->hwprim = PRIM3D_TRIFAN; in i915_vbuf_render_set_primitive()
362 i915_render->hwprim = PRIM3D_TRILIST; in i915_vbuf_render_set_primitive()
366 i915_render->hwprim = PRIM3D_TRILIST; in i915_vbuf_render_set_primitive()
[all …]
Di915_prim_emit.c130 unsigned hwprim, in emit_prim() argument
164 hwprim | in emit_prim()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tcl.c170 GLuint hwprim, in radeonEmitPrim() argument
175 radeonTclPrimitive( ctx, prim, hwprim ); in radeonEmitPrim()
189 #define EMIT_PRIM( ctx, prim, hwprim, start, count ) do { \ argument
190 radeonEmitPrim( ctx, prim, hwprim, start, count ); \
Dradeon_swtcl.c481 static void radeonRasterPrimitive( struct gl_context *ctx, GLuint hwprim );
736 static void radeonRasterPrimitive( struct gl_context *ctx, GLuint hwprim ) in radeonRasterPrimitive() argument
740 if (rmesa->radeon.swtcl.hw_primitive != hwprim) { in radeonRasterPrimitive()
742 rmesa->radeon.swtcl.hw_primitive = hwprim; in radeonRasterPrimitive()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tcl.c179 GLuint hwprim, in r200EmitPrim() argument
184 r200TclPrimitive( ctx, prim, hwprim ); in r200EmitPrim()
199 #define EMIT_PRIM(ctx, prim, hwprim, start, count) do { \ argument
200 r200EmitPrim( ctx, prim, hwprim, start, count ); \
Dr200_swtcl.c339 static void r200RasterPrimitive( struct gl_context *ctx, GLuint hwprim );
614 static void r200RasterPrimitive( struct gl_context *ctx, GLuint hwprim ) in r200RasterPrimitive() argument
623 if (rmesa->radeon.swtcl.hw_primitive != hwprim) { in r200RasterPrimitive()
625 if ((hwprim & 0xf) == R200_VF_PRIM_POINT_SPRITES && ctx->Point.PointSprite) { in r200RasterPrimitive()
636 rmesa->radeon.swtcl.hw_primitive = hwprim; in r200RasterPrimitive()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c65 unsigned hwprim = prim_conv[prim]; in r300_translate_primitive() local
67 assert(hwprim != -1); in r300_translate_primitive()
68 return hwprim; in r300_translate_primitive()
877 unsigned hwprim; member
973 r300render->hwprim = r300_translate_primitive(prim); in r300_render_set_primitive()
1006 r300render->hwprim); in r300_render_draw_arrays()
1045 r300render->hwprim); in r300_render_draw_elements()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tris.c62 GLuint hwprim);
1121 intelRasterPrimitive(struct gl_context * ctx, GLenum rprim, GLuint hwprim) in intelRasterPrimitive() argument
1127 _mesa_enum_to_string(rprim), hwprim); in intelRasterPrimitive()
1133 if (hwprim != intel->prim.primitive) { in intelRasterPrimitive()
1136 intel_set_prim(intel, hwprim); in intelRasterPrimitive()