Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OgreGLPrerequisites.h File Reference

#include "OgrePrerequisites.h"
#include <windows.h>
#include <wingdi.h>
#include <GL/gl.h>
#include "glprocs.h"
#include <GL/glu.h>
#include "GL/glext.h"

Go to the source code of this file.

Namespaces

namespace  Ogre

Defines

#define NOMINMAX
#define GL_GLEXT_PROTOTYPES
#define glSecondaryColorPointer   glSecondaryColorPointerEXT

Typedefs

typedef void(APIENTRY * GL_ActiveTextureARB_Func )(GLenum)
typedef void(APIENTRY * GL_ClientActiveTextureARB_Func )(GLenum)
typedef void(APIENTRY * GL_SecondaryColorPointerEXT_Func )(GLint, GLenum, GLsizei, const GLvoid *)
typedef void(APIENTRY * GL_GenBuffersARB_Func )(GLsizei, GLuint *)
typedef void(APIENTRY * GL_BindBufferARB_Func )(GLenum, GLuint)
typedef void(APIENTRY * GL_DeleteBuffersARB_Func )(GLsizei, const GLuint *)
typedef GLvoid *(APIENTRY * GL_MapBufferARB_Func )(GLenum, GLenum)
typedef GLboolean(APIENTRY * GL_UnmapBufferARB_Func )(GLenum)
typedef void(APIENTRY * GL_BufferSubDataARB_Func )(GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *)
typedef void(APIENTRY * GL_BufferDataARB_Func )(GLenum, GLsizeiptrARB, const GLvoid *, GLenum)
typedef void(APIENTRY * GL_GetBufferSubDataARB_Func )(GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *)
typedef void(APIENTRY * GL_GenProgramsARB_Func )(GLsizei, GLuint *)
typedef void(APIENTRY * GL_DeleteProgramsARB_Func )(GLsizei, const GLuint *)
typedef void(APIENTRY * GL_BindProgramARB_Func )(GLenum, GLuint)
typedef void(APIENTRY * GL_ProgramStringARB_Func )(GLenum, GLenum, GLsizei, const GLvoid *)
typedef void(APIENTRY * GL_ProgramLocalParameter4fvARB_Func )(GLenum, GLuint, const GLfloat *)
typedef void(APIENTRY * GL_ProgramParameter4fvNV_Func )(GLenum, GLuint, const GLfloat *)
typedef void(APIENTRY * GL_CombinerStageParameterfvNV_Func )(GLenum, GLenum, const GLfloat *)
typedef void(APIENTRY * GL_CombinerParameterfvNV_Func )(GLenum, const GLfloat *)
typedef void(APIENTRY * GL_CombinerParameteriNV_Func )(GLenum, GLint)
typedef void(APIENTRY * GL_CombinerInputNV_Func )(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum)
typedef void(APIENTRY * GL_CombinerOutputNV_Func )(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean)
typedef void(APIENTRY * GL_FinalCombinerInputNV_Func )(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage)
typedef void(APIENTRY * GL_GetProgramivARB_Func )(GLenum, GLenum, GLint *)
typedef void(APIENTRY * GL_LoadProgramNV_Func )(GLenum, GLuint, GLsizei, const GLubyte *)
typedef void(APIENTRY * GL_TrackMatrixNV_Func )(GLenum, GLuint, GLenum, GLenum)

Variables

GL_ActiveTextureARB_Func glActiveTextureARB_ptr
GL_ClientActiveTextureARB_Func glClientActiveTextureARB_ptr
GL_SecondaryColorPointerEXT_Func glSecondaryColorPointerEXT_ptr
GL_GenBuffersARB_Func glGenBuffersARB_ptr
GL_BindBufferARB_Func glBindBufferARB_ptr
GL_DeleteBuffersARB_Func glDeleteBuffersARB_ptr
GL_MapBufferARB_Func glMapBufferARB_ptr
GL_UnmapBufferARB_Func glUnmapBufferARB_ptr
GL_BufferSubDataARB_Func glBufferSubDataARB_ptr
GL_BufferDataARB_Func glBufferDataARB_ptr
GL_GetBufferSubDataARB_Func glGetBufferSubDataARB_ptr
GL_GenProgramsARB_Func glGenProgramsARB_ptr
GL_DeleteProgramsARB_Func glDeleteProgramsARB_ptr
GL_BindProgramARB_Func glBindProgramARB_ptr
GL_ProgramStringARB_Func glProgramStringARB_ptr
GL_ProgramLocalParameter4fvARB_Func glProgramLocalParameter4fvARB_ptr
GL_ProgramParameter4fvNV_Func glProgramParameter4fvNV_ptr
GL_CombinerStageParameterfvNV_Func glCombinerStageParameterfvNV_ptr
GL_CombinerParameterfvNV_Func glCombinerParameterfvNV_ptr
GL_CombinerParameteriNV_Func glCombinerParameteriNV_ptr
GL_CombinerInputNV_Func glCombinerInputNV_ptr
GL_CombinerOutputNV_Func glCombinerOutputNV_ptr
GL_FinalCombinerInputNV_Func glFinalCombinerInputNV_ptr
GL_GetProgramivARB_Func glGetProgramivARB_ptr
GL_LoadProgramNV_Func glLoadProgramNV_ptr
GL_TrackMatrixNV_Func glTrackMatrixNV_ptr
PFNGLCOMPRESSEDTEXIMAGE2DARBPROC glCompressedTexImage2DARB_ptr


Define Documentation

#define GL_GLEXT_PROTOTYPES
 

Definition at line 35 of file OgreGLPrerequisites.h.

#define glSecondaryColorPointer   glSecondaryColorPointerEXT
 

Definition at line 39 of file OgreGLPrerequisites.h.

#define NOMINMAX
 

Definition at line 31 of file OgreGLPrerequisites.h.


Typedef Documentation

typedef void(APIENTRY * GL_ActiveTextureARB_Func)(GLenum)
 

Definition at line 59 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_BindBufferARB_Func)(GLenum, GLuint)
 

Definition at line 75 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_BindProgramARB_Func)(GLenum, GLuint)
 

Definition at line 111 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_BufferDataARB_Func)(GLenum, GLsizeiptrARB, const GLvoid* , GLenum)
 

Definition at line 95 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_BufferSubDataARB_Func)(GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid*)
 

Definition at line 91 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_ClientActiveTextureARB_Func)(GLenum)
 

Definition at line 63 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_CombinerInputNV_Func)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum)
 

Definition at line 139 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_CombinerOutputNV_Func)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean)
 

Definition at line 143 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_CombinerParameterfvNV_Func)(GLenum, const GLfloat *)
 

Definition at line 131 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_CombinerParameteriNV_Func)(GLenum, GLint)
 

Definition at line 135 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_CombinerStageParameterfvNV_Func)(GLenum, GLenum, const GLfloat *)
 

Definition at line 127 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_DeleteBuffersARB_Func)(GLsizei, const GLuint*)
 

Definition at line 79 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_DeleteProgramsARB_Func)(GLsizei, const GLuint*)
 

Definition at line 107 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_FinalCombinerInputNV_Func)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage)
 

Definition at line 148 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_GenBuffersARB_Func)(GLsizei, GLuint*)
 

Definition at line 71 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_GenProgramsARB_Func)(GLsizei, GLuint*)
 

Definition at line 103 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_GetBufferSubDataARB_Func)(GLenum, GLintptrARB, GLsizeiptrARB, GLvoid*)
 

Definition at line 99 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_GetProgramivARB_Func)(GLenum, GLenum, GLint *)
 

Definition at line 153 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_LoadProgramNV_Func)(GLenum, GLuint, GLsizei, const GLubyte *)
 

Definition at line 157 of file OgreGLPrerequisites.h.

typedef GLvoid*(APIENTRY * GL_MapBufferARB_Func)(GLenum, GLenum)
 

Definition at line 83 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_ProgramLocalParameter4fvARB_Func)(GLenum, GLuint, const GLfloat *)
 

Definition at line 119 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_ProgramParameter4fvNV_Func)(GLenum, GLuint, const GLfloat *)
 

Definition at line 123 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_ProgramStringARB_Func)(GLenum, GLenum, GLsizei, const GLvoid*)
 

Definition at line 115 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_SecondaryColorPointerEXT_Func)(GLint, GLenum, GLsizei, const GLvoid*)
 

Definition at line 67 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_TrackMatrixNV_Func)(GLenum, GLuint, GLenum, GLenum)
 

Definition at line 161 of file OgreGLPrerequisites.h.

typedef GLboolean(APIENTRY * GL_UnmapBufferARB_Func)(GLenum)
 

Definition at line 87 of file OgreGLPrerequisites.h.


Variable Documentation

GL_ActiveTextureARB_Func glActiveTextureARB_ptr
 

Definition at line 60 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::_setTexture(), Ogre::GLRenderSystem::_setTextureAddressingMode(), Ogre::GLRenderSystem::_setTextureBlendMode(), Ogre::GLRenderSystem::_setTextureCoordCalculation(), Ogre::GLRenderSystem::_setTextureMatrix(), Ogre::GLRenderSystem::_setTextureUnitFiltering(), Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_BindBufferARB_Func glBindBufferARB_ptr
 

Definition at line 76 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::_render(), Ogre::GLHardwareIndexBuffer::GLHardwareIndexBuffer(), Ogre::GLHardwareVertexBuffer::GLHardwareVertexBuffer(), Ogre::GLRenderSystem::GLRenderSystem(), Ogre::GLRenderSystem::initGL(), Ogre::GLHardwareIndexBuffer::lockImpl(), Ogre::GLHardwareVertexBuffer::lockImpl(), Ogre::GLHardwareIndexBuffer::readData(), Ogre::GLHardwareVertexBuffer::readData(), Ogre::GLHardwareIndexBuffer::unlockImpl(), Ogre::GLHardwareVertexBuffer::unlockImpl(), Ogre::GLHardwareIndexBuffer::writeData(), and Ogre::GLHardwareVertexBuffer::writeData().

GL_BindProgramARB_Func glBindProgramARB_ptr
 

Definition at line 112 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLArbGpuProgram::bindProgram(), Ogre::GLRenderSystem::GLRenderSystem(), Ogre::GLRenderSystem::initGL(), Ogre::GLArbGpuProgram::loadFromSource(), and Ogre::GLArbGpuProgram::unbindProgram().

GL_BufferDataARB_Func glBufferDataARB_ptr
 

Definition at line 96 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLHardwareIndexBuffer::GLHardwareIndexBuffer(), Ogre::GLHardwareVertexBuffer::GLHardwareVertexBuffer(), Ogre::GLRenderSystem::GLRenderSystem(), Ogre::GLRenderSystem::initGL(), Ogre::GLHardwareIndexBuffer::writeData(), and Ogre::GLHardwareVertexBuffer::writeData().

GL_BufferSubDataARB_Func glBufferSubDataARB_ptr
 

Definition at line 92 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), Ogre::GLRenderSystem::initGL(), Ogre::GLHardwareIndexBuffer::writeData(), and Ogre::GLHardwareVertexBuffer::writeData().

GL_ClientActiveTextureARB_Func glClientActiveTextureARB_ptr
 

Definition at line 64 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::_render(), Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_CombinerInputNV_Func glCombinerInputNV_ptr
 

Definition at line 140 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_CombinerOutputNV_Func glCombinerOutputNV_ptr
 

Definition at line 145 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_CombinerParameterfvNV_Func glCombinerParameterfvNV_ptr
 

Definition at line 132 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_CombinerParameteriNV_Func glCombinerParameteriNV_ptr
 

Definition at line 136 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_CombinerStageParameterfvNV_Func glCombinerStageParameterfvNV_ptr
 

Definition at line 128 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLGpuNvparseProgram::bindProgramParameters(), Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

PFNGLCOMPRESSEDTEXIMAGE2DARBPROC glCompressedTexImage2DARB_ptr
 

Definition at line 165 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLTexture::generateMipMaps(), and Ogre::GLRenderSystem::initGL().

GL_DeleteBuffersARB_Func glDeleteBuffersARB_ptr
 

Definition at line 80 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), Ogre::GLRenderSystem::initGL(), Ogre::GLHardwareIndexBuffer::~GLHardwareIndexBuffer(), and Ogre::GLHardwareVertexBuffer::~GLHardwareVertexBuffer().

GL_DeleteProgramsARB_Func glDeleteProgramsARB_ptr
 

Definition at line 108 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), Ogre::GLRenderSystem::initGL(), and Ogre::GLArbGpuProgram::unload().

GL_FinalCombinerInputNV_Func glFinalCombinerInputNV_ptr
 

Definition at line 150 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_GenBuffersARB_Func glGenBuffersARB_ptr
 

Definition at line 72 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLHardwareIndexBuffer::GLHardwareIndexBuffer(), Ogre::GLHardwareVertexBuffer::GLHardwareVertexBuffer(), Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_GenProgramsARB_Func glGenProgramsARB_ptr
 

Definition at line 104 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLArbGpuProgram::GLArbGpuProgram(), Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_GetBufferSubDataARB_Func glGetBufferSubDataARB_ptr
 

Definition at line 100 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), Ogre::GLRenderSystem::initGL(), Ogre::GLHardwareIndexBuffer::readData(), and Ogre::GLHardwareVertexBuffer::readData().

GL_GetProgramivARB_Func glGetProgramivARB_ptr
 

Definition at line 154 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_LoadProgramNV_Func glLoadProgramNV_ptr
 

Definition at line 158 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_MapBufferARB_Func glMapBufferARB_ptr
 

Definition at line 84 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), Ogre::GLRenderSystem::initGL(), Ogre::GLHardwareIndexBuffer::lockImpl(), and Ogre::GLHardwareVertexBuffer::lockImpl().

GL_ProgramLocalParameter4fvARB_Func glProgramLocalParameter4fvARB_ptr
 

Definition at line 120 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLArbGpuProgram::bindProgramParameters(), Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_ProgramParameter4fvNV_Func glProgramParameter4fvNV_ptr
 

Definition at line 124 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_ProgramStringARB_Func glProgramStringARB_ptr
 

Definition at line 116 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), Ogre::GLRenderSystem::initGL(), and Ogre::GLArbGpuProgram::loadFromSource().

GL_SecondaryColorPointerEXT_Func glSecondaryColorPointerEXT_ptr
 

Definition at line 68 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::_render(), Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_TrackMatrixNV_Func glTrackMatrixNV_ptr
 

Definition at line 162 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), and Ogre::GLRenderSystem::initGL().

GL_UnmapBufferARB_Func glUnmapBufferARB_ptr
 

Definition at line 88 of file OgreGLPrerequisites.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), Ogre::GLRenderSystem::initGL(), Ogre::GLHardwareIndexBuffer::unlockImpl(), and Ogre::GLHardwareVertexBuffer::unlockImpl().

Copyright © 2002-2003 by The OGRE Team
Last modified Wed Jan 21 00:10:33 2004