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

s_triangle.c File Reference
#include "main/glheader.h"
#include "main/context.h"
#include "main/colormac.h"
#include "main/imports.h"
#include "main/macros.h"
#include "main/texformat.h"
#include "s_aatriangle.h"
#include "s_context.h"
#include "s_feedback.h"
#include "s_span.h"
#include "s_triangle.h"
#include "s_tritemp.h"

Go to the source code of this file.

Defines

#define NAME   ci_triangle
#define INTERP_Z   1
#define INTERP_ATTRIBS   1 /* just for fog */
#define INTERP_INDEX   1
#define RENDER_SPAN(span)   _swrast_write_index_span(ctx, &span);
#define NAME   flat_rgba_triangle
#define INTERP_Z   1
#define SETUP_CODE
#define RENDER_SPAN(span)   _swrast_write_rgba_span(ctx, &span);
#define NAME   smooth_rgba_triangle
#define INTERP_Z   1
#define INTERP_RGB   1
#define INTERP_ALPHA   1
#define SETUP_CODE
#define RENDER_SPAN(span)   _swrast_write_rgba_span(ctx, &span);
#define NAME   simple_textured_triangle
#define INTERP_INT_TEX   1
#define S_SCALE   twidth
#define T_SCALE   theight
#define SETUP_CODE
#define RENDER_SPAN(span)
#define NAME   simple_z_textured_triangle
#define INTERP_Z   1
#define DEPTH_TYPE   DEFAULT_SOFTWARE_DEPTH_TYPE
#define INTERP_INT_TEX   1
#define S_SCALE   twidth
#define T_SCALE   theight
#define SETUP_CODE
#define RENDER_SPAN(span)
#define NAME   general_triangle
#define INTERP_Z   1
#define INTERP_RGB   1
#define INTERP_ALPHA   1
#define INTERP_ATTRIBS   1
#define RENDER_SPAN(span)   _swrast_write_rgba_span(ctx, &span);
#define NAME   occlusion_zless_triangle
#define INTERP_Z   1
#define SETUP_CODE
#define RENDER_SPAN(span)
#define USE(triFunc)   swrast->Triangle = triFunc;

Functions

GLboolean _swrast_culltriangle (GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2)
static void nodraw_triangle (GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2)
void _swrast_add_spec_terms_triangle (GLcontext *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2)
void _swrast_choose_triangle (GLcontext *ctx)

Generated on Sat May 26 2012 04:58:30 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.