Add missing glNamedFramebufferTextureMultiviewOVR to XML / headers Fixes #562
diff --git a/api/GL/glcorearb.h b/api/GL/glcorearb.h index a46b549..2d95c38 100755 --- a/api/GL/glcorearb.h +++ b/api/GL/glcorearb.h
@@ -5979,8 +5979,10 @@ #define GL_MAX_VIEWS_OVR 0x9631 #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); +GLAPI void APIENTRY glNamedFramebufferTextureMultiviewOVR (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); #endif #endif /* GL_OVR_multiview */
diff --git a/api/GL/glext.h b/api/GL/glext.h index 480d4da..bd86320 100644 --- a/api/GL/glext.h +++ b/api/GL/glext.h
@@ -32,7 +32,7 @@ #define GLAPI extern #endif -#define GL_GLEXT_VERSION 20231129 +#define GL_GLEXT_VERSION 20240327 #include <KHR/khrplatform.h> @@ -11978,8 +11978,10 @@ #define GL_MAX_VIEWS_OVR 0x9631 #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); +GLAPI void APIENTRY glNamedFramebufferTextureMultiviewOVR (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); #endif #endif /* GL_OVR_multiview */
diff --git a/api/GLES2/gl2ext.h b/api/GLES2/gl2ext.h index 63b530b..32caaf9 100644 --- a/api/GLES2/gl2ext.h +++ b/api/GLES2/gl2ext.h
@@ -19,7 +19,7 @@ #define GL_APIENTRYP GL_APIENTRY* #endif -/* Generated on date 20231129 */ +/* Generated on date 20240327 */ /* Generated C header for: * API: gles2 @@ -3838,8 +3838,10 @@ #define GL_MAX_VIEWS_OVR 0x9631 #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); +typedef void (GL_APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); +GL_APICALL void GL_APIENTRY glNamedFramebufferTextureMultiviewOVR (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); #endif #endif /* GL_OVR_multiview */
diff --git a/xml/gl.xml b/xml/gl.xml index fc6f7ea..e590b7f 100644 --- a/xml/gl.xml +++ b/xml/gl.xml
@@ -19372,6 +19372,15 @@ <param kind="CheckedInt32"><ptype>GLint</ptype> <name>layer</name></param> </command> <command> + <proto>void <name>glNamedFramebufferTextureMultiviewOVR</name></proto> + <param class="framebuffer"><ptype>GLuint</ptype> <name>framebuffer</name></param> + <param group="FramebufferAttachment"><ptype>GLenum</ptype> <name>attachment</name></param> + <param class="texture"><ptype>GLuint</ptype> <name>texture</name></param> + <param kind="CheckedInt32"><ptype>GLint</ptype> <name>level</name></param> + <param><ptype>GLint</ptype> <name>baseViewIndex</name></param> + <param><ptype>GLsizei</ptype> <name>numViews</name></param> + </command> + <command> <proto>void <name>glNamedProgramLocalParameter4dEXT</name></proto> <param class="program"><ptype>GLuint</ptype> <name>program</name></param> <param group="ProgramTarget"><ptype>GLenum</ptype> <name>target</name></param> @@ -46579,6 +46588,9 @@ <enum name="GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR"/> <command name="glFramebufferTextureMultiviewOVR"/> </require> + <require comment="Supported only if ARB_direct_state_access or OpenGL 4.5 is supported"> + <command name="glNamedFramebufferTextureMultiviewOVR"/> + </require> </extension> <extension name="GL_OVR_multiview2" supported="gl|glcore|gles2"/> <extension name="GL_OVR_multiview_multisampled_render_to_texture" supported="gles2">