Blender V2.61 - r43446
|
#include <math.h>
#include <stdlib.h>
#include "RAS_OpenGLRasterizer.h"
#include "GL/glew.h"
#include "RAS_Rect.h"
#include "RAS_TexVert.h"
#include "RAS_MeshObject.h"
#include "MT_CmMatrix4x4.h"
#include "RAS_IRenderTools.h"
#include "GPU_draw.h"
#include "GPU_material.h"
#include "GPU_extensions.h"
#include "DNA_image_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_material_types.h"
#include "DNA_scene_types.h"
#include "BKE_DerivedMesh.h"
Go to the source code of this file.
Defines | |
#define | M_PI 3.14159265358979323846 |
Functions | |
static int | CheckMaterialDM (int matnr, void *attribs) |
static int | CheckTexDM (MTFace *tface, int has_mcol, int matnr) |
Variables | |
static GLuint | left_eye_vinterlace_mask [32] |
static GLuint | right_eye_vinterlace_mask [32] |
static GLuint | hinterlace_mask [33] |
static bool | current_wireframe |
static RAS_MaterialBucket * | current_bucket |
static RAS_IPolyMaterial * | current_polymat |
static RAS_MeshSlot * | current_ms |
static RAS_MeshObject * | current_mesh |
static int | current_blmat_nr |
static GPUVertexAttribs | current_gpu_attribs |
static Image * | current_image |
Definition in file RAS_OpenGLRasterizer.cpp.
#define M_PI 3.14159265358979323846 |
Definition at line 58 of file RAS_OpenGLRasterizer.cpp.
Referenced by RAS_OpenGLRasterizer::FlushDebugShapes().
static int CheckMaterialDM | ( | int | matnr, |
void * | attribs | ||
) | [static] |
Definition at line 790 of file RAS_OpenGLRasterizer.cpp.
References current_blmat_nr.
Referenced by RAS_OpenGLRasterizer::IndexPrimitivesInternal().
static int CheckTexDM | ( | MTFace * | tface, |
int | has_mcol, | ||
int | matnr | ||
) | [static] |
Definition at line 831 of file RAS_OpenGLRasterizer.cpp.
References current_blmat_nr, current_wireframe, RAS_IPolyMaterial::GetMaterialRGBAColor(), RAS_MeshSlot::m_bObjectColor, RAS_MeshSlot::m_RGBAcolor, NULL, and MTFace::tpage.
Referenced by RAS_OpenGLRasterizer::IndexPrimitivesInternal().
int current_blmat_nr [static] |
Definition at line 787 of file RAS_OpenGLRasterizer.cpp.
Referenced by CheckMaterialDM(), CheckTexDM(), and RAS_OpenGLRasterizer::IndexPrimitivesInternal().
RAS_MaterialBucket* current_bucket [static] |
Definition at line 783 of file RAS_OpenGLRasterizer.cpp.
GPUVertexAttribs current_gpu_attribs [static] |
Definition at line 788 of file RAS_OpenGLRasterizer.cpp.
Image* current_image [static] |
Definition at line 789 of file RAS_OpenGLRasterizer.cpp.
RAS_MeshObject* current_mesh [static] |
Definition at line 786 of file RAS_OpenGLRasterizer.cpp.
RAS_MeshSlot* current_ms [static] |
Definition at line 785 of file RAS_OpenGLRasterizer.cpp.
RAS_IPolyMaterial* current_polymat [static] |
Definition at line 784 of file RAS_OpenGLRasterizer.cpp.
bool current_wireframe [static] |
Definition at line 782 of file RAS_OpenGLRasterizer.cpp.
Referenced by CheckTexDM(), and RAS_OpenGLRasterizer::IndexPrimitivesInternal().
GLuint hinterlace_mask[33] [static] |
32x32 bit masks for hinterlace stereo mode. Left eye = &hinterlace_mask[0] Right eye = &hinterlace_mask[1]
Definition at line 72 of file RAS_OpenGLRasterizer.cpp.
Referenced by RAS_OpenGLRasterizer::RAS_OpenGLRasterizer(), and RAS_OpenGLRasterizer::SetEye().
GLuint left_eye_vinterlace_mask[32] [static] |
32x32 bit masks for vinterlace stereo mode
Definition at line 64 of file RAS_OpenGLRasterizer.cpp.
Referenced by RAS_OpenGLRasterizer::RAS_OpenGLRasterizer(), and RAS_OpenGLRasterizer::SetEye().
GLuint right_eye_vinterlace_mask[32] [static] |
Definition at line 65 of file RAS_OpenGLRasterizer.cpp.
Referenced by RAS_OpenGLRasterizer::RAS_OpenGLRasterizer(), and RAS_OpenGLRasterizer::SetEye().