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_fog.c File Reference
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/imports.h"
#include "main/mtypes.h"
#include "math/m_xform.h"
#include "t_context.h"
#include "t_pipeline.h"

Go to the source code of this file.

Data Structures

struct  fog_stage_data

Defines

#define FOG_STAGE_DATA(stage)   ((struct fog_stage_data *)stage->privatePtr)
#define FOG_EXP_TABLE_SIZE   256
#define FOG_MAX   (10.0)
#define EXP_FOG_MAX   .0006595
#define FOG_INCR   (FOG_MAX/FOG_EXP_TABLE_SIZE)
#define NEG_EXP(result, narg)

Functions

static void init_static_data (void)
static void compute_fog_blend_factors (GLcontext *ctx, GLvector4f *out, const GLvector4f *in)
static GLboolean run_fog_stage (GLcontext *ctx, struct tnl_pipeline_stage *stage)
static GLboolean alloc_fog_data (GLcontext *ctx, struct tnl_pipeline_stage *stage)
static void free_fog_data (struct tnl_pipeline_stage *stage)

Variables

static GLfloat exp_table [FOG_EXP_TABLE_SIZE]
static GLfloat inited = 0
struct tnl_pipeline_stage _tnl_fog_coordinate_stage

Generated on Thu May 24 2012 04:59:34 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.