diff options
author | Brad Davis <[email protected]> | 2014-08-11 21:18:59 -0700 |
---|---|---|
committer | Brad Davis <[email protected]> | 2014-08-11 21:18:59 -0700 |
commit | 04a03e83f135fbfccbc960b13e05729490ccd375 (patch) | |
tree | 7878b192a3fd24eb69f54744dc17f44f53b0ac1a /LibOVR/Src/CAPI/GL/CAPI_GL_Util.cpp | |
parent | 0f49ce8fc6aa54224e4c0d6fda8c4527ad39cce1 (diff) |
Adding 0.4.1 windows files
Diffstat (limited to 'LibOVR/Src/CAPI/GL/CAPI_GL_Util.cpp')
-rw-r--r-- | LibOVR/Src/CAPI/GL/CAPI_GL_Util.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/LibOVR/Src/CAPI/GL/CAPI_GL_Util.cpp b/LibOVR/Src/CAPI/GL/CAPI_GL_Util.cpp index 7c0b46b..22482d8 100644 --- a/LibOVR/Src/CAPI/GL/CAPI_GL_Util.cpp +++ b/LibOVR/Src/CAPI/GL/CAPI_GL_Util.cpp @@ -41,11 +41,15 @@ PFNGLENABLEPROC glEnable; PFNGLDISABLEPROC glDisable; PFNGLGETFLOATVPROC glGetFloatv; PFNGLGETINTEGERVPROC glGetIntegerv; +PFNGLGETDOUBLEVPROC glGetDoublev; PFNGLGETSTRINGPROC glGetString; PFNGLCOLORMASKPROC glColorMask; PFNGLCLEARPROC glClear; PFNGLCLEARCOLORPROC glClearColor; PFNGLCLEARDEPTHPROC glClearDepth; +PFNGLDEPTHMASKPROC glDepthMask; +PFNGLDEPTHRANGEPROC glDepthRange; +PFNGLDEPTHRANGEFPROC glDepthRangef; PFNGLVIEWPORTPROC glViewport; PFNGLDRAWELEMENTSPROC glDrawElements; PFNGLTEXPARAMETERIPROC glTexParameteri; @@ -58,6 +62,8 @@ PFNGLBINDTEXTUREPROC glBindTexture; PFNGLTEXIMAGE2DPROC glTexImage2D; PFNGLBLENDFUNCPROC glBlendFunc; PFNGLFRONTFACEPROC glFrontFace; +PFNGLRENDERMODEPROC glRenderMode; +PFNGLPOLYGONMODEPROC glPolygonMode; PFNWGLGETSWAPINTERVALEXTPROC wglGetSwapIntervalEXT; PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT; @@ -80,6 +86,8 @@ PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; PFNGLACTIVETEXTUREPROC glActiveTexture; +PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; @@ -116,6 +124,7 @@ PFNGLUNIFORM1FVPROC glUniform1fv; PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; PFNGLBINDVERTEXARRAYPROC glBindVertexArray; +PFNGLFEEDBACKBUFFERPROC glFeedbackBuffer; #if defined(OVR_OS_WIN32) @@ -147,6 +156,7 @@ void InitGLExtensions() glGetError = (PFNGLGETERRORPROC) GetProcAddress(hInst, "glGetError"); glGetFloatv = (PFNGLGETFLOATVPROC) GetProcAddress(hInst, "glGetFloatv"); glGetIntegerv = (PFNGLGETINTEGERVPROC) GetProcAddress(hInst, "glGetIntegerv"); + glGetDoublev = (PFNGLGETDOUBLEVPROC) GetProcAddress(hInst, "glGetDoublev"); glGetString = (PFNGLGETSTRINGPROC) GetProcAddress(hInst, "glGetString"); glEnable = (PFNGLENABLEPROC) GetProcAddress(hInst, "glEnable"); glDisable = (PFNGLDISABLEPROC) GetProcAddress(hInst, "glDisable"); @@ -154,6 +164,9 @@ void InitGLExtensions() glClear = (PFNGLCLEARPROC) GetProcAddress(hInst, "glClear" ); glClearColor = (PFNGLCLEARCOLORPROC) GetProcAddress(hInst, "glClearColor"); glClearDepth = (PFNGLCLEARDEPTHPROC) GetProcAddress(hInst, "glClearDepth"); + glDepthMask = (PFNGLDEPTHMASKPROC) GetProcAddress(hInst, "glDepthMask"); + glDepthRange = (PFNGLDEPTHRANGEPROC) GetProcAddress(hInst, "glDepthRange"); + glDepthRangef = (PFNGLDEPTHRANGEFPROC) GetProcAddress(hInst, "glDepthRangef"); glViewport = (PFNGLVIEWPORTPROC) GetProcAddress(hInst, "glViewport"); glFlush = (PFNGLFLUSHPROC) GetProcAddress(hInst, "glFlush"); glFinish = (PFNGLFINISHPROC) GetProcAddress(hInst, "glFinish"); @@ -166,6 +179,8 @@ void InitGLExtensions() glTexParameteri = (PFNGLTEXPARAMETERIPROC) GetProcAddress(hInst, "glTexParameteri"); glBlendFunc = (PFNGLBLENDFUNCPROC) GetProcAddress(hInst, "glBlendFunc"); glFrontFace = (PFNGLFRONTFACEPROC) GetProcAddress(hInst, "glFrontFace"); + glRenderMode = (PFNGLRENDERMODEPROC) GetProcAddress(hInst, "glRenderMode"); + glPolygonMode = (PFNGLPOLYGONMODEPROC) GetProcAddress(hInst, "glPolygonMode"); wglGetProcAddress = (PFNWGLGETPROCADDRESS) GetProcAddress(hInst, "wglGetProcAddress"); @@ -195,6 +210,8 @@ void InitGLExtensions() glBufferData = (PFNGLBUFFERDATAPROC) GetFunction("glBufferData"); glMapBuffer = (PFNGLMAPBUFFERPROC) GetFunction("glMapBuffer"); glUnmapBuffer = (PFNGLUNMAPBUFFERPROC) GetFunction("glUnmapBuffer"); + glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC) GetFunction("glGetVertexAttribiv"); + glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC) GetFunction("glGetVertexAttribPointerv"); glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC) GetFunction("glDisableVertexAttribArray"); glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC) GetFunction("glVertexAttribPointer"); glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC) GetFunction("glEnableVertexAttribArray"); @@ -225,6 +242,7 @@ void InitGLExtensions() glDetachShader = (PFNGLDETACHSHADERPROC) GetFunction("glDetachShader"); glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC) GetFunction("glBindAttribLocation"); glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC) GetFunction("glGetAttribLocation"); + glFeedbackBuffer = (PFNGLFEEDBACKBUFFERPROC) GetFunction("glFeedbackBuffer"); } #endif |