1 // Auto-generated with: android/scripts/gen-entries.py --mode=funcargs stream-servers/gl/OpenGLESDispatch/gles3_only.entries --output=include/OpenGLESDispatch/gles3_only_functions.h 2 // DO NOT EDIT THIS FILE 3 4 #ifndef GLES3_ONLY_FUNCTIONS_H 5 #define GLES3_ONLY_FUNCTIONS_H 6 7 #include <GLES/gl.h> 8 #include <GLES3/gl3.h> 9 #define LIST_GLES3_ONLY_FUNCTIONS(X) \ 10 X(GLconstubyteptr, glGetStringi, (GLenum name, GLint index), (name, index)) \ 11 X(void, glGenVertexArrays, (GLsizei n, GLuint* arrays), (n, arrays)) \ 12 X(void, glBindVertexArray, (GLuint array), (array)) \ 13 X(void, glDeleteVertexArrays, (GLsizei n, const GLuint * arrays), (n, arrays)) \ 14 X(GLboolean, glIsVertexArray, (GLuint array), (array)) \ 15 X(void *, glMapBufferRange, (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access), (target, offset, length, access)) \ 16 X(GLboolean, glUnmapBuffer, (GLenum target), (target)) \ 17 X(void, glFlushMappedBufferRange, (GLenum target, GLintptr offset, GLsizeiptr length), (target, offset, length)) \ 18 X(void, glBindBufferRange, (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size), (target, index, buffer, offset, size)) \ 19 X(void, glBindBufferBase, (GLenum target, GLuint index, GLuint buffer), (target, index, buffer)) \ 20 X(void, glCopyBufferSubData, (GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size), (readtarget, writetarget, readoffset, writeoffset, size)) \ 21 X(void, glClearBufferiv, (GLenum buffer, GLint drawBuffer, const GLint * value), (buffer, drawBuffer, value)) \ 22 X(void, glClearBufferuiv, (GLenum buffer, GLint drawBuffer, const GLuint * value), (buffer, drawBuffer, value)) \ 23 X(void, glClearBufferfv, (GLenum buffer, GLint drawBuffer, const GLfloat * value), (buffer, drawBuffer, value)) \ 24 X(void, glClearBufferfi, (GLenum buffer, GLint drawBuffer, GLfloat depth, GLint stencil), (buffer, drawBuffer, depth, stencil)) \ 25 X(void, glGetBufferParameteri64v, (GLenum target, GLenum value, GLint64 * data), (target, value, data)) \ 26 X(void, glGetBufferPointerv, (GLenum target, GLenum pname, GLvoid ** params), (target, pname, params)) \ 27 X(void, glUniformBlockBinding, (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding), (program, uniformBlockIndex, uniformBlockBinding)) \ 28 X(GLuint, glGetUniformBlockIndex, (GLuint program, const GLchar * uniformBlockName), (program, uniformBlockName)) \ 29 X(void, glGetUniformIndices, (GLuint program, GLsizei uniformCount, const GLchar ** uniformNames, GLuint * uniformIndices), (program, uniformCount, uniformNames, uniformIndices)) \ 30 X(void, glGetActiveUniformBlockiv, (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params), (program, uniformBlockIndex, pname, params)) \ 31 X(void, glGetActiveUniformBlockName, (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName), (program, uniformBlockIndex, bufSize, length, uniformBlockName)) \ 32 X(void, glUniform1ui, (GLint location, GLuint v0), (location, v0)) \ 33 X(void, glUniform2ui, (GLint location, GLuint v0, GLuint v1), (location, v0, v1)) \ 34 X(void, glUniform3ui, (GLint location, GLuint v0, GLuint v1, GLuint v2), (location, v0, v1, v2)) \ 35 X(void, glUniform4ui, (GLint location, GLint v0, GLuint v1, GLuint v2, GLuint v3), (location, v0, v1, v2, v3)) \ 36 X(void, glUniform1uiv, (GLint location, GLsizei count, const GLuint * value), (location, count, value)) \ 37 X(void, glUniform2uiv, (GLint location, GLsizei count, const GLuint * value), (location, count, value)) \ 38 X(void, glUniform3uiv, (GLint location, GLsizei count, const GLuint * value), (location, count, value)) \ 39 X(void, glUniform4uiv, (GLint location, GLsizei count, const GLuint * value), (location, count, value)) \ 40 X(void, glUniformMatrix2x3fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value)) \ 41 X(void, glUniformMatrix3x2fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value)) \ 42 X(void, glUniformMatrix2x4fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value)) \ 43 X(void, glUniformMatrix4x2fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value)) \ 44 X(void, glUniformMatrix3x4fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value)) \ 45 X(void, glUniformMatrix4x3fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value), (location, count, transpose, value)) \ 46 X(void, glGetUniformuiv, (GLuint program, GLint location, GLuint * params), (program, location, params)) \ 47 X(void, glGetActiveUniformsiv, (GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params), (program, uniformCount, uniformIndices, pname, params)) \ 48 X(void, glVertexAttribI4i, (GLuint index, GLint v0, GLint v1, GLint v2, GLint v3), (index, v0, v1, v2, v3)) \ 49 X(void, glVertexAttribI4ui, (GLuint index, GLuint v0, GLuint v1, GLuint v2, GLuint v3), (index, v0, v1, v2, v3)) \ 50 X(void, glVertexAttribI4iv, (GLuint index, const GLint * v), (index, v)) \ 51 X(void, glVertexAttribI4uiv, (GLuint index, const GLuint * v), (index, v)) \ 52 X(void, glVertexAttribIPointer, (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer), (index, size, type, stride, pointer)) \ 53 X(void, glGetVertexAttribIiv, (GLuint index, GLenum pname, GLint * params), (index, pname, params)) \ 54 X(void, glGetVertexAttribIuiv, (GLuint index, GLenum pname, GLuint * params), (index, pname, params)) \ 55 X(void, glVertexAttribDivisor, (GLuint index, GLuint divisor), (index, divisor)) \ 56 X(void, glDrawArraysInstanced, (GLenum mode, GLint first, GLsizei count, GLsizei primcount), (mode, first, count, primcount)) \ 57 X(void, glDrawElementsInstanced, (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount), (mode, count, type, indices, primcount)) \ 58 X(void, glDrawRangeElements, (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices), (mode, start, end, count, type, indices)) \ 59 X(GLsync, glFenceSync, (GLenum condition, GLbitfield flags), (condition, flags)) \ 60 X(GLenum, glClientWaitSync, (GLsync wait_on, GLbitfield flags, GLuint64 timeout), (wait_on, flags, timeout)) \ 61 X(void, glWaitSync, (GLsync wait_on, GLbitfield flags, GLuint64 timeout), (wait_on, flags, timeout)) \ 62 X(void, glDeleteSync, (GLsync to_delete), (to_delete)) \ 63 X(GLboolean, glIsSync, (GLsync sync), (sync)) \ 64 X(void, glGetSynciv, (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values), (sync, pname, bufSize, length, values)) \ 65 X(void, glDrawBuffers, (GLsizei n, const GLenum * bufs), (n, bufs)) \ 66 X(void, glReadBuffer, (GLenum src), (src)) \ 67 X(void, glBlitFramebuffer, (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter), (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)) \ 68 X(void, glInvalidateFramebuffer, (GLenum target, GLsizei numAttachments, const GLenum * attachments), (target, numAttachments, attachments)) \ 69 X(void, glInvalidateSubFramebuffer, (GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height), (target, numAttachments, attachments, x, y, width, height)) \ 70 X(void, glFramebufferTextureLayer, (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer), (target, attachment, texture, level, layer)) \ 71 X(void, glGetInternalformativ, (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params), (target, internalformat, pname, bufSize, params)) \ 72 X(void, glTexStorage2D, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height), (target, levels, internalformat, width, height)) \ 73 X(void, glBeginTransformFeedback, (GLenum primitiveMode), (primitiveMode)) \ 74 X(void, glEndTransformFeedback, (), ()) \ 75 X(void, glGenTransformFeedbacks, (GLsizei n, GLuint * ids), (n, ids)) \ 76 X(void, glDeleteTransformFeedbacks, (GLsizei n, const GLuint * ids), (n, ids)) \ 77 X(void, glBindTransformFeedback, (GLenum target, GLuint id), (target, id)) \ 78 X(void, glPauseTransformFeedback, (), ()) \ 79 X(void, glResumeTransformFeedback, (), ()) \ 80 X(GLboolean, glIsTransformFeedback, (GLuint id), (id)) \ 81 X(void, glTransformFeedbackVaryings, (GLuint program, GLsizei count, const char ** varyings, GLenum bufferMode), (program, count, varyings, bufferMode)) \ 82 X(void, glGetTransformFeedbackVarying, (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, char * name), (program, index, bufSize, length, size, type, name)) \ 83 X(void, glGenSamplers, (GLsizei n, GLuint * samplers), (n, samplers)) \ 84 X(void, glDeleteSamplers, (GLsizei n, const GLuint * samplers), (n, samplers)) \ 85 X(void, glBindSampler, (GLuint unit, GLuint sampler), (unit, sampler)) \ 86 X(void, glSamplerParameterf, (GLuint sampler, GLenum pname, GLfloat param), (sampler, pname, param)) \ 87 X(void, glSamplerParameteri, (GLuint sampler, GLenum pname, GLint param), (sampler, pname, param)) \ 88 X(void, glSamplerParameterfv, (GLuint sampler, GLenum pname, const GLfloat * params), (sampler, pname, params)) \ 89 X(void, glSamplerParameteriv, (GLuint sampler, GLenum pname, const GLint * params), (sampler, pname, params)) \ 90 X(void, glGetSamplerParameterfv, (GLuint sampler, GLenum pname, GLfloat * params), (sampler, pname, params)) \ 91 X(void, glGetSamplerParameteriv, (GLuint sampler, GLenum pname, GLint * params), (sampler, pname, params)) \ 92 X(GLboolean, glIsSampler, (GLuint sampler), (sampler)) \ 93 X(void, glGenQueries, (GLsizei n, GLuint * queries), (n, queries)) \ 94 X(void, glDeleteQueries, (GLsizei n, const GLuint * queries), (n, queries)) \ 95 X(void, glBeginQuery, (GLenum target, GLuint query), (target, query)) \ 96 X(void, glEndQuery, (GLenum target), (target)) \ 97 X(void, glGetQueryiv, (GLenum target, GLenum pname, GLint * params), (target, pname, params)) \ 98 X(void, glGetQueryObjectuiv, (GLuint query, GLenum pname, GLuint * params), (query, pname, params)) \ 99 X(GLboolean, glIsQuery, (GLuint query), (query)) \ 100 X(void, glProgramParameteri, (GLuint program, GLenum pname, GLint value), (program, pname, value)) \ 101 X(void, glProgramBinary, (GLuint program, GLenum binaryFormat, const void * binary, GLsizei length), (program, binaryFormat, binary, length)) \ 102 X(void, glGetProgramBinary, (GLuint program, GLsizei bufsize, GLsizei * length, GLenum * binaryFormat, void * binary), (program, bufsize, length, binaryFormat, binary)) \ 103 X(GLint, glGetFragDataLocation, (GLuint program, const char * name), (program, name)) \ 104 X(void, glGetInteger64v, (GLenum pname, GLint64 * data), (pname, data)) \ 105 X(void, glGetIntegeri_v, (GLenum target, GLuint index, GLint * data), (target, index, data)) \ 106 X(void, glGetInteger64i_v, (GLenum target, GLuint index, GLint64 * data), (target, index, data)) \ 107 X(void, glTexImage3D, (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * data), (target, level, internalFormat, width, height, depth, border, format, type, data)) \ 108 X(void, glTexStorage3D, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth), (target, levels, internalformat, width, height, depth)) \ 109 X(void, glTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * data), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data)) \ 110 X(void, glCompressedTexImage3D, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data), (target, level, internalformat, width, height, depth, border, imageSize, data)) \ 111 X(void, glCompressedTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data), (target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data)) \ 112 X(void, glCopyTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height), (target, level, xoffset, yoffset, zoffset, x, y, width, height)) \ 113 114 115 #endif // GLES3_ONLY_FUNCTIONS_H 116