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

t_vb_render.c File Reference
#include "main/glheader.h"
#include "main/context.h"
#include "main/enums.h"
#include "main/macros.h"
#include "main/imports.h"
#include "main/mtypes.h"
#include "t_pipeline.h"
#include "t_vb_cliptmp.h"
#include "t_vb_rendertmp.h"

Go to the source code of this file.

Defines

#define W(i)   coord[i][3]
#define Z(i)   coord[i][2]
#define Y(i)   coord[i][1]
#define X(i)   coord[i][0]
#define SIZE   4
#define TAG(x)   x##_4
#define NEED_EDGEFLAG_SETUP   (ctx->Polygon.FrontMode != GL_FILL || ctx->Polygon.BackMode != GL_FILL)
#define EDGEFLAG_GET(idx)   VB->EdgeFlag[idx]
#define EDGEFLAG_SET(idx, val)   VB->EdgeFlag[idx] = val
#define CLIPMASK   (CLIP_FRUSTUM_BITS | CLIP_CULL_BIT)
#define RENDER_POINTS(start, count)   tnl->Driver.Render.Points( ctx, start, count )
#define RENDER_LINE(v1, v2)
#define RENDER_TRI(v1, v2, v3)
#define RENDER_QUAD(v1, v2, v3, v4)
#define LOCAL_VARS
#define TAG(x)   clip_##x##_verts
#define INIT(x)   tnl->Driver.Render.PrimitiveNotify( ctx, x )
#define RESET_STIPPLE   if (stipple) tnl->Driver.Render.ResetLineStipple( ctx )
#define PRESERVE_VB_DEFS
#define ELT(x)   elt[x]
#define TAG(x)   clip_##x##_elts
#define NEED_EDGEFLAG_SETUP   (ctx->Polygon.FrontMode != GL_FILL || ctx->Polygon.BackMode != GL_FILL)
#define EDGEFLAG_GET(idx)   VB->EdgeFlag[idx]
#define EDGEFLAG_SET(idx, val)   VB->EdgeFlag[idx] = val
#define RENDER_POINTS(start, count)   tnl->Driver.Render.Points( ctx, start, count )
#define RENDER_LINE(v1, v2)   LineFunc( ctx, v1, v2 )
#define RENDER_TRI(v1, v2, v3)   TriangleFunc( ctx, v1, v2, v3 )
#define RENDER_QUAD(v1, v2, v3, v4)   QuadFunc( ctx, v1, v2, v3, v4 )
#define TAG(x)   _tnl_##x##_verts
#define LOCAL_VARS
#define RESET_STIPPLE   if (stipple) tnl->Driver.Render.ResetLineStipple( ctx )
#define INIT(x)   tnl->Driver.Render.PrimitiveNotify( ctx, x )
#define RENDER_TAB_QUALIFIER
#define PRESERVE_VB_DEFS
#define TAG(x)   _tnl_##x##_elts
#define ELT(x)   elt[x]

Functions

static void clip_elt_triangles (GLcontext *ctx, GLuint start, GLuint count, GLuint flags)
void _tnl_RenderClippedPolygon (GLcontext *ctx, const GLuint *elts, GLuint n)
void _tnl_RenderClippedLine (GLcontext *ctx, GLuint ii, GLuint jj)
static GLboolean run_render (GLcontext *ctx, struct tnl_pipeline_stage *stage)

Variables

struct tnl_pipeline_stage _tnl_render_stage

Generated on Fri May 25 2012 04:58:20 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.