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_light.c File Reference
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/light.h"
#include "main/macros.h"
#include "main/imports.h"
#include "main/simple_list.h"
#include "main/mtypes.h"
#include "math/m_translate.h"
#include "t_context.h"
#include "t_pipeline.h"
#include "t_vb_lighttmp.h"

Go to the source code of this file.

Data Structures

struct  material_cursor
struct  light_stage_data

Defines

#define LIGHT_TWOSIDE   0x1
#define LIGHT_MATERIAL   0x2
#define MAX_LIGHT_FUNC   0x4
#define LIGHT_STAGE_DATA(stage)   ((struct light_stage_data *)(stage->privatePtr))
#define TAG(x)   x
#define IDX   (0)
#define TAG(x)   x##_twoside
#define IDX   (LIGHT_TWOSIDE)
#define TAG(x)   x##_material
#define IDX   (LIGHT_MATERIAL)
#define TAG(x)   x##_twoside_material
#define IDX   (LIGHT_TWOSIDE|LIGHT_MATERIAL)

Typedefs

typedef void(* light_func )(GLcontext *ctx, struct vertex_buffer *VB, struct tnl_pipeline_stage *stage, GLvector4f *input)

Functions

static void update_materials (GLcontext *ctx, struct light_stage_data *store)
static GLuint prepare_materials (GLcontext *ctx, struct vertex_buffer *VB, struct light_stage_data *store)
static void init_lighting_tables (void)
static GLboolean run_lighting (GLcontext *ctx, struct tnl_pipeline_stage *stage)
static void validate_lighting (GLcontext *ctx, struct tnl_pipeline_stage *stage)
static GLboolean init_lighting (GLcontext *ctx, struct tnl_pipeline_stage *stage)
static void dtr (struct tnl_pipeline_stage *stage)

Variables

static light_func _tnl_light_tab [MAX_LIGHT_FUNC]
static light_func _tnl_light_fast_tab [MAX_LIGHT_FUNC]
static light_func _tnl_light_fast_single_tab [MAX_LIGHT_FUNC]
static light_func _tnl_light_spec_tab [MAX_LIGHT_FUNC]
static light_func _tnl_light_ci_tab [MAX_LIGHT_FUNC]
struct tnl_pipeline_stage _tnl_lighting_stage

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