ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

SWspan Struct Reference

#include <s_span.h>

Data Fields

GLint x
GLint y
GLuint end
GLboolean writeAll
GLenum primitive
GLuint facing
GLbitfield interpMask
GLfloat attrStart [FRAG_ATTRIB_MAX][4]
GLfloat attrStepX [FRAG_ATTRIB_MAX][4]
GLfloat attrStepY [FRAG_ATTRIB_MAX][4]
GLfixed red
GLfixed redStep
GLfixed green
GLfixed greenStep
GLfixed blue
GLfixed blueStep
GLfixed alpha
GLfixed alphaStep
GLfixed index
GLfixed indexStep
GLfixed z
GLfixed zStep
GLfixed intTex [2]
GLfixed intTexStep [2]
GLbitfield arrayMask
GLbitfield arrayAttribs
SWspanarraysarray

Detailed Description

The SWspan structure describes the colors, Z, fogcoord, texcoords, etc for either a horizontal run or an array of independent pixels. We can either specify a base/step to indicate interpolated values, or fill in explicit arrays of values. The interpMask and arrayMask bitfields indicate which attributes are active interpolants or arrays, respectively.

It would be interesting to experiment with multiprocessor rasterization with this structure. The triangle rasterizer could simply emit a stream of these structures which would be consumed by one or more span-processing threads which could run in parallel.

Definition at line 101 of file s_span.h.


The documentation for this struct was generated from the following file:
  • dll/3rdparty/mesa32/src/swrast/s_span.h

Generated on Sat May 26 2012 06:44:08 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.