Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class 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
#define OGRE_GL_GETERROR()

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_SecondaryColor3fEXT_Func )(GLfloat, GLfloat, GLfloat)
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)
typedef void(APIENTRY * GL_ActiveStencilFaceEXT_Func )(GLenum)
typedef GLuint * ids
typedef GLenum pname
typedef GLenum GLintparams
typedef GLuint id

Functions

typedef void (APIENTRY *GL_VertexAttribPointerARB_Func)(GLuint
typedef GLboolean (APIENTRY *GL_IsOcclusionQueryNV_Func)(GLuint id)

Variables

GL_ActiveTextureARB_Func glActiveTextureARB_ptr
GL_ClientActiveTextureARB_Func glClientActiveTextureARB_ptr
GL_SecondaryColorPointerEXT_Func glSecondaryColorPointerEXT_ptr
GL_SecondaryColor3fEXT_Func glSecondaryColor3fEXT_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
typedef GLint
typedef GLenum
typedef GLboolean
typedef GLsizei
GL_VertexAttribPointerARB_Func glVertexAttribPointerARB_ptr
GL_EnableVertexAttribArrayARB_Func glEnableVertexAttribArrayARB_ptr
GL_DisableVertexAttribArrayARB_Func glDisableVertexAttribArrayARB_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
GL_ActiveStencilFaceEXT_Func glActiveStencilFaceEXT_ptr
GL_GenOcclusionQueriesNV_Func glGenOcclusionQueriesNV_ptr
GL_DeleteOcclusionQueriesNV_Func glDeleteOcclusionQueriesNV_ptr
GL_IsOcclusionQueryNV_Func glIsOcclusionQueryNV_ptr
GL_BeginOcclusionQueryNV_Func glBeginOcclusionQueryNV_ptr
GL_EndOcclusionQueryNV_Func glEndOcclusionQueryNV_ptr
GL_GetOcclusionQueryivNV_Func glGetOcclusionQueryivNV_ptr
GL_GetOcclusionQueryuivNV_Func glGetOcclusionQueryuivNV_ptr
PFNGLCOMPRESSEDTEXIMAGE1DARBPROC glCompressedTexImage1DARB_ptr
PFNGLCOMPRESSEDTEXIMAGE2DARBPROC glCompressedTexImage2DARB_ptr
PFNGLCOMPRESSEDTEXIMAGE3DARBPROC glCompressedTexImage3DARB_ptr
PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC glCompressedTexSubImage1DARB_ptr
PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC glCompressedTexSubImage2DARB_ptr
PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC glCompressedTexSubImage3DARB_ptr
PFNGLGETCOMPRESSEDTEXIMAGEARBPROC glGetCompressedTexImageARB_ptr
GL_GenQueriesARB_Func glGenQueriesARB_ptr
GL_DeleteQueriesARB_Func glDeleteQueriesARB_ptr
GL_BeginQueryARB_Func glBeginQueryARB_ptr
GL_EndQueryARB_Func glEndQueryARB_ptr
GL_GetQueryObjectuivARB_Func glGetQueryObjectuivARB_ptr


Define Documentation

#define GL_GLEXT_PROTOTYPES
 

Definition at line 37 of file OgreGLPrerequisites.h.

#define glSecondaryColorPointer   glSecondaryColorPointerEXT
 

Definition at line 41 of file OgreGLPrerequisites.h.

#define NOMINMAX
 

Definition at line 32 of file OgreGLPrerequisites.h.

 
#define OGRE_GL_GETERROR  ) 
 

Definition at line 286 of file OgreGLPrerequisites.h.


Typedef Documentation

typedef void(APIENTRY * GL_ActiveStencilFaceEXT_Func)(GLenum)
 

Definition at line 184 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_ActiveTextureARB_Func)(GLenum)
 

Definition at line 62 of file OgreGLPrerequisites.h.

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

Definition at line 82 of file OgreGLPrerequisites.h.

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

Definition at line 118 of file OgreGLPrerequisites.h.

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

Definition at line 102 of file OgreGLPrerequisites.h.

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

Definition at line 98 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_ClientActiveTextureARB_Func)(GLenum)
 

Definition at line 66 of file OgreGLPrerequisites.h.

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

Definition at line 158 of file OgreGLPrerequisites.h.

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

Definition at line 162 of file OgreGLPrerequisites.h.

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

Definition at line 150 of file OgreGLPrerequisites.h.

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

Definition at line 154 of file OgreGLPrerequisites.h.

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

Definition at line 146 of file OgreGLPrerequisites.h.

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

Definition at line 86 of file OgreGLPrerequisites.h.

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

Definition at line 114 of file OgreGLPrerequisites.h.

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

Definition at line 167 of file OgreGLPrerequisites.h.

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

Definition at line 78 of file OgreGLPrerequisites.h.

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

Definition at line 110 of file OgreGLPrerequisites.h.

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

Definition at line 106 of file OgreGLPrerequisites.h.

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

Definition at line 172 of file OgreGLPrerequisites.h.

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

Definition at line 176 of file OgreGLPrerequisites.h.

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

Definition at line 90 of file OgreGLPrerequisites.h.

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

Definition at line 126 of file OgreGLPrerequisites.h.

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

Definition at line 130 of file OgreGLPrerequisites.h.

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

Definition at line 122 of file OgreGLPrerequisites.h.

typedef void(APIENTRY * GL_SecondaryColor3fEXT_Func)(GLfloat, GLfloat, GLfloat)
 

Definition at line 74 of file OgreGLPrerequisites.h.

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

Definition at line 70 of file OgreGLPrerequisites.h.

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

Definition at line 180 of file OgreGLPrerequisites.h.

typedef GLboolean(APIENTRY * GL_UnmapBufferARB_Func)(GLenum)
 

Definition at line 94 of file OgreGLPrerequisites.h.

typedef GLuint id
 

Definition at line 234 of file OgreGLPrerequisites.h.

typedef const GLuint * ids
 

Definition at line 188 of file OgreGLPrerequisites.h.

typedef GLenum GLuint * params
 

Definition at line 208 of file OgreGLPrerequisites.h.

Referenced by Ogre::Renderable::_updateCustomGpuParameter(), Ogre::D3DRenderSystem::bindGpuProgramParameters(), and Ogre::GLGpuProgram::bindProgramParameters().

typedef GLenum pname
 

Definition at line 208 of file OgreGLPrerequisites.h.


Function Documentation

typedef GLboolean APIENTRY *  GL_IsOcclusionQueryNV_Func  ) 
 

typedef void APIENTRY *  GL_GetQueryObjectuivARB_Func  ) 
 


Variable Documentation

GL_ActiveStencilFaceEXT_Func glActiveStencilFaceEXT_ptr
 

Definition at line 185 of file OgreGLPrerequisites.h.

GL_ActiveTextureARB_Func glActiveTextureARB_ptr
 

Definition at line 63 of file OgreGLPrerequisites.h.

GL_BeginOcclusionQueryNV_Func glBeginOcclusionQueryNV_ptr
 

Definition at line 201 of file OgreGLPrerequisites.h.

GL_BeginQueryARB_Func glBeginQueryARB_ptr
 

Definition at line 235 of file OgreGLPrerequisites.h.

GL_BindBufferARB_Func glBindBufferARB_ptr
 

Definition at line 83 of file OgreGLPrerequisites.h.

GL_BindProgramARB_Func glBindProgramARB_ptr
 

Definition at line 119 of file OgreGLPrerequisites.h.

typedef GLboolean
 

Definition at line 134 of file OgreGLPrerequisites.h.

GL_BufferDataARB_Func glBufferDataARB_ptr
 

Definition at line 103 of file OgreGLPrerequisites.h.

GL_BufferSubDataARB_Func glBufferSubDataARB_ptr
 

Definition at line 99 of file OgreGLPrerequisites.h.

GL_ClientActiveTextureARB_Func glClientActiveTextureARB_ptr
 

Definition at line 67 of file OgreGLPrerequisites.h.

GL_CombinerInputNV_Func glCombinerInputNV_ptr
 

Definition at line 159 of file OgreGLPrerequisites.h.

GL_CombinerOutputNV_Func glCombinerOutputNV_ptr
 

Definition at line 164 of file OgreGLPrerequisites.h.

GL_CombinerParameterfvNV_Func glCombinerParameterfvNV_ptr
 

Definition at line 151 of file OgreGLPrerequisites.h.

GL_CombinerParameteriNV_Func glCombinerParameteriNV_ptr
 

Definition at line 155 of file OgreGLPrerequisites.h.

GL_CombinerStageParameterfvNV_Func glCombinerStageParameterfvNV_ptr
 

Definition at line 147 of file OgreGLPrerequisites.h.

PFNGLCOMPRESSEDTEXIMAGE1DARBPROC glCompressedTexImage1DARB_ptr
 

Definition at line 215 of file OgreGLPrerequisites.h.

PFNGLCOMPRESSEDTEXIMAGE2DARBPROC glCompressedTexImage2DARB_ptr
 

Definition at line 216 of file OgreGLPrerequisites.h.

PFNGLCOMPRESSEDTEXIMAGE3DARBPROC glCompressedTexImage3DARB_ptr
 

Definition at line 217 of file OgreGLPrerequisites.h.

PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC glCompressedTexSubImage1DARB_ptr
 

Definition at line 218 of file OgreGLPrerequisites.h.

PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC glCompressedTexSubImage2DARB_ptr
 

Definition at line 219 of file OgreGLPrerequisites.h.

PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC glCompressedTexSubImage3DARB_ptr
 

Definition at line 220 of file OgreGLPrerequisites.h.

GL_DeleteBuffersARB_Func glDeleteBuffersARB_ptr
 

Definition at line 87 of file OgreGLPrerequisites.h.

GL_DeleteOcclusionQueriesNV_Func glDeleteOcclusionQueriesNV_ptr
 

Definition at line 193 of file OgreGLPrerequisites.h.

GL_DeleteProgramsARB_Func glDeleteProgramsARB_ptr
 

Definition at line 115 of file OgreGLPrerequisites.h.

GL_DeleteQueriesARB_Func glDeleteQueriesARB_ptr
 

Definition at line 231 of file OgreGLPrerequisites.h.

GL_DisableVertexAttribArrayARB_Func glDisableVertexAttribArrayARB_ptr
 

Definition at line 141 of file OgreGLPrerequisites.h.

GL_EnableVertexAttribArrayARB_Func glEnableVertexAttribArrayARB_ptr
 

Definition at line 138 of file OgreGLPrerequisites.h.

GL_EndOcclusionQueryNV_Func glEndOcclusionQueryNV_ptr
 

Definition at line 205 of file OgreGLPrerequisites.h.

GL_EndQueryARB_Func glEndQueryARB_ptr
 

Definition at line 239 of file OgreGLPrerequisites.h.

typedef GLenum
 

Definition at line 134 of file OgreGLPrerequisites.h.

GL_FinalCombinerInputNV_Func glFinalCombinerInputNV_ptr
 

Definition at line 169 of file OgreGLPrerequisites.h.

GL_GenBuffersARB_Func glGenBuffersARB_ptr
 

Definition at line 79 of file OgreGLPrerequisites.h.

GL_GenOcclusionQueriesNV_Func glGenOcclusionQueriesNV_ptr
 

Definition at line 189 of file OgreGLPrerequisites.h.

GL_GenProgramsARB_Func glGenProgramsARB_ptr
 

Definition at line 111 of file OgreGLPrerequisites.h.

GL_GenQueriesARB_Func glGenQueriesARB_ptr
 

Definition at line 227 of file OgreGLPrerequisites.h.

GL_GetBufferSubDataARB_Func glGetBufferSubDataARB_ptr
 

Definition at line 107 of file OgreGLPrerequisites.h.

PFNGLGETCOMPRESSEDTEXIMAGEARBPROC glGetCompressedTexImageARB_ptr
 

Definition at line 221 of file OgreGLPrerequisites.h.

GL_GetOcclusionQueryivNV_Func glGetOcclusionQueryivNV_ptr
 

Definition at line 209 of file OgreGLPrerequisites.h.

GL_GetOcclusionQueryuivNV_Func glGetOcclusionQueryuivNV_ptr
 

Definition at line 213 of file OgreGLPrerequisites.h.

GL_GetProgramivARB_Func glGetProgramivARB_ptr
 

Definition at line 173 of file OgreGLPrerequisites.h.

GL_GetQueryObjectuivARB_Func glGetQueryObjectuivARB_ptr
 

Definition at line 243 of file OgreGLPrerequisites.h.

typedef GLint
 

Definition at line 134 of file OgreGLPrerequisites.h.

GL_IsOcclusionQueryNV_Func glIsOcclusionQueryNV_ptr
 

Definition at line 197 of file OgreGLPrerequisites.h.

GL_LoadProgramNV_Func glLoadProgramNV_ptr
 

Definition at line 177 of file OgreGLPrerequisites.h.

GL_MapBufferARB_Func glMapBufferARB_ptr
 

Definition at line 91 of file OgreGLPrerequisites.h.

GL_ProgramLocalParameter4fvARB_Func glProgramLocalParameter4fvARB_ptr
 

Definition at line 127 of file OgreGLPrerequisites.h.

GL_ProgramParameter4fvNV_Func glProgramParameter4fvNV_ptr
 

Definition at line 131 of file OgreGLPrerequisites.h.

GL_ProgramStringARB_Func glProgramStringARB_ptr
 

Definition at line 123 of file OgreGLPrerequisites.h.

GL_SecondaryColor3fEXT_Func glSecondaryColor3fEXT_ptr
 

Definition at line 75 of file OgreGLPrerequisites.h.

GL_SecondaryColorPointerEXT_Func glSecondaryColorPointerEXT_ptr
 

Definition at line 71 of file OgreGLPrerequisites.h.

typedef GLsizei
 

Definition at line 134 of file OgreGLPrerequisites.h.

GL_TrackMatrixNV_Func glTrackMatrixNV_ptr
 

Definition at line 181 of file OgreGLPrerequisites.h.

GL_UnmapBufferARB_Func glUnmapBufferARB_ptr
 

Definition at line 95 of file OgreGLPrerequisites.h.

GL_VertexAttribPointerARB_Func glVertexAttribPointerARB_ptr
 

Definition at line 135 of file OgreGLPrerequisites.h.


Copyright © 2000-2005 by The OGRE Team
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 12:59:55 2006