1!gles_extensions 2namespaces translator,gles1 3 4# Common GLES 1.x / 2.0 extension functions 5GLboolean glIsRenderbufferEXT(GLuint renderbuffer); 6void glBindRenderbufferEXT(GLenum target, GLuint renderbuffer); 7void glDeleteRenderbuffersEXT(GLsizei n, const GLuint *renderbuffers); 8void glGenRenderbuffersEXT(GLsizei n, GLuint *renderbuffers); 9void glRenderbufferStorageEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 10void glGetRenderbufferParameterivEXT(GLenum target, GLenum pname, GLint *params); 11GLboolean glIsFramebufferEXT(GLuint framebuffer); 12void glBindFramebufferEXT(GLenum target, GLuint framebuffer); 13void glDeleteFramebuffersEXT(GLsizei n, const GLuint *framebuffers); 14void glGenFramebuffersEXT(GLsizei n, GLuint *framebuffers); 15GLenum glCheckFramebufferStatusEXT(GLenum target); 16void glFramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 17void glFramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 18void glFramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 19void glFramebufferRenderbufferEXT(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 20void glGetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment, GLenum pname, GLint *params); 21void glGenerateMipmapEXT(GLenum target); 22GLenum glGetGraphicsResetStatusEXT(void); 23void glReadnPixelsEXT(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 24void glGetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, float *params); 25void glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params); 26 27# The following extensions are used by GLESv1Dispatch and GLESv2Dispatch, but not by GLDispatch 28void glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image); 29void glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image); 30 31# For benchmarking draw call overhead 32void glDrawArraysNullAEMU(GLenum mode, GLint first, GLsizei count); 33void glDrawElementsNullAEMU(GLenum mode, GLsizei count, GLenum type, const void *indices); 34 35# Vulkan/GL interop 36# https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_external_objects.txt 37# Common between GL_EXT_memory_object and GL_EXT_semaphore 38void glGetUnsignedBytevEXT(GLenum pname, GLubyte* data); 39void glGetUnsignedBytei_vEXT(GLenum target, GLuint index, GLubyte* data); 40 41# GL_EXT_memory_object 42void glImportMemoryFdEXT(GLuint memory, GLuint64 size, GLenum handleType, GLint fd); 43void glImportMemoryWin32HandleEXT(GLuint memory, GLuint64 size, GLenum handleType, void* handle); 44void glDeleteMemoryObjectsEXT(GLsizei n, const GLuint *memoryObjects); 45GLboolean glIsMemoryObjectEXT(GLuint memoryObject); 46void glCreateMemoryObjectsEXT(GLsizei n, GLuint *memoryObjects); 47void glMemoryObjectParameterivEXT(GLuint memoryObject, GLenum pname, const GLint *params); 48void glGetMemoryObjectParameterivEXT(GLuint memoryObject, GLenum pname, GLint *params); 49void glTexStorageMem2DEXT(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); 50void glTexStorageMem2DMultisampleEXT(GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 51void glTexStorageMem3DEXT(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); 52void glTexStorageMem3DMultisampleEXT(GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); 53void glBufferStorageMemEXT(GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); 54void glTexParameteriHOST(GLenum target, GLenum pname, GLint param); 55 56# Not included: direct-state-access, 1D function pointers 57 58# GL_EXT_semaphore 59void glImportSemaphoreFdEXT(GLuint semaphore, GLenum handleType, GLint fd); 60void glImportSemaphoreWin32HandleEXT(GLuint semaphore, GLenum handleType, void* handle); 61void glGenSemaphoresEXT(GLsizei n, GLuint *semaphores); 62void glDeleteSemaphoresEXT(GLsizei n, const GLuint *semaphores); 63GLboolean glIsSemaphoreEXT(GLuint semaphore); 64void glSemaphoreParameterui64vEXT(GLuint semaphore, GLenum pname, const GLuint64 *params); 65void glGetSemaphoreParameterui64vEXT(GLuint semaphore, GLenum pname, GLuint64 *params); 66void glWaitSemaphoreEXT(GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); 67void glSignalSemaphoreEXT(GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts); 68 69# CUDA interop 70GLuint glGetGlobalTexName(GLuint localTexName); 71