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_texgen.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  texgen_stage_data

Defines

#define TEXGEN_STAGE_DATA(stage)   ((struct texgen_stage_data *)stage->privatePtr)
#define VEC_SIZE_FLAGS   (VEC_SIZE_1|VEC_SIZE_2|VEC_SIZE_3|VEC_SIZE_4)
#define TEXGEN_NEED_M   (TEXGEN_SPHERE_MAP)
#define TEXGEN_NEED_F

Typedefs

typedef void(* texgen_func )(GLcontext *ctx, struct texgen_stage_data *store, GLuint unit)
typedef void(* build_m_func )(GLfloat f[][3], GLfloat m[], const GLvector4f *normal, const GLvector4f *eye)
typedef void(* build_f_func )(GLfloat *f, GLuint fstride, const GLvector4f *normal_vec, const GLvector4f *eye)

Functions

static void build_m3 (GLfloat f[][3], GLfloat m[], const GLvector4f *normal, const GLvector4f *eye)
static void build_m2 (GLfloat f[][3], GLfloat m[], const GLvector4f *normal, const GLvector4f *eye)
static void build_f3 (GLfloat *f, GLuint fstride, const GLvector4f *normal, const GLvector4f *eye)
static void build_f2 (GLfloat *f, GLuint fstride, const GLvector4f *normal, const GLvector4f *eye)
static void texgen_reflection_map_nv (GLcontext *ctx, struct texgen_stage_data *store, GLuint unit)
static void texgen_normal_map_nv (GLcontext *ctx, struct texgen_stage_data *store, GLuint unit)
static void texgen_sphere_map (GLcontext *ctx, struct texgen_stage_data *store, GLuint unit)
static void texgen (GLcontext *ctx, struct texgen_stage_data *store, GLuint unit)
static GLboolean run_texgen_stage (GLcontext *ctx, struct tnl_pipeline_stage *stage)
static void validate_texgen_stage (GLcontext *ctx, struct tnl_pipeline_stage *stage)
static GLboolean alloc_texgen_data (GLcontext *ctx, struct tnl_pipeline_stage *stage)
static void free_texgen_data (struct tnl_pipeline_stage *stage)

Variables

static GLuint all_bits [5]
static build_m_func build_m_tab [5]
static build_f_func build_f_tab [5]
struct tnl_pipeline_stage _tnl_texgen_stage

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