ogl: add ARB_texture_multisample
This commit is contained in:
parent
775858b6bc
commit
fab78c2dff
|
@ -0,0 +1,10 @@
|
||||||
|
// Copyright 2013 Dolphin Emulator Project
|
||||||
|
// Licensed under GPLv2
|
||||||
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#include "VideoBackends/OGL/GLExtensions/gl_common.h"
|
||||||
|
|
||||||
|
extern PFNGLTEXIMAGE2DMULTISAMPLEPROC glTexImage2DMultisample;
|
||||||
|
extern PFNGLTEXIMAGE3DMULTISAMPLEPROC glTexImage3DMultisample;
|
||||||
|
extern PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv;
|
||||||
|
extern PFNGLSAMPLEMASKIPROC glSampleMaski;
|
|
@ -711,6 +711,12 @@ PFNGLGETSYNCIVPROC glGetSynciv;
|
||||||
PFNGLISSYNCPROC glIsSync;
|
PFNGLISSYNCPROC glIsSync;
|
||||||
PFNGLWAITSYNCPROC glWaitSync;
|
PFNGLWAITSYNCPROC glWaitSync;
|
||||||
|
|
||||||
|
// ARB_texture_multisample
|
||||||
|
PFNGLTEXIMAGE2DMULTISAMPLEPROC glTexImage2DMultisample;
|
||||||
|
PFNGLTEXIMAGE3DMULTISAMPLEPROC glTexImage3DMultisample;
|
||||||
|
PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv;
|
||||||
|
PFNGLSAMPLEMASKIPROC glSampleMaski;
|
||||||
|
|
||||||
// ARB_ES2_compatibility
|
// ARB_ES2_compatibility
|
||||||
PFNGLCLEARDEPTHFPROC glClearDepthf;
|
PFNGLCLEARDEPTHFPROC glClearDepthf;
|
||||||
PFNGLDEPTHRANGEFPROC glDepthRangef;
|
PFNGLDEPTHRANGEFPROC glDepthRangef;
|
||||||
|
@ -1490,6 +1496,12 @@ const GLFunc gl_function_array[] =
|
||||||
GLFUNC_REQUIRES(glIsSync, "GL_ARB_sync"),
|
GLFUNC_REQUIRES(glIsSync, "GL_ARB_sync"),
|
||||||
GLFUNC_REQUIRES(glWaitSync, "GL_ARB_sync"),
|
GLFUNC_REQUIRES(glWaitSync, "GL_ARB_sync"),
|
||||||
|
|
||||||
|
// ARB_texture_multisample
|
||||||
|
GLFUNC_REQUIRES(glTexImage2DMultisample, "GL_ARB_texture_multisample"),
|
||||||
|
GLFUNC_REQUIRES(glTexImage3DMultisample, "GL_ARB_texture_multisample"),
|
||||||
|
GLFUNC_REQUIRES(glGetMultisamplefv, "GL_ARB_texture_multisample"),
|
||||||
|
GLFUNC_REQUIRES(glSampleMaski, "GL_ARB_texture_multisample"),
|
||||||
|
|
||||||
// ARB_ES2_compatibility
|
// ARB_ES2_compatibility
|
||||||
GLFUNC_REQUIRES(glClearDepthf, "GL_ARB_ES2_compatibility"),
|
GLFUNC_REQUIRES(glClearDepthf, "GL_ARB_ES2_compatibility"),
|
||||||
GLFUNC_REQUIRES(glDepthRangef, "GL_ARB_ES2_compatibility"),
|
GLFUNC_REQUIRES(glDepthRangef, "GL_ARB_ES2_compatibility"),
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#include "VideoBackends/OGL/GLExtensions/ARB_sample_shading.h"
|
#include "VideoBackends/OGL/GLExtensions/ARB_sample_shading.h"
|
||||||
#include "VideoBackends/OGL/GLExtensions/ARB_sampler_objects.h"
|
#include "VideoBackends/OGL/GLExtensions/ARB_sampler_objects.h"
|
||||||
#include "VideoBackends/OGL/GLExtensions/ARB_sync.h"
|
#include "VideoBackends/OGL/GLExtensions/ARB_sync.h"
|
||||||
|
#include "VideoBackends/OGL/GLExtensions/ARB_texture_multisample.h"
|
||||||
#include "VideoBackends/OGL/GLExtensions/ARB_uniform_buffer_object.h"
|
#include "VideoBackends/OGL/GLExtensions/ARB_uniform_buffer_object.h"
|
||||||
#include "VideoBackends/OGL/GLExtensions/ARB_vertex_array_object.h"
|
#include "VideoBackends/OGL/GLExtensions/ARB_vertex_array_object.h"
|
||||||
#include "VideoBackends/OGL/GLExtensions/ARB_viewport_array.h"
|
#include "VideoBackends/OGL/GLExtensions/ARB_viewport_array.h"
|
||||||
|
|
Loading…
Reference in New Issue