Defines |
| #define | ELTS_VARS(buf) |
| #define | ALLOC_ELTS(nr) 0 |
| #define | EMIT_ELT(offset, elt) |
| #define | EMIT_TWO_ELTS(offset, elt0, elt1) |
| #define | INCR_ELTS(nr) |
| #define | ELT_INIT(prim) |
| #define | GET_CURRENT_VB_MAX_ELTS() 0 |
| #define | GET_SUBSEQUENT_VB_MAX_ELTS() 0 |
| #define | RELEASE_ELT_VERTS() |
| #define | EMIT_INDEXED_VERTS(ctx, start, count) |
Functions |
| static __inline void *TAG() | emit_verts (GLcontext *ctx, GLuint start, GLuint count, void *buf) |
| static void TAG() | render_points_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags) |
| static void TAG() | render_lines_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags) |
| static void TAG() | render_line_strip_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags) |
| static void TAG() | render_line_loop_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags) |
| static void TAG() | render_triangles_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags) |
| static void TAG() | render_tri_strip_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags) |
| static void TAG() | render_tri_fan_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags) |
| static void TAG() | render_poly_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags) |
| static void TAG() | render_quad_strip_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags) |
| static void TAG() | render_quads_verts (GLcontext *ctx, GLuint start, GLuint count, GLuint flags) |
| static void TAG() | render_noop (GLcontext *ctx, GLuint start, GLuint count, GLuint flags) |
| static tnl_render_func | TAG (render_tab_verts)[GL_POLYGON+2] |
| static GLboolean TAG() | validate_render (GLcontext *ctx, struct vertex_buffer *VB) |
Template for render stages which build and emit vertices directly to fixed-size dma buffers. Useful for rendering strips and other native primitives where clipping and per-vertex tweaks such as those in t_dd_tritmp.h are not required.
Produces code for both inline triangles and indexed triangles. Where various primitive types are unaccelerated by hardware, the code attempts to fallback to other primitive types (quadstrips to tristrips, lineloops to linestrips), or to indexed vertices.
Definition in file t_dd_dmatmp.h.