GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize,
const GLvoid *data))
+_COREGL_EXT_SYMBOL(void, glFramebufferTextureMultiviewOVR, (GLenum target, GLenum attachment,
+ GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews))
+_COREGL_EXT_SYMBOL(void, glFramebufferTextureMultisampleMultiviewOVR, (GLenum target,
+ GLenum attachment, GLuint texture, GLint level, GLsizei samples,
+ GLint baseViewIndex, GLsizei numViews))
+
/*
_COREGL_FASTPATH_SUPPORTED_EXTENSION("GL_ANGLE_framebuffer_blit", 1.1, -1)
_COREGL_EXT_SYMBOL(void, glBlitFramebufferANGLE, (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter))
COREGL_OVERRIDE(fastpath_, glSamplerParameterIuivEXT);
COREGL_OVERRIDE(fastpath_, glTexBufferRangeEXT);
COREGL_OVERRIDE(fastpath_, glTexBufferEXT);
+ COREGL_OVERRIDE(fastpath_, glFramebufferTextureMultiviewOVR);
+ COREGL_OVERRIDE(fastpath_, glFramebufferTextureMultisampleMultiviewOVR);
/* Start overriding GLES 3.0 */
if (driver_gl_version >= COREGL_GLAPI_3) {
COREGL_OVERRIDE(fastpath_, glReadBuffer);
finish:
_COREGL_FASTPATH_FUNC_END();
}
+
+void
+fastpath_glFramebufferTextureMultiviewOVR(GLenum target, GLenum attachment, GLuint texture,
+ GLint level, GLint baseViewIndex, GLsizei numViews)
+{
+ GLuint real_obj;
+
+ DEFINE_FASTPAH_GL_FUNC();
+ _COREGL_FASTPATH_FUNC_BEGIN();
+ INIT_FASTPATH_GL_FUNC();
+
+ if (GET_REAL_OBJ(GL_OBJECT_TYPE_TEXTURE, texture, &real_obj) != 1) {
+ _set_gl_error(GL_INVALID_VALUE);
+ goto finish;
+ }
+
+ _orig_fastpath_glFramebufferTextureMultiviewOVR(target, attachment, real_obj,
+ level, baseViewIndex, numViews);
+
+ goto finish;
+
+finish:
+ _COREGL_FASTPATH_FUNC_END();
+}
+
+void
+fastpath_glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment,
+ GLuint texture, GLint level, GLsizei samples,
+ GLint baseViewIndex, GLsizei numViews)
+{
+ GLuint real_obj;
+
+ DEFINE_FASTPAH_GL_FUNC();
+ _COREGL_FASTPATH_FUNC_BEGIN();
+ INIT_FASTPATH_GL_FUNC();
+
+ if (GET_REAL_OBJ(GL_OBJECT_TYPE_TEXTURE, texture, &real_obj) != 1) {
+ _set_gl_error(GL_INVALID_VALUE);
+ goto finish;
+ }
+
+ _orig_fastpath_glFramebufferTextureMultisampleMultiviewOVR(target, attachment, real_obj, level,
+ samples, baseViewIndex, numViews);
+
+ goto finish;
+
+finish:
+ _COREGL_FASTPATH_FUNC_END();
+}
finish:
_COREGL_TRACEPATH_FUNC_END();
}
+
+void
+tracepath_glFramebufferTextureMultiviewOVR(GLenum target, GLenum attachment,
+ GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews)
+{
+ _COREGL_TRACEPATH_FUNC_BEGIN();
+ _orig_tracepath_glFramebufferTextureMultiviewOVR(target, attachment, texture, level,
+ baseViewIndex, numViews);
+ goto finish;
+
+finish:
+ _COREGL_TRACEPATH_FUNC_END();
+}
+
+void
+tracepath_glFramebufferTextureMultisampleMultiviewOVR(GLenum target,
+ GLenum attachment, GLuint texture, GLint level, GLsizei samples,
+ GLint baseViewIndex, GLsizei numViews)
+{
+ _COREGL_TRACEPATH_FUNC_BEGIN();
+ _orig_tracepath_glFramebufferTextureMultisampleMultiviewOVR(target, attachment, texture, level,
+ samples, baseViewIndex, numViews);
+ goto finish;
+
+finish:
+ _COREGL_TRACEPATH_FUNC_END();
+}