summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYahan Zhou <yahan@google.com>2017-02-09 16:41:51 -0800
committerGreg Hartman <ghartman@google.com>2018-08-23 17:30:51 -0700
commit19b06527b88a7729dc67c1fa467f090b8a12e11b (patch)
tree7c1e380c30a060552eab89a24fb42c0ccb1f1649
parent30829b1706d1b838b23bb61bbe71e73d2cd8bb6a (diff)
downloadopengl-transport-19b06527b88a7729dc67c1fa467f090b8a12e11b.tar.gz
[GPU snapshot] Snapshot translator GLES2 context
This patch snapshot the translator GLES2 context as it is. Namespaces and GL objects will be in another patch. Hardware GPU restore will be in another patch. Change-Id: I12cd6d0b7174414bce0bd9143fcdf21786f12ba4
-rw-r--r--host/libs/virglrenderer/OpenGLESDispatch/gles2_extensions.entries1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/libs/virglrenderer/OpenGLESDispatch/gles2_extensions.entries b/host/libs/virglrenderer/OpenGLESDispatch/gles2_extensions.entries
index 06ee78fa2..99abf3c13 100644
--- a/host/libs/virglrenderer/OpenGLESDispatch/gles2_extensions.entries
+++ b/host/libs/virglrenderer/OpenGLESDispatch/gles2_extensions.entries
@@ -4,3 +4,4 @@
void glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
void glReleaseShaderCompiler(void);
void glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length);
+void glVertexAttribPointerWithDataSize(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr, GLsizei dataSize);