mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 23:59:27 +01:00
Pull in the glRenderbufferStorageMultisample function pointer at run time.
This commit is contained in:
parent
53b93f8cd5
commit
91619e28b8
2
Externals/GLES3/GLES3/gl3.h
vendored
2
Externals/GLES3/GLES3/gl3.h
vendored
@ -965,7 +965,7 @@ GL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsi
|
|||||||
GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
|
GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
|
||||||
GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
|
GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
|
||||||
GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
|
GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
|
||||||
GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
|
//GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
|
||||||
GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
|
GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
|
||||||
GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
|
GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
|
||||||
GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array);
|
GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array);
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
#include "FramebufferManager.h"
|
#include "FramebufferManager.h"
|
||||||
#include "VertexShaderGen.h"
|
#include "VertexShaderGen.h"
|
||||||
#include "OnScreenDisplay.h"
|
#include "OnScreenDisplay.h"
|
||||||
|
#include "GLFunctions.h"
|
||||||
|
|
||||||
#include "TextureConverter.h"
|
#include "TextureConverter.h"
|
||||||
#include "Render.h"
|
#include "Render.h"
|
||||||
|
@ -32,6 +32,8 @@ PFNGLPROGRAMPARAMETERIPROC glProgramParameteri;
|
|||||||
|
|
||||||
PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements;
|
PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements;
|
||||||
|
|
||||||
|
PFNGLRENDERBUFFERSTORAGEMULTISAMPLE glRenderbufferStorageMultisample;
|
||||||
|
|
||||||
PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex;
|
PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex;
|
||||||
PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding;
|
PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding;
|
||||||
|
|
||||||
@ -98,6 +100,8 @@ namespace GLFunc
|
|||||||
|
|
||||||
LoadFunction("glDrawRangeElements", (void**)&glDrawRangeElements);
|
LoadFunction("glDrawRangeElements", (void**)&glDrawRangeElements);
|
||||||
|
|
||||||
|
LoadFunction("glRenderbufferStorageMultisample", (void**)&glRenderbufferStorageMultisample);
|
||||||
|
|
||||||
LoadFunction("glGetUniformBlockIndex", (void**)&glGetUniformBlockIndex);
|
LoadFunction("glGetUniformBlockIndex", (void**)&glGetUniformBlockIndex);
|
||||||
LoadFunction("glUniformBlockBinding", (void**)&glUniformBlockBinding);
|
LoadFunction("glUniformBlockBinding", (void**)&glUniformBlockBinding);
|
||||||
dlclose(self);
|
dlclose(self);
|
||||||
|
@ -30,7 +30,7 @@ typedef void (*PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
|
|||||||
typedef void (*PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint * samplers);
|
typedef void (*PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint * samplers);
|
||||||
typedef void (*PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint* samplers);
|
typedef void (*PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint* samplers);
|
||||||
|
|
||||||
//Program binar
|
//Program binary
|
||||||
typedef void (*PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLenum *binaryFormat, GLvoid*binary);
|
typedef void (*PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLenum *binaryFormat, GLvoid*binary);
|
||||||
typedef void (*PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void* binary, GLsizei length);
|
typedef void (*PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void* binary, GLsizei length);
|
||||||
typedef void (*PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
|
typedef void (*PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
|
||||||
@ -48,6 +48,9 @@ typedef void (*PFNGLGENQUERIESPROC) (GLsizei n, GLuint* ids);
|
|||||||
// glDraw*
|
// glDraw*
|
||||||
typedef void (*PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices);
|
typedef void (*PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices);
|
||||||
|
|
||||||
|
// Multisample buffer
|
||||||
|
typedef void (*PFNGLRENDERBUFFERSTORAGEMULTISAMPLE) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
|
||||||
|
|
||||||
// ptrs
|
// ptrs
|
||||||
extern PFNGLBEGINQUERYPROC glBeginQuery;
|
extern PFNGLBEGINQUERYPROC glBeginQuery;
|
||||||
extern PFNGLENDQUERYPROC glEndQuery;
|
extern PFNGLENDQUERYPROC glEndQuery;
|
||||||
@ -75,6 +78,8 @@ extern PFNGLPROGRAMPARAMETERIPROC glProgramParameteri;
|
|||||||
|
|
||||||
extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements;
|
extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements;
|
||||||
|
|
||||||
|
extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLE glRenderbufferStorageMultisample;
|
||||||
|
|
||||||
//Sampler
|
//Sampler
|
||||||
extern PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf;
|
extern PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf;
|
||||||
extern PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri;
|
extern PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user