summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLingfeng Yang <lfy@google.com>2017-10-27 09:06:59 -0700
committerGreg Hartman <ghartman@google.com>2018-08-23 17:30:51 -0700
commit261800dfaef8091d79f990720026e7f1b8eb81e2 (patch)
treedd72bce5c3991eea0114ea980c5b706d45e49528
parent80d30b1fb0183e86e71f09d3f6d119f765d7aa27 (diff)
downloadopengl-transport-261800dfaef8091d79f990720026e7f1b8eb81e2.tar.gz
[core-profile] Consistent FBO api usage
bug: 68335353 Even if the underlying GPU supports core profile, the EXT function pointers for FBOs may be missing / incompatible, or the suffix-less ARB function pointers are missing. + Add a fallback to the ARB suffixed functions (for older GPUs), and log failures to find GL functions. Change-Id: Iba76262b7da14a84766ed89eb739a90e022f4a45
-rw-r--r--host/libs/virglrenderer/OpenGLESDispatch/gles2_core.entries1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/libs/virglrenderer/OpenGLESDispatch/gles2_core.entries b/host/libs/virglrenderer/OpenGLESDispatch/gles2_core.entries
index 24e2214d2..0eaa0aec0 100644
--- a/host/libs/virglrenderer/OpenGLESDispatch/gles2_core.entries
+++ b/host/libs/virglrenderer/OpenGLESDispatch/gles2_core.entries
@@ -70,6 +70,7 @@ void glBindFramebuffer(GLenum target, GLuint framebuffer);
void glGenFramebuffers(GLsizei n, GLuint* framebuffers);
void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
GLenum glCheckFramebufferStatus(GLenum target);
+GLboolean glIsFramebuffer(GLuint framebuffer);
void glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers);
GLboolean glIsRenderbuffer(GLuint renderbuffer);