mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Support partial texture updates via efb copies
This commit is contained in:
@ -788,6 +788,9 @@ PFNGLGETOCCLUSIONQUERYUIVNVPROC glGetOcclusionQueryuivNV;
|
||||
// ARB_clip_control
|
||||
PFNGLCLIPCONTROLPROC glClipControl;
|
||||
|
||||
// ARB_copy_image
|
||||
PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData;
|
||||
|
||||
// Creates a GLFunc object that requires a feature
|
||||
#define GLFUNC_REQUIRES(x, y) { (void**)&x, #x, y }
|
||||
// Creates a GLFunc object with a different function suffix
|
||||
@ -1278,6 +1281,18 @@ const GLFunc gl_function_array[] =
|
||||
// ARB_clip_control
|
||||
GLFUNC_REQUIRES(glClipControl, "GL_ARB_clip_control"),
|
||||
|
||||
// ARB_copy_image
|
||||
GLFUNC_REQUIRES(glCopyImageSubData, "GL_ARB_copy_image"),
|
||||
|
||||
// NV_copy_image
|
||||
GLFUNC_SUFFIX(glCopyImageSubData, NV, "GL_NV_copy_image !GL_ARB_copy_image"),
|
||||
|
||||
// OES_copy_image
|
||||
GLFUNC_SUFFIX(glCopyImageSubData, OES, "GL_OES_copy_image"),
|
||||
|
||||
// EXT_copy_image
|
||||
GLFUNC_SUFFIX(glCopyImageSubData, EXT, "GL_EXT_copy_image !GL_OES_copy_image"),
|
||||
|
||||
// gl_1_1
|
||||
// OpenGL 1.1 is at the end due to a bug in Android's EGL stack.
|
||||
// eglGetProcAddress can only return a finite amount of function pointers
|
||||
|
Reference in New Issue
Block a user