cell_context Struct Reference

Per-context state, subclass of pipe_context. More...

Collaboration diagram for cell_context:

Collaboration graph

Data Fields

struct pipe_context pipe
struct cell_winsyswinsys
struct cell_blend_stateblend
struct pipe_sampler_statesampler [PIPE_MAX_SAMPLERS]
uint num_samplers
struct pipe_rasterizer_staterasterizer
struct cell_vertex_shader_statevs
struct cell_fragment_shader_statefs
struct spe_function logic_op
struct pipe_blend_color blend_color
struct pipe_clip_state clip
struct pipe_constant_buffer constants [2]
struct pipe_framebuffer_state framebuffer
struct pipe_poly_stipple poly_stipple
struct pipe_scissor_state scissor
struct cell_texturetexture [PIPE_MAX_SAMPLERS]
uint num_textures
struct pipe_viewport_state viewport
struct pipe_vertex_buffer vertex_buffer [PIPE_MAX_ATTRIBS]
uint num_vertex_buffers
struct pipe_vertex_element vertex_element [PIPE_MAX_ATTRIBS]
uint num_vertex_elements
ubytecbuf_map [PIPE_MAX_COLOR_BUFS]
struct pipe_surfacetex_surf
uint dirty
struct draw_contextdraw
 The primitive drawing context.
struct draw_stagerender_stage
struct cell_vbuf_rendervbuf_render
 For post-transformed vertex buffering:.
struct draw_stagevbuf
struct vertex_info vertex_info
void * mapped_constants [PIPE_SHADER_TYPES]
 Mapped constant buffers.
uint num_spus
uint buffer_size [CELL_NUM_BUFFERS]
 Buffers for command batches, vertex/index data.
int cur_batch
 which buffer is being filled w/ commands
 [4] to ensure 16-byte alignment for each status word
struct spe_function attrib_fetch
unsigned attrib_fetch_offsets [PIPE_MAX_ATTRIBS]
unsigned debug_flags

Detailed Description

Per-context state, subclass of pipe_context.

Definition at line 101 of file cell_context.h.

Field Documentation

struct pipe_context cell_context::pipe [read]

Definition at line 103 of file cell_context.h.

struct cell_winsys* cell_context::winsys [read]

Definition at line 105 of file cell_context.h.

struct cell_blend_state* cell_context::blend [read]

Definition at line 107 of file cell_context.h.

struct pipe_sampler_state* cell_context::sampler[PIPE_MAX_SAMPLERS] [read]

Definition at line 108 of file cell_context.h.

uint cell_context::num_samplers

Definition at line 109 of file cell_context.h.

struct cell_depth_stencil_alpha_state* cell_context::depth_stencil [read]

Definition at line 110 of file cell_context.h.

struct pipe_rasterizer_state* cell_context::rasterizer [read]

Definition at line 111 of file cell_context.h.

struct cell_vertex_shader_state* cell_context::vs [read]

Definition at line 112 of file cell_context.h.

struct cell_fragment_shader_state* cell_context::fs [read]

Definition at line 113 of file cell_context.h.

struct spe_function cell_context::logic_op [read]

Definition at line 115 of file cell_context.h.

struct pipe_blend_color cell_context::blend_color [read]

Definition at line 117 of file cell_context.h.

struct pipe_clip_state cell_context::clip [read]

Definition at line 118 of file cell_context.h.

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

Definition at line 119 of file cell_context.h.

struct pipe_framebuffer_state cell_context::framebuffer [read]

Definition at line 120 of file cell_context.h.

struct pipe_poly_stipple cell_context::poly_stipple [read]

Definition at line 121 of file cell_context.h.

struct pipe_scissor_state cell_context::scissor [read]

Definition at line 122 of file cell_context.h.

struct cell_texture* cell_context::texture[PIPE_MAX_SAMPLERS] [read]

Definition at line 123 of file cell_context.h.

uint cell_context::num_textures

Definition at line 124 of file cell_context.h.

struct pipe_viewport_state cell_context::viewport [read]

Definition at line 125 of file cell_context.h.

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

Definition at line 126 of file cell_context.h.

uint cell_context::num_vertex_buffers

Definition at line 127 of file cell_context.h.

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

Definition at line 128 of file cell_context.h.

uint cell_context::num_vertex_elements

Definition at line 129 of file cell_context.h.

ubyte* cell_context::cbuf_map[PIPE_MAX_COLOR_BUFS]

Definition at line 131 of file cell_context.h.

ubyte* cell_context::zsbuf_map

Definition at line 132 of file cell_context.h.

struct pipe_surface* cell_context::tex_surf [read]

Definition at line 134 of file cell_context.h.

uint* cell_context::tex_map

Definition at line 135 of file cell_context.h.

uint cell_context::dirty

Definition at line 137 of file cell_context.h.

struct draw_context* cell_context::draw [read]

The primitive drawing context.

Definition at line 140 of file cell_context.h.

struct draw_stage* cell_context::render_stage [read]

Definition at line 141 of file cell_context.h.

struct cell_vbuf_render* cell_context::vbuf_render [read]

For post-transformed vertex buffering:.

Definition at line 144 of file cell_context.h.

struct draw_stage* cell_context::vbuf [read]

Definition at line 145 of file cell_context.h.

struct vertex_info cell_context::vertex_info [read]

Definition at line 147 of file cell_context.h.

void* cell_context::mapped_constants[PIPE_SHADER_TYPES]

Mapped constant buffers.

Definition at line 150 of file cell_context.h.

uint cell_context::num_spus

Definition at line 153 of file cell_context.h.

uint cell_context::buffer_size[CELL_NUM_BUFFERS]

Buffers for command batches, vertex/index data.

Definition at line 156 of file cell_context.h.

ubyte buffer [CELL_NUM_BUFFERS][CELL_BUFFER_SIZE] cell_context::ALIGN16_ATTRIB

Definition at line 157 of file cell_context.h.

int cell_context::cur_batch

which buffer is being filled w/ commands

Definition at line 159 of file cell_context.h.

uint buffer_status [CELL_MAX_SPUS][CELL_NUM_BUFFERS][4] cell_context::ALIGN16_ATTRIB

[4] to ensure 16-byte alignment for each status word

Definition at line 162 of file cell_context.h.

struct spe_function cell_context::attrib_fetch [read]

Definition at line 165 of file cell_context.h.

unsigned cell_context::attrib_fetch_offsets[PIPE_MAX_ATTRIBS]

Definition at line 166 of file cell_context.h.

unsigned cell_context::debug_flags

Definition at line 168 of file cell_context.h.

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