draw_context Struct Reference

Private context for the drawing module. More...

Collaboration diagram for draw_context:

Collaboration graph
[legend]

Data Fields

struct {
   struct draw_stage *   first
 one of the following
   struct draw_stage *   validate
   struct draw_stage *   flatshade
   struct draw_stage *   clip
   struct draw_stage *   cull
   struct draw_stage *   twoside
   struct draw_stage *   offset
   struct draw_stage *   unfilled
   struct draw_stage *   stipple
   struct draw_stage *   aapoint
   struct draw_stage *   aaline
   struct draw_stage *   pstipple
   struct draw_stage *   wide_line
   struct draw_stage *   wide_point
   struct draw_stage *   rasterize
   float   wide_point_threshold
 convert pnts to tris if larger than this
   float   wide_line_threshold
 convert lines to tris if wider than this
   boolean   line_stipple
 do line stipple?
   boolean   point_sprite
 convert points to quads for sprites?
   char *   verts
   unsigned   vertex_stride
   unsigned   vertex_count
pipeline
struct vbuf_renderrender
struct {
   struct {
      struct draw_pt_middle_end *   fetch_emit
      struct draw_pt_middle_end *   fetch_shade_emit
      struct draw_pt_middle_end *   general
   }   middle
   struct {
      struct draw_pt_front_end *   vcache
      struct draw_pt_front_end *   varray
   }   front
   struct pipe_vertex_buffer   vertex_buffer [PIPE_MAX_ATTRIBS]
   unsigned   nr_vertex_buffers
   struct pipe_vertex_element   vertex_element [PIPE_MAX_ATTRIBS]
   unsigned   nr_vertex_elements
   struct {
      const unsigned *   edgeflag
      const void *   elts
 vertex element/index buffer (ex: glDrawElements)
      unsigned   eltSize
 bytes per index (0, 1, 2 or 4)
      unsigned   min_index
      unsigned   max_index
      const void *   vbuffer [PIPE_MAX_ATTRIBS]
 vertex arrays
      const void *   constants
 constant buffer (for vertex shader)
   }   user
   boolean   test_fse
   boolean   no_fse
pt
struct {
   boolean   bypass_clipping
   boolean   bypass_vs
driver
boolean flushing
 debugging/sanity
boolean suspend_flushing
 internally set
boolean force_passthrough
 never clip or shade
double mrd
 minimum resolvable depth value, for polygon offset
struct pipe_rasterizer_staterasterizer
struct pipe_viewport_state viewport
boolean identity_viewport
struct {
   struct draw_vertex_shader *   vertex_shader
   uint   num_vs_outputs
 convenience, from vertex_shader
   uint   position_output
   struct tgsi_exec_machine   machine
 TGSI program interpreter runtime state.
   struct gallivm_cpu_engine *   engine
   struct aos_machine *   aos_machine
   const float(*   aligned_constants )[4]
   float(*   aligned_constant_storage )[4]
   unsigned   const_storage_size
   struct translate *   fetch
   struct translate_cache *   fetch_cache
   struct translate *   emit
   struct translate_cache *   emit_cache
vs
float plane [12][4]
unsigned nr_planes
struct {
   uint   semantic_name
   uint   semantic_index
   int   slot
extra_vp_outputs
unsigned reduced_prim
void * driver_private

Detailed Description

Private context for the drawing module.

Definition at line 84 of file draw_private.h.


Field Documentation

struct draw_stage* draw_context::first [read]

one of the following

Definition at line 88 of file draw_private.h.

struct draw_stage* draw_context::validate [read]

Definition at line 90 of file draw_private.h.

struct draw_stage* draw_context::flatshade [read]

Definition at line 93 of file draw_private.h.

struct draw_stage* draw_context::clip [read]

Definition at line 94 of file draw_private.h.

struct draw_stage* draw_context::cull [read]

Definition at line 95 of file draw_private.h.

struct draw_stage* draw_context::twoside [read]

Definition at line 96 of file draw_private.h.

struct draw_stage* draw_context::offset [read]

Definition at line 97 of file draw_private.h.

struct draw_stage* draw_context::unfilled [read]

Definition at line 98 of file draw_private.h.

struct draw_stage* draw_context::stipple [read]

Definition at line 99 of file draw_private.h.

struct draw_stage* draw_context::aapoint [read]

Definition at line 100 of file draw_private.h.

struct draw_stage* draw_context::aaline [read]

Definition at line 101 of file draw_private.h.

struct draw_stage* draw_context::pstipple [read]

Definition at line 102 of file draw_private.h.

struct draw_stage* draw_context::wide_line [read]

Definition at line 103 of file draw_private.h.

struct draw_stage* draw_context::wide_point [read]

Definition at line 104 of file draw_private.h.

struct draw_stage* draw_context::rasterize [read]

Definition at line 105 of file draw_private.h.

float draw_context::wide_point_threshold

convert pnts to tris if larger than this

Definition at line 107 of file draw_private.h.

float draw_context::wide_line_threshold

convert lines to tris if wider than this

Definition at line 108 of file draw_private.h.

boolean draw_context::line_stipple

do line stipple?

Definition at line 109 of file draw_private.h.

boolean draw_context::point_sprite

convert points to quads for sprites?

Definition at line 110 of file draw_private.h.

char* draw_context::verts

Definition at line 114 of file draw_private.h.

unsigned draw_context::vertex_stride

Definition at line 115 of file draw_private.h.

unsigned draw_context::vertex_count

Definition at line 116 of file draw_private.h.

struct { ... } draw_context::pipeline

struct vbuf_render* draw_context::render [read]

Definition at line 120 of file draw_private.h.

struct draw_pt_middle_end* draw_context::fetch_emit [read]

Definition at line 126 of file draw_private.h.

struct draw_pt_middle_end* draw_context::fetch_shade_emit [read]

Definition at line 127 of file draw_private.h.

struct draw_pt_middle_end* draw_context::general [read]

Definition at line 128 of file draw_private.h.

struct { ... } draw_context::middle

struct draw_pt_front_end* draw_context::vcache [read]

Definition at line 132 of file draw_private.h.

struct draw_pt_front_end* draw_context::varray [read]

Definition at line 133 of file draw_private.h.

struct { ... } draw_context::front

struct pipe_vertex_buffer draw_context::vertex_buffer[PIPE_MAX_ATTRIBS] [read]

Definition at line 136 of file draw_private.h.

unsigned draw_context::nr_vertex_buffers

Definition at line 137 of file draw_private.h.

struct pipe_vertex_element draw_context::vertex_element[PIPE_MAX_ATTRIBS] [read]

Definition at line 139 of file draw_private.h.

unsigned draw_context::nr_vertex_elements

Definition at line 140 of file draw_private.h.

const unsigned* draw_context::edgeflag

Definition at line 144 of file draw_private.h.

const void* draw_context::elts

vertex element/index buffer (ex: glDrawElements)

Definition at line 147 of file draw_private.h.

unsigned draw_context::eltSize

bytes per index (0, 1, 2 or 4)

Definition at line 149 of file draw_private.h.

unsigned draw_context::min_index

Definition at line 150 of file draw_private.h.

unsigned draw_context::max_index

Definition at line 151 of file draw_private.h.

const void* draw_context::vbuffer[PIPE_MAX_ATTRIBS]

vertex arrays

Definition at line 154 of file draw_private.h.

const void* draw_context::constants

constant buffer (for vertex shader)

Definition at line 157 of file draw_private.h.

struct { ... } draw_context::user

boolean draw_context::test_fse

Definition at line 160 of file draw_private.h.

boolean draw_context::no_fse

Definition at line 161 of file draw_private.h.

struct { ... } draw_context::pt

boolean draw_context::bypass_clipping

set if either api or driver bypass_clipping true

Definition at line 165 of file draw_private.h.

boolean draw_context::bypass_vs

Definition at line 166 of file draw_private.h.

struct { ... } draw_context::driver

boolean draw_context::flushing

debugging/sanity

Definition at line 169 of file draw_private.h.

boolean draw_context::suspend_flushing

internally set

Definition at line 170 of file draw_private.h.

boolean draw_context::force_passthrough

never clip or shade

Definition at line 173 of file draw_private.h.

double draw_context::mrd

minimum resolvable depth value, for polygon offset

Definition at line 175 of file draw_private.h.

struct pipe_rasterizer_state* draw_context::rasterizer [read]

Definition at line 178 of file draw_private.h.

struct pipe_viewport_state draw_context::viewport [read]

Definition at line 179 of file draw_private.h.

boolean draw_context::identity_viewport

Definition at line 180 of file draw_private.h.

struct draw_vertex_shader* draw_context::vertex_shader [read]

Definition at line 183 of file draw_private.h.

uint draw_context::num_vs_outputs

convenience, from vertex_shader

Definition at line 184 of file draw_private.h.

uint draw_context::position_output

Definition at line 185 of file draw_private.h.

struct tgsi_exec_machine draw_context::machine [read]

TGSI program interpreter runtime state.

Definition at line 188 of file draw_private.h.

struct gallivm_cpu_engine* draw_context::engine [read]

Definition at line 192 of file draw_private.h.

struct aos_machine* draw_context::aos_machine [read]

Definition at line 196 of file draw_private.h.

const float(* draw_context::aligned_constants)[4]

Definition at line 199 of file draw_private.h.

float(* draw_context::aligned_constant_storage)[4]

Definition at line 201 of file draw_private.h.

unsigned draw_context::const_storage_size

Definition at line 202 of file draw_private.h.

struct translate* draw_context::fetch [read]

Definition at line 205 of file draw_private.h.

struct translate_cache* draw_context::fetch_cache [read]

Definition at line 206 of file draw_private.h.

struct translate* draw_context::emit [read]

Definition at line 207 of file draw_private.h.

struct translate_cache* draw_context::emit_cache [read]

Definition at line 208 of file draw_private.h.

struct { ... } draw_context::vs

float draw_context::plane[12][4]

Definition at line 213 of file draw_private.h.

unsigned draw_context::nr_planes

Definition at line 214 of file draw_private.h.

uint draw_context::semantic_name

Definition at line 219 of file draw_private.h.

uint draw_context::semantic_index

Definition at line 220 of file draw_private.h.

int draw_context::slot

Definition at line 221 of file draw_private.h.

struct { ... } draw_context::extra_vp_outputs

unsigned draw_context::reduced_prim

Definition at line 224 of file draw_private.h.

void* draw_context::driver_private

Definition at line 226 of file draw_private.h.


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