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.c169 GLuint hwprim, in radeonEmitPrim() argument
174 radeonTclPrimitive( ctx, prim, hwprim ); in radeonEmitPrim()
188 #define EMIT_PRIM( ctx, prim, hwprim, start, count ) do { \ argument
189 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/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()
867 unsigned hwprim; member
962 r300render->hwprim = r300_translate_primitive(prim); in r300_render_set_primitive()
995 r300render->hwprim); in r300_render_draw_arrays()
1034 r300render->hwprim); in r300_render_draw_elements()
/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.c338 static void r200RasterPrimitive( struct gl_context *ctx, GLuint hwprim );
613 static void r200RasterPrimitive( struct gl_context *ctx, GLuint hwprim ) in r200RasterPrimitive() argument
622 if (rmesa->radeon.swtcl.hw_primitive != hwprim) { in r200RasterPrimitive()
624 if ((hwprim & 0xf) == R200_VF_PRIM_POINT_SPRITES && ctx->Point.PointSprite) { in r200RasterPrimitive()
635 rmesa->radeon.swtcl.hw_primitive = hwprim; in r200RasterPrimitive()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tris.c61 GLuint hwprim);
1120 intelRasterPrimitive(struct gl_context * ctx, GLenum rprim, GLuint hwprim) in intelRasterPrimitive() argument
1126 _mesa_enum_to_string(rprim), hwprim); in intelRasterPrimitive()
1132 if (hwprim != intel->prim.primitive) { in intelRasterPrimitive()
1135 intel_set_prim(intel, hwprim); in intelRasterPrimitive()