#include <GL/gl.h>
#include <GL/glext.h>
#include "MercuryUtil.h"
#include <map>
Go to the source code of this file.
Classes | |
struct | GLExtensions |
Functions | |
typedef | bool (APIENTRY *PWSWAPINTERVALEXTPROC)(int interval) |
void * | GetProcAddress (MString s) |
void | InitOpenglApiExtensions () |
void | PopulateExtensions (GLExtensions &ext) |
Variables | |
PWSWAPINTERVALEXTPROC | wglSwapIntervalEXT |
PFNGLMULTITEXCOORD1FARBPROC | glMultiTexCoord1fARBm |
PFNGLMULTITEXCOORD2FARBPROC | glMultiTexCoord2fARBm |
PFNGLMULTITEXCOORD3FARBPROC | glMultiTexCoord3fARBm |
PFNGLMULTITEXCOORD4FARBPROC | glMultiTexCoord4fARBm |
PFNGLACTIVETEXTUREARBPROC | glActiveTextureARBm |
PFNGLCLIENTACTIVETEXTUREARBPROC | glClientActiveTextureARBm |
PFNGLPOINTPARAMETERFARBPROC | glPointParameterfARB |
PFNGLPOINTPARAMETERFVARBPROC | glPointParameterfvARB |
PFNGLCREATEPROGRAMOBJECTARBPROC | glCreateProgramObjectARB |
PFNGLDELETEOBJECTARBPROC | glDeleteObjectARB |
PFNGLDETACHOBJECTARBPROC | glDetachObjectARB |
PFNGLGETATTACHEDOBJECTSARBPROC | glGetAttachedObjectsARB |
PFNGLUSEPROGRAMOBJECTARBPROC | glUseProgramObjectARB |
PFNGLCREATESHADEROBJECTARBPROC | glCreateShaderObjectARB |
PFNGLSHADERSOURCEARBPROC | glShaderSourceARB |
PFNGLCOMPILESHADERARBPROC | glCompileShaderARB |
PFNGLGETOBJECTPARAMETERIVARBPROC | glGetObjectParameterivARB |
PFNGLATTACHOBJECTARBPROC | glAttachObjectARB |
PFNGLGETINFOLOGARBPROC | glGetInfoLogARB |
PFNGLLINKPROGRAMARBPROC | glLinkProgramARB |
PFNGLGETUNIFORMLOCATIONARBPROC | glGetUniformLocationARB |
PFNGLUNIFORM1FARBPROC | glUniform1fARB |
PFNGLUNIFORM2FARBPROC | glUniform2fARB |
PFNGLUNIFORM3FARBPROC | glUniform3fARB |
PFNGLUNIFORM4FARBPROC | glUniform4fARB |
PFNGLUNIFORM1IARBPROC | glUniform1iARB |
PFNGLUNIFORM2IARBPROC | glUniform2iARB |
PFNGLUNIFORM3IARBPROC | glUniform3iARB |
PFNGLUNIFORM4IARBPROC | glUniform4iARB |
PFNGLGETATTRIBLOCATIONARBPROC | glGetAttribLocationARB |
PFNGLVERTEXATTRIB3FARBPROC | glVertexAttrib3fARB |
PFNGLENABLEVERTEXATTRIBARRAYARBPROC | glEnableVertexAttribArrayARB |
PFNGLENABLEVERTEXATTRIBARRAYARBPROC | glDisableVertexAttribArrayARB |
PFNGLVERTEXATTRIBPOINTERARBPROC | glVertexAttribPointerARB |
bool | mercuryIsSupportFrameBufferObjectEXT |
bool | supportAnisotrophy |
PFNGLISRENDERBUFFEREXTPROC | glIsRenderbufferEXT |
PFNGLBINDRENDERBUFFEREXTPROC | glBindRenderbufferEXT |
PFNGLDELETERENDERBUFFERSEXTPROC | glDeleteRenderbuffersEXT |
PFNGLGENRENDERBUFFERSEXTPROC | glGenRenderbuffersEXT |
PFNGLRENDERBUFFERSTORAGEEXTPROC | glRenderbufferStorageEXT |
PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC | glGetRenderbufferParameterivEXT |
PFNGLISFRAMEBUFFEREXTPROC | glIsFramebufferEXT |
PFNGLBINDFRAMEBUFFEREXTPROC | glBindFramebufferEXT |
PFNGLDELETEFRAMEBUFFERSEXTPROC | glDeleteFramebuffersEXT |
PFNGLGENFRAMEBUFFERSEXTPROC | glGenFramebuffersEXT |
PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC | glCheckFramebufferStatusEXT |
PFNGLFRAMEBUFFERTEXTURE1DEXTPROC | glFramebufferTexture1DEXT |
PFNGLFRAMEBUFFERTEXTURE2DEXTPROC | glFramebufferTexture2DEXT |
PFNGLFRAMEBUFFERTEXTURE3DEXTPROC | glFramebufferTexture3DEXT |
PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC | glFramebufferRenderbufferEXT |
PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC | glGetFramebufferAttachmentParameterivEXT |
PFNGLGENERATEMIPMAPEXTPROC | glGenerateMipmapEXT |
PFNGLBINDBUFFERARBPROC | glBindBufferARB |
PFNGLDELETEBUFFERSARBPROC | glDeleteBuffersARB |
PFNGLGENBUFFERSARBPROC | glGenBuffersARB |
PFNGLBUFFERDATAARBPROC | glBufferDataARB |
PFNGLLOCKARRAYSEXTPROC | glLockArraysEXT |
PFNGLUNLOCKARRAYSEXTPROC | glUnlockArraysEXT |
typedef bool | ( | APIENTRY * | PWSWAPINTERVALEXTPROC | ) |
void* GetProcAddress | ( | MString | s | ) |
Definition at line 292 of file MercuryOGL_Ext.cpp.
void InitOpenglApiExtensions | ( | ) |
Definition at line 136 of file MercuryOGL_Ext.cpp.
void PopulateExtensions | ( | GLExtensions & | ext | ) |
Definition at line 249 of file MercuryOGL_Ext.cpp.
PFNGLACTIVETEXTUREARBPROC glActiveTextureARBm |
Definition at line 13 of file MercuryOGL_Ext.cpp.
PFNGLATTACHOBJECTARBPROC glAttachObjectARB |
Definition at line 29 of file MercuryOGL_Ext.cpp.
PFNGLBINDBUFFERARBPROC glBindBufferARB |
Definition at line 71 of file MercuryOGL_Ext.cpp.
PFNGLBINDFRAMEBUFFEREXTPROC glBindFramebufferEXT |
Definition at line 59 of file MercuryOGL_Ext.cpp.
PFNGLBINDRENDERBUFFEREXTPROC glBindRenderbufferEXT |
Definition at line 53 of file MercuryOGL_Ext.cpp.
PFNGLBUFFERDATAARBPROC glBufferDataARB |
Definition at line 74 of file MercuryOGL_Ext.cpp.
PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC glCheckFramebufferStatusEXT |
Definition at line 62 of file MercuryOGL_Ext.cpp.
PFNGLCLIENTACTIVETEXTUREARBPROC glClientActiveTextureARBm |
Definition at line 14 of file MercuryOGL_Ext.cpp.
PFNGLCOMPILESHADERARBPROC glCompileShaderARB |
Definition at line 27 of file MercuryOGL_Ext.cpp.
PFNGLCREATEPROGRAMOBJECTARBPROC glCreateProgramObjectARB |
Definition at line 20 of file MercuryOGL_Ext.cpp.
PFNGLCREATESHADEROBJECTARBPROC glCreateShaderObjectARB |
Definition at line 25 of file MercuryOGL_Ext.cpp.
PFNGLDELETEBUFFERSARBPROC glDeleteBuffersARB |
Definition at line 72 of file MercuryOGL_Ext.cpp.
PFNGLDELETEFRAMEBUFFERSEXTPROC glDeleteFramebuffersEXT |
Definition at line 60 of file MercuryOGL_Ext.cpp.
PFNGLDELETEOBJECTARBPROC glDeleteObjectARB |
Definition at line 21 of file MercuryOGL_Ext.cpp.
PFNGLDELETERENDERBUFFERSEXTPROC glDeleteRenderbuffersEXT |
Definition at line 54 of file MercuryOGL_Ext.cpp.
PFNGLDETACHOBJECTARBPROC glDetachObjectARB |
Definition at line 22 of file MercuryOGL_Ext.cpp.
PFNGLENABLEVERTEXATTRIBARRAYARBPROC glDisableVertexAttribArrayARB |
Definition at line 45 of file MercuryOGL_Ext.cpp.
PFNGLENABLEVERTEXATTRIBARRAYARBPROC glEnableVertexAttribArrayARB |
Definition at line 44 of file MercuryOGL_Ext.cpp.
PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC glFramebufferRenderbufferEXT |
Definition at line 66 of file MercuryOGL_Ext.cpp.
PFNGLFRAMEBUFFERTEXTURE1DEXTPROC glFramebufferTexture1DEXT |
Definition at line 63 of file MercuryOGL_Ext.cpp.
PFNGLFRAMEBUFFERTEXTURE2DEXTPROC glFramebufferTexture2DEXT |
Definition at line 64 of file MercuryOGL_Ext.cpp.
PFNGLFRAMEBUFFERTEXTURE3DEXTPROC glFramebufferTexture3DEXT |
Definition at line 65 of file MercuryOGL_Ext.cpp.
PFNGLGENBUFFERSARBPROC glGenBuffersARB |
Definition at line 73 of file MercuryOGL_Ext.cpp.
PFNGLGENERATEMIPMAPEXTPROC glGenerateMipmapEXT |
Definition at line 68 of file MercuryOGL_Ext.cpp.
PFNGLGENFRAMEBUFFERSEXTPROC glGenFramebuffersEXT |
Definition at line 61 of file MercuryOGL_Ext.cpp.
PFNGLGENRENDERBUFFERSEXTPROC glGenRenderbuffersEXT |
Definition at line 55 of file MercuryOGL_Ext.cpp.
PFNGLGETATTACHEDOBJECTSARBPROC glGetAttachedObjectsARB |
Definition at line 23 of file MercuryOGL_Ext.cpp.
PFNGLGETATTRIBLOCATIONARBPROC glGetAttribLocationARB |
Definition at line 41 of file MercuryOGL_Ext.cpp.
PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC glGetFramebufferAttachmentParameterivEXT |
Definition at line 67 of file MercuryOGL_Ext.cpp.
PFNGLGETINFOLOGARBPROC glGetInfoLogARB |
Definition at line 30 of file MercuryOGL_Ext.cpp.
PFNGLGETOBJECTPARAMETERIVARBPROC glGetObjectParameterivARB |
Definition at line 28 of file MercuryOGL_Ext.cpp.
PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC glGetRenderbufferParameterivEXT |
Definition at line 57 of file MercuryOGL_Ext.cpp.
PFNGLGETUNIFORMLOCATIONARBPROC glGetUniformLocationARB |
Definition at line 32 of file MercuryOGL_Ext.cpp.
PFNGLISFRAMEBUFFEREXTPROC glIsFramebufferEXT |
Definition at line 58 of file MercuryOGL_Ext.cpp.
PFNGLISRENDERBUFFEREXTPROC glIsRenderbufferEXT |
Definition at line 52 of file MercuryOGL_Ext.cpp.
PFNGLLINKPROGRAMARBPROC glLinkProgramARB |
Definition at line 31 of file MercuryOGL_Ext.cpp.
PFNGLLOCKARRAYSEXTPROC glLockArraysEXT |
Definition at line 76 of file MercuryOGL_Ext.cpp.
PFNGLMULTITEXCOORD1FARBPROC glMultiTexCoord1fARBm |
Definition at line 9 of file MercuryOGL_Ext.cpp.
PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARBm |
Definition at line 10 of file MercuryOGL_Ext.cpp.
PFNGLMULTITEXCOORD3FARBPROC glMultiTexCoord3fARBm |
Definition at line 11 of file MercuryOGL_Ext.cpp.
PFNGLMULTITEXCOORD4FARBPROC glMultiTexCoord4fARBm |
Definition at line 12 of file MercuryOGL_Ext.cpp.
PFNGLPOINTPARAMETERFARBPROC glPointParameterfARB |
Definition at line 16 of file MercuryOGL_Ext.cpp.
PFNGLPOINTPARAMETERFVARBPROC glPointParameterfvARB |
Definition at line 17 of file MercuryOGL_Ext.cpp.
PFNGLRENDERBUFFERSTORAGEEXTPROC glRenderbufferStorageEXT |
Definition at line 56 of file MercuryOGL_Ext.cpp.
PFNGLSHADERSOURCEARBPROC glShaderSourceARB |
Definition at line 26 of file MercuryOGL_Ext.cpp.
PFNGLUNIFORM1FARBPROC glUniform1fARB |
Definition at line 33 of file MercuryOGL_Ext.cpp.
PFNGLUNIFORM1IARBPROC glUniform1iARB |
Definition at line 37 of file MercuryOGL_Ext.cpp.
PFNGLUNIFORM2FARBPROC glUniform2fARB |
Definition at line 34 of file MercuryOGL_Ext.cpp.
PFNGLUNIFORM2IARBPROC glUniform2iARB |
Definition at line 38 of file MercuryOGL_Ext.cpp.
PFNGLUNIFORM3FARBPROC glUniform3fARB |
Definition at line 35 of file MercuryOGL_Ext.cpp.
PFNGLUNIFORM3IARBPROC glUniform3iARB |
Definition at line 39 of file MercuryOGL_Ext.cpp.
PFNGLUNIFORM4FARBPROC glUniform4fARB |
Definition at line 36 of file MercuryOGL_Ext.cpp.
PFNGLUNIFORM4IARBPROC glUniform4iARB |
Definition at line 40 of file MercuryOGL_Ext.cpp.
PFNGLUNLOCKARRAYSEXTPROC glUnlockArraysEXT |
Definition at line 77 of file MercuryOGL_Ext.cpp.
PFNGLUSEPROGRAMOBJECTARBPROC glUseProgramObjectARB |
Definition at line 24 of file MercuryOGL_Ext.cpp.
PFNGLVERTEXATTRIB3FARBPROC glVertexAttrib3fARB |
Definition at line 42 of file MercuryOGL_Ext.cpp.
PFNGLVERTEXATTRIBPOINTERARBPROC glVertexAttribPointerARB |
Definition at line 46 of file MercuryOGL_Ext.cpp.
Definition at line 48 of file MercuryOGL_Ext.cpp.
bool supportAnisotrophy |
Definition at line 49 of file MercuryOGL_Ext.cpp.
PWSWAPINTERVALEXTPROC wglSwapIntervalEXT |
Definition at line 7 of file MercuryOGL_Ext.cpp.