setup_stage Struct Reference

Triangle setup info (derived from draw_stage). More...

Collaboration diagram for setup_stage:

Collaboration graph
[legend]

Data Fields

struct vertex_headervmax
struct vertex_headervmid
struct vertex_headervmin
struct vertex_headervprovoke
struct edge ebot
struct edge etop
struct edge emaj
float oneoverarea
uint tx
uint ty
int cliprect_minx
int cliprect_maxx
int cliprect_miny
int cliprect_maxy
struct interp_coef coef [PIPE_MAX_SHADER_INPUTS]
struct {
   int   left [2]
 [0] = row0, [1] = row1
   int   right [2]
   int   y
   unsigned   y_flags
   unsigned   mask
 mask of MASK_BOTTOM/TOP_LEFT/RIGHT bits
span
struct draw_stage stage
 This must be first (base class).
struct i915_contexti915
struct setup_contextsetup

Detailed Description

Triangle setup info (derived from draw_stage).

A draw stage that drives our triangle setup routines from within the draw pipeline.

Primitive emit to hardware.

Also used for line drawing (taking some liberties).

No support for vertex buffers or any nice fast paths.

One of two ways to drive setup, the other being in sp_prim_vbuf.c.

Author:
Keith Whitwell <keith@tungstengraphics.com>

Brian Paul Triangle setup info (derived from draw_stage). Also used for line drawing (taking some liberties).

Definition at line 104 of file spu_tri.c.


Field Documentation

struct vertex_header* setup_stage::vmax [read]

Definition at line 110 of file spu_tri.c.

struct vertex_header* setup_stage::vmid [read]

Definition at line 111 of file spu_tri.c.

struct vertex_header* setup_stage::vmin [read]

Definition at line 112 of file spu_tri.c.

struct vertex_header* setup_stage::vprovoke [read]

Definition at line 113 of file spu_tri.c.

struct edge setup_stage::ebot [read]

Definition at line 115 of file spu_tri.c.

struct edge setup_stage::etop [read]

Definition at line 116 of file spu_tri.c.

struct edge setup_stage::emaj [read]

Definition at line 117 of file spu_tri.c.

float setup_stage::oneoverarea

Definition at line 119 of file spu_tri.c.

uint setup_stage::tx

Definition at line 121 of file spu_tri.c.

uint setup_stage::ty

Definition at line 121 of file spu_tri.c.

int setup_stage::cliprect_minx

Definition at line 123 of file spu_tri.c.

int setup_stage::cliprect_maxx

Definition at line 123 of file spu_tri.c.

int setup_stage::cliprect_miny

Definition at line 123 of file spu_tri.c.

int setup_stage::cliprect_maxy

Definition at line 123 of file spu_tri.c.

struct interp_coef setup_stage::coef[PIPE_MAX_SHADER_INPUTS] [read]

Definition at line 128 of file spu_tri.c.

int setup_stage::left[2]

[0] = row0, [1] = row1

Definition at line 136 of file spu_tri.c.

int setup_stage::right[2]

Definition at line 137 of file spu_tri.c.

int setup_stage::y

Definition at line 138 of file spu_tri.c.

unsigned setup_stage::y_flags

Definition at line 139 of file spu_tri.c.

unsigned setup_stage::mask

mask of MASK_BOTTOM/TOP_LEFT/RIGHT bits

Definition at line 140 of file spu_tri.c.

struct { ... } setup_stage::span

struct draw_stage setup_stage::stage [read]

This must be first (base class).

Definition at line 47 of file i915_prim_emit.c.

struct i915_context* setup_stage::i915 [read]

Definition at line 49 of file i915_prim_emit.c.

struct setup_context* setup_stage::setup [read]

Definition at line 53 of file sp_prim_setup.c.


The documentation for this struct was generated from the following files:
Generated on Tue Sep 29 06:26:05 2009 for Gallium3D by  doxygen 1.5.4