setup_context Struct Reference

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

Collaboration diagram for setup_context:

Collaboration graph
[legend]

Data Fields

struct softpipe_contextsoftpipe
const float(* vmax )[4]
const float(* vmid )[4]
const float(* vmin )[4]
const float(* vprovoke )[4]
struct edge ebot
struct edge etop
struct edge emaj
float oneoverarea
struct tgsi_interp_coef coef [PIPE_MAX_SHADER_INPUTS]
struct tgsi_interp_coef posCoef
struct quad_header quad
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
unsigned winding

Detailed Description

Triangle setup info (derived from draw_stage).

Also used for line drawing (taking some liberties).

Definition at line 150 of file sp_setup.c.


Field Documentation

struct softpipe_context* setup_context::softpipe [read]

Definition at line 151 of file sp_setup.c.

const float(* setup_context::vmax)[4]

Definition at line 157 of file sp_setup.c.

const float(* setup_context::vmid)[4]

Definition at line 158 of file sp_setup.c.

const float(* setup_context::vmin)[4]

Definition at line 159 of file sp_setup.c.

const float(* setup_context::vprovoke)[4]

Definition at line 160 of file sp_setup.c.

struct edge setup_context::ebot [read]

Definition at line 162 of file sp_setup.c.

struct edge setup_context::etop [read]

Definition at line 163 of file sp_setup.c.

struct edge setup_context::emaj [read]

Definition at line 164 of file sp_setup.c.

float setup_context::oneoverarea

Definition at line 166 of file sp_setup.c.

struct tgsi_interp_coef setup_context::coef[PIPE_MAX_SHADER_INPUTS] [read]

Definition at line 168 of file sp_setup.c.

struct tgsi_interp_coef setup_context::posCoef [read]

Definition at line 169 of file sp_setup.c.

struct quad_header setup_context::quad [read]

Definition at line 170 of file sp_setup.c.

int setup_context::left[2]

[0] = row0, [1] = row1

Definition at line 178 of file sp_setup.c.

int setup_context::right[2]

Definition at line 179 of file sp_setup.c.

int setup_context::y

Definition at line 180 of file sp_setup.c.

unsigned setup_context::y_flags

Definition at line 181 of file sp_setup.c.

unsigned setup_context::mask

mask of MASK_BOTTOM/TOP_LEFT/RIGHT bits

Definition at line 182 of file sp_setup.c.

struct { ... } setup_context::span

unsigned setup_context::winding

Definition at line 190 of file sp_setup.c.


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