st_context Struct Reference

Collaboration diagram for st_context:

Collaboration graph

Data Fields

struct st_devicest_dev
struct pipe_contextreal_pipe
struct pipe_contextpipe
struct cso_contextcso
void * vs
void * fs
struct pipe_texturedefault_texture
struct pipe_texturesampler_textures [PIPE_MAX_SAMPLERS]
unsigned num_vertex_buffers
struct pipe_vertex_buffer vertex_buffers [PIPE_MAX_ATTRIBS]
unsigned num_vertex_elements
struct pipe_vertex_element vertex_elements [PIPE_MAX_ATTRIBS]
GLcontext * ctx
struct pipe_contextpipe
struct draw_contextdraw
 For selection/feedback/rastpos only.
struct draw_stagefeedback_stage
 For GL_FEEDBACK rendermode.
struct draw_stageselection_stage
 For GL_SELECT rendermode.
struct draw_stagerastpos_stage
 For glRasterPos.
struct {
   struct pipe_blend_state   blend
pipe_depth_stencil_alpha_state   depth_stencil
   struct pipe_rasterizer_state   rasterizer
   struct pipe_sampler_state   samplers [PIPE_MAX_SAMPLERS]
   struct pipe_sampler_state *   sampler_list [PIPE_MAX_SAMPLERS]
   struct pipe_clip_state   clip
   struct pipe_constant_buffer   constants [2]
   struct pipe_framebuffer_state   framebuffer
   struct pipe_texture *   sampler_texture [PIPE_MAX_SAMPLERS]
   struct pipe_poly_stipple   poly_stipple
   struct pipe_scissor_state   scissor
   struct pipe_viewport_state   viewport
   GLuint   num_samplers
   GLuint   num_textures
struct {
   struct st_tracked_state   tracked_state [PIPE_SHADER_TYPES]
struct {
   struct gl_fragment_program *   fragment_program
GLuint frontbuffer_status
char vendor [100]
char renderer [100]
struct st_tracked_state ** atoms
GLuint nr_atoms
struct st_state_flags dirty
GLboolean missing_textures
GLfloat polygon_offset_scale
const GLuint * vertex_result_to_slot
 Mapping from VERT_RESULT_x to post-transformed vertex slot.
struct st_vertex_programvp
 Currently bound vertex program.
struct st_fragment_programfp
 Currently bound fragment program.
struct gl_texture_object * default_texture
struct {
   struct gl_program_cache *   cache
   struct st_fragment_program *   program
 cur pixel transfer prog
   GLuint   xfer_prog_sn
 pixel xfer program serial no.
   GLuint   user_prog_sn
 user fragment program serial no.
   struct st_fragment_program *   combined_prog
   GLuint   combined_prog_sn
   struct pipe_texture *   pixelmap_texture
   boolean   pixelmap_enabled
 use the pixelmap texture?
struct {
   struct pipe_rasterizer_state   rasterizer
   struct pipe_sampler_state   sampler
   struct pipe_shader_state   vert_shader
   enum pipe_format   tex_format
   void *   vs
   float   vertices [4][3][4]
 vertex pos + color + texcoord
   struct pipe_buffer *   vbuf
   unsigned   vbuf_slot
   struct bitmap_cache *   cache
struct {
   struct st_fragment_program *   z_shader
   struct st_vertex_program *   vert_shaders [2]
struct {
   struct pipe_shader_state   vert_shader
   struct pipe_shader_state   frag_shader
   struct pipe_rasterizer_state   raster
   struct pipe_viewport_state   viewport
   void *   vs
   void *   fs
   float   vertices [4][2][4]
 vertex pos + color
   struct pipe_buffer *   vbuf
   unsigned   vbuf_slot
void * passthrough_fs
 simple pass-through frag shader
struct gen_mipmap_stategen_mipmap
struct blit_stateblit
struct cso_contextcso_context
int force_msaa

Detailed Description

Definition at line 48 of file st_device.h.

Field Documentation

struct st_device* st_context::st_dev [read]

Definition at line 49 of file st_device.h.

struct pipe_context* st_context::real_pipe [read]

Definition at line 51 of file st_device.h.

struct pipe_context* st_context::pipe [read]

Definition at line 52 of file st_device.h.

struct cso_context* st_context::cso [read]

Definition at line 54 of file st_device.h.

void* st_context::vs

Definition at line 56 of file st_device.h.

void* st_context::fs

Definition at line 57 of file st_device.h.

struct pipe_texture* st_context::default_texture [read]

Definition at line 59 of file st_device.h.

struct pipe_texture* st_context::sampler_textures[PIPE_MAX_SAMPLERS] [read]

Definition at line 60 of file st_device.h.

unsigned st_context::num_vertex_buffers

Definition at line 62 of file st_device.h.

struct pipe_vertex_buffer st_context::vertex_buffers[PIPE_MAX_ATTRIBS] [read]

Definition at line 63 of file st_device.h.

unsigned st_context::num_vertex_elements

Definition at line 65 of file st_device.h.

struct pipe_vertex_element st_context::vertex_elements[PIPE_MAX_ATTRIBS] [read]

Definition at line 66 of file st_device.h.

GLcontext* st_context::ctx

Definition at line 74 of file st_context.h.

struct pipe_context* st_context::pipe [read]

Definition at line 76 of file st_context.h.

struct draw_context* st_context::draw [read]

For selection/feedback/rastpos only.

Definition at line 78 of file st_context.h.

struct draw_stage* st_context::feedback_stage [read]

For GL_FEEDBACK rendermode.

Definition at line 79 of file st_context.h.

struct draw_stage* st_context::selection_stage [read]

For GL_SELECT rendermode.

Definition at line 80 of file st_context.h.

struct draw_stage* st_context::rastpos_stage [read]

For glRasterPos.

Definition at line 81 of file st_context.h.

struct pipe_blend_state st_context::blend [read]

Definition at line 87 of file st_context.h.

struct pipe_depth_stencil_alpha_state st_context::depth_stencil [read]

Definition at line 88 of file st_context.h.

struct pipe_rasterizer_state st_context::rasterizer [read]

Definition at line 89 of file st_context.h.

struct pipe_sampler_state st_context::samplers[PIPE_MAX_SAMPLERS] [read]

Definition at line 90 of file st_context.h.

struct pipe_sampler_state* st_context::sampler_list[PIPE_MAX_SAMPLERS] [read]

Definition at line 91 of file st_context.h.

struct pipe_clip_state st_context::clip [read]

Definition at line 92 of file st_context.h.

struct pipe_constant_buffer st_context::constants[2] [read]

Definition at line 93 of file st_context.h.

struct pipe_framebuffer_state st_context::framebuffer [read]

Definition at line 94 of file st_context.h.

struct pipe_texture* st_context::sampler_texture[PIPE_MAX_SAMPLERS] [read]

Definition at line 95 of file st_context.h.

struct pipe_poly_stipple st_context::poly_stipple [read]

Definition at line 96 of file st_context.h.

struct pipe_scissor_state st_context::scissor [read]

Definition at line 97 of file st_context.h.

struct pipe_viewport_state st_context::viewport [read]

Definition at line 98 of file st_context.h.

GLuint st_context::num_samplers

Definition at line 100 of file st_context.h.

GLuint st_context::num_textures

Definition at line 101 of file st_context.h.

struct { ... } st_context::state

struct st_tracked_state st_context::tracked_state[PIPE_SHADER_TYPES] [read]

Definition at line 105 of file st_context.h.

struct { ... } st_context::constants

struct gl_fragment_program* st_context::fragment_program [read]

Definition at line 110 of file st_context.h.

struct { ... } st_context::cb

GLuint st_context::frontbuffer_status


Definition at line 113 of file st_context.h.

char st_context::vendor[100]

Definition at line 115 of file st_context.h.

char st_context::renderer[100]

Definition at line 116 of file st_context.h.

struct st_tracked_state** st_context::atoms [read]

Definition at line 120 of file st_context.h.

GLuint st_context::nr_atoms

Definition at line 121 of file st_context.h.

struct st_state_flags st_context::dirty [read]

Definition at line 123 of file st_context.h.

GLboolean st_context::missing_textures

Definition at line 125 of file st_context.h.

GLfloat st_context::polygon_offset_scale

Definition at line 127 of file st_context.h.

const GLuint* st_context::vertex_result_to_slot

Mapping from VERT_RESULT_x to post-transformed vertex slot.

Definition at line 130 of file st_context.h.

struct st_vertex_program* st_context::vp [read]

Currently bound vertex program.

Definition at line 132 of file st_context.h.

struct st_fragment_program* st_context::fp [read]

Currently bound fragment program.

Definition at line 133 of file st_context.h.

struct gl_texture_object* st_context::default_texture [read]

Definition at line 135 of file st_context.h.

struct gl_program_cache* st_context::cache [read]

Definition at line 138 of file st_context.h.

struct st_fragment_program* st_context::program [read]

cur pixel transfer prog

Definition at line 139 of file st_context.h.

GLuint st_context::xfer_prog_sn

pixel xfer program serial no.

Definition at line 140 of file st_context.h.

GLuint st_context::user_prog_sn

user fragment program serial no.

Definition at line 141 of file st_context.h.

struct st_fragment_program* st_context::combined_prog [read]

Definition at line 142 of file st_context.h.

GLuint st_context::combined_prog_sn

Definition at line 143 of file st_context.h.

struct pipe_texture* st_context::pixelmap_texture [read]

Definition at line 144 of file st_context.h.

boolean st_context::pixelmap_enabled

use the pixelmap texture?

Definition at line 145 of file st_context.h.

struct { ... } st_context::pixel_xfer

struct pipe_sampler_state st_context::sampler [read]

Definition at line 151 of file st_context.h.

struct pipe_shader_state st_context::vert_shader [read]

Definition at line 152 of file st_context.h.

enum pipe_format st_context::tex_format

Definition at line 153 of file st_context.h.

void* st_context::vs

Definition at line 154 of file st_context.h.

float st_context::vertices[4][2][4]

vertex pos + color + texcoord

vertex pos + color

Definition at line 155 of file st_context.h.

struct pipe_buffer* st_context::vbuf [read]

Definition at line 156 of file st_context.h.

unsigned st_context::vbuf_slot

Definition at line 157 of file st_context.h.

struct bitmap_cache* st_context::cache [read]

Definition at line 158 of file st_context.h.

struct { ... } st_context::bitmap

struct st_fragment_program* st_context::z_shader [read]

Definition at line 163 of file st_context.h.

struct st_vertex_program* st_context::vert_shaders[2] [read]

Definition at line 164 of file st_context.h.

struct { ... } st_context::drawpix

struct pipe_shader_state st_context::frag_shader [read]

Definition at line 170 of file st_context.h.

struct pipe_rasterizer_state st_context::raster [read]

Definition at line 171 of file st_context.h.

void* st_context::vs

Definition at line 173 of file st_context.h.

void* st_context::fs

Definition at line 174 of file st_context.h.

struct pipe_buffer* st_context::vbuf [read]

Definition at line 176 of file st_context.h.

struct { ... } st_context::clear

void* st_context::passthrough_fs

simple pass-through frag shader

Definition at line 180 of file st_context.h.

struct gen_mipmap_state* st_context::gen_mipmap [read]

Definition at line 182 of file st_context.h.

struct blit_state* st_context::blit [read]

Definition at line 183 of file st_context.h.

struct cso_context* st_context::cso_context [read]

Definition at line 185 of file st_context.h.

int st_context::force_msaa

Definition at line 187 of file st_context.h.

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