1/* WARNING: This is auto-generated file. Do not modify, since changes will 2 * be lost! Modify the generating script instead. 3 * 4 * Generated from Khronos GL API description (gl.xml) revision acc85f4b76949b015c0354bd8c20a1076a49b1cf. 5 */ 6 7if (de::contains(extSet, "GL_KHR_blend_equation_advanced")) 8{ 9 gl->blendBarrier = (glBlendBarrierFunc) loader->get("glBlendBarrierKHR"); 10} 11 12if (de::contains(extSet, "GL_KHR_debug")) 13{ 14 gl->debugMessageCallback = (glDebugMessageCallbackFunc) loader->get("glDebugMessageCallbackKHR"); 15 gl->debugMessageControl = (glDebugMessageControlFunc) loader->get("glDebugMessageControlKHR"); 16 gl->debugMessageInsert = (glDebugMessageInsertFunc) loader->get("glDebugMessageInsertKHR"); 17 gl->getDebugMessageLog = (glGetDebugMessageLogFunc) loader->get("glGetDebugMessageLogKHR"); 18 gl->getObjectLabel = (glGetObjectLabelFunc) loader->get("glGetObjectLabelKHR"); 19 gl->getObjectPtrLabel = (glGetObjectPtrLabelFunc) loader->get("glGetObjectPtrLabelKHR"); 20 gl->getPointerv = (glGetPointervFunc) loader->get("glGetPointervKHR"); 21 gl->objectLabel = (glObjectLabelFunc) loader->get("glObjectLabelKHR"); 22 gl->objectPtrLabel = (glObjectPtrLabelFunc) loader->get("glObjectPtrLabelKHR"); 23 gl->popDebugGroup = (glPopDebugGroupFunc) loader->get("glPopDebugGroupKHR"); 24 gl->pushDebugGroup = (glPushDebugGroupFunc) loader->get("glPushDebugGroupKHR"); 25} 26 27if (de::contains(extSet, "GL_EXT_robustness")) 28{ 29 gl->getGraphicsResetStatus = (glGetGraphicsResetStatusFunc) loader->get("glGetGraphicsResetStatusEXT"); 30 gl->getnUniformfv = (glGetnUniformfvFunc) loader->get("glGetnUniformfvEXT"); 31 gl->getnUniformiv = (glGetnUniformivFunc) loader->get("glGetnUniformivEXT"); 32 gl->readnPixels = (glReadnPixelsFunc) loader->get("glReadnPixelsEXT"); 33} 34 35if (de::contains(extSet, "GL_KHR_robustness")) 36{ 37 gl->getGraphicsResetStatus = (glGetGraphicsResetStatusFunc) loader->get("glGetGraphicsResetStatusKHR"); 38 gl->getnUniformfv = (glGetnUniformfvFunc) loader->get("glGetnUniformfvKHR"); 39 gl->getnUniformiv = (glGetnUniformivFunc) loader->get("glGetnUniformivKHR"); 40 gl->getnUniformuiv = (glGetnUniformuivFunc) loader->get("glGetnUniformuivKHR"); 41 gl->readnPixels = (glReadnPixelsFunc) loader->get("glReadnPixelsKHR"); 42} 43 44if (de::contains(extSet, "GL_KHR_parallel_shader_compile")) 45{ 46 gl->maxShaderCompilerThreadsKHR = (glMaxShaderCompilerThreadsKHRFunc) loader->get("glMaxShaderCompilerThreadsKHR"); 47} 48 49if (de::contains(extSet, "GL_EXT_tessellation_shader")) 50{ 51 gl->patchParameteri = (glPatchParameteriFunc) loader->get("glPatchParameteriEXT"); 52} 53 54if (de::contains(extSet, "GL_EXT_geometry_shader")) 55{ 56 gl->framebufferTexture = (glFramebufferTextureFunc) loader->get("glFramebufferTextureEXT"); 57} 58 59if (de::contains(extSet, "GL_EXT_texture_buffer")) 60{ 61 gl->texBuffer = (glTexBufferFunc) loader->get("glTexBufferEXT"); 62 gl->texBufferRange = (glTexBufferRangeFunc) loader->get("glTexBufferRangeEXT"); 63} 64 65if (de::contains(extSet, "GL_EXT_primitive_bounding_box")) 66{ 67 gl->primitiveBoundingBox = (glPrimitiveBoundingBoxFunc) loader->get("glPrimitiveBoundingBoxEXT"); 68} 69 70if (de::contains(extSet, "GL_EXT_copy_image")) 71{ 72 gl->copyImageSubData = (glCopyImageSubDataFunc) loader->get("glCopyImageSubDataEXT"); 73} 74 75if (de::contains(extSet, "GL_EXT_draw_buffers_indexed")) 76{ 77 gl->blendEquationSeparatei = (glBlendEquationSeparateiFunc) loader->get("glBlendEquationSeparateiEXT"); 78 gl->blendEquationi = (glBlendEquationiFunc) loader->get("glBlendEquationiEXT"); 79 gl->blendFuncSeparatei = (glBlendFuncSeparateiFunc) loader->get("glBlendFuncSeparateiEXT"); 80 gl->blendFunci = (glBlendFunciFunc) loader->get("glBlendFunciEXT"); 81 gl->colorMaski = (glColorMaskiFunc) loader->get("glColorMaskiEXT"); 82 gl->disablei = (glDisableiFunc) loader->get("glDisableiEXT"); 83 gl->enablei = (glEnableiFunc) loader->get("glEnableiEXT"); 84 gl->isEnabledi = (glIsEnablediFunc) loader->get("glIsEnablediEXT"); 85} 86 87if (de::contains(extSet, "GL_EXT_draw_elements_base_vertex")) 88{ 89 gl->drawElementsBaseVertex = (glDrawElementsBaseVertexFunc) loader->get("glDrawElementsBaseVertexEXT"); 90 gl->drawElementsInstancedBaseVertex = (glDrawElementsInstancedBaseVertexFunc) loader->get("glDrawElementsInstancedBaseVertexEXT"); 91 gl->drawRangeElementsBaseVertex = (glDrawRangeElementsBaseVertexFunc) loader->get("glDrawRangeElementsBaseVertexEXT"); 92 gl->multiDrawElementsBaseVertex = (glMultiDrawElementsBaseVertexFunc) loader->get("glMultiDrawElementsBaseVertexEXT"); 93} 94 95if (de::contains(extSet, "GL_EXT_texture_storage")) 96{ 97 gl->texStorage1D = (glTexStorage1DFunc) loader->get("glTexStorage1DEXT"); 98 gl->texStorage2D = (glTexStorage2DFunc) loader->get("glTexStorage2DEXT"); 99 gl->texStorage3D = (glTexStorage3DFunc) loader->get("glTexStorage3DEXT"); 100 gl->textureStorage1DEXT = (glTextureStorage1DEXTFunc) loader->get("glTextureStorage1DEXT"); 101 gl->textureStorage2DEXT = (glTextureStorage2DEXTFunc) loader->get("glTextureStorage2DEXT"); 102 gl->textureStorage3DEXT = (glTextureStorage3DEXTFunc) loader->get("glTextureStorage3DEXT"); 103} 104 105if (de::contains(extSet, "GL_EXT_texture_border_clamp")) 106{ 107 gl->getSamplerParameterIiv = (glGetSamplerParameterIivFunc) loader->get("glGetSamplerParameterIivEXT"); 108 gl->getSamplerParameterIuiv = (glGetSamplerParameterIuivFunc) loader->get("glGetSamplerParameterIuivEXT"); 109 gl->getTexParameterIiv = (glGetTexParameterIivFunc) loader->get("glGetTexParameterIivEXT"); 110 gl->getTexParameterIuiv = (glGetTexParameterIuivFunc) loader->get("glGetTexParameterIuivEXT"); 111 gl->samplerParameterIiv = (glSamplerParameterIivFunc) loader->get("glSamplerParameterIivEXT"); 112 gl->samplerParameterIuiv = (glSamplerParameterIuivFunc) loader->get("glSamplerParameterIuivEXT"); 113 gl->texParameterIiv = (glTexParameterIivFunc) loader->get("glTexParameterIivEXT"); 114 gl->texParameterIuiv = (glTexParameterIuivFunc) loader->get("glTexParameterIuivEXT"); 115} 116 117if (de::contains(extSet, "GL_EXT_multisampled_render_to_texture")) 118{ 119 gl->framebufferTexture2DMultisampleEXT = (glFramebufferTexture2DMultisampleEXTFunc) loader->get("glFramebufferTexture2DMultisampleEXT"); 120 gl->renderbufferStorageMultisampleEXT = (glRenderbufferStorageMultisampleEXTFunc) loader->get("glRenderbufferStorageMultisampleEXT"); 121} 122 123if (de::contains(extSet, "GL_EXT_debug_marker")) 124{ 125 gl->insertEventMarkerEXT = (glInsertEventMarkerEXTFunc) loader->get("glInsertEventMarkerEXT"); 126 gl->popGroupMarkerEXT = (glPopGroupMarkerEXTFunc) loader->get("glPopGroupMarkerEXT"); 127 gl->pushGroupMarkerEXT = (glPushGroupMarkerEXTFunc) loader->get("glPushGroupMarkerEXT"); 128} 129 130if (de::contains(extSet, "GL_EXT_polygon_offset_clamp")) 131{ 132 gl->polygonOffsetClamp = (glPolygonOffsetClampFunc) loader->get("glPolygonOffsetClampEXT"); 133} 134 135if (de::contains(extSet, "GL_OES_EGL_image")) 136{ 137 gl->eglImageTargetRenderbufferStorageOES = (glEGLImageTargetRenderbufferStorageOESFunc) loader->get("glEGLImageTargetRenderbufferStorageOES"); 138 gl->eglImageTargetTexture2DOES = (glEGLImageTargetTexture2DOESFunc) loader->get("glEGLImageTargetTexture2DOES"); 139} 140 141if (de::contains(extSet, "GL_OES_texture_3D")) 142{ 143 gl->compressedTexImage3DOES = (glCompressedTexImage3DOESFunc) loader->get("glCompressedTexImage3DOES"); 144 gl->compressedTexSubImage3DOES = (glCompressedTexSubImage3DOESFunc) loader->get("glCompressedTexSubImage3DOES"); 145 gl->copyTexSubImage3DOES = (glCopyTexSubImage3DOESFunc) loader->get("glCopyTexSubImage3DOES"); 146 gl->framebufferTexture3DOES = (glFramebufferTexture3DOESFunc) loader->get("glFramebufferTexture3DOES"); 147 gl->texImage3DOES = (glTexImage3DOESFunc) loader->get("glTexImage3DOES"); 148 gl->texSubImage3DOES = (glTexSubImage3DOESFunc) loader->get("glTexSubImage3DOES"); 149} 150 151if (de::contains(extSet, "GL_OES_texture_storage_multisample_2d_array")) 152{ 153 gl->texStorage3DMultisample = (glTexStorage3DMultisampleFunc) loader->get("glTexStorage3DMultisampleOES"); 154} 155 156if (de::contains(extSet, "GL_OES_sample_shading")) 157{ 158 gl->minSampleShading = (glMinSampleShadingFunc) loader->get("glMinSampleShadingOES"); 159} 160 161if (de::contains(extSet, "GL_OES_mapbuffer")) 162{ 163 gl->getBufferPointerv = (glGetBufferPointervFunc) loader->get("glGetBufferPointervOES"); 164 gl->mapBuffer = (glMapBufferFunc) loader->get("glMapBufferOES"); 165 gl->unmapBuffer = (glUnmapBufferFunc) loader->get("glUnmapBufferOES"); 166} 167 168if (de::contains(extSet, "GL_OES_vertex_array_object")) 169{ 170 gl->bindVertexArray = (glBindVertexArrayFunc) loader->get("glBindVertexArrayOES"); 171 gl->deleteVertexArrays = (glDeleteVertexArraysFunc) loader->get("glDeleteVertexArraysOES"); 172 gl->genVertexArrays = (glGenVertexArraysFunc) loader->get("glGenVertexArraysOES"); 173 gl->isVertexArray = (glIsVertexArrayFunc) loader->get("glIsVertexArrayOES"); 174} 175 176if (de::contains(extSet, "GL_OES_viewport_array")) 177{ 178 gl->depthRangeArrayfvOES = (glDepthRangeArrayfvOESFunc) loader->get("glDepthRangeArrayfvOES"); 179 gl->depthRangeIndexedfOES = (glDepthRangeIndexedfOESFunc) loader->get("glDepthRangeIndexedfOES"); 180 gl->disablei = (glDisableiFunc) loader->get("glDisableiOES"); 181 gl->enablei = (glEnableiFunc) loader->get("glEnableiOES"); 182 gl->getFloati_v = (glGetFloati_vFunc) loader->get("glGetFloati_vOES"); 183 gl->isEnabledi = (glIsEnablediFunc) loader->get("glIsEnablediOES"); 184 gl->scissorArrayv = (glScissorArrayvFunc) loader->get("glScissorArrayvOES"); 185 gl->scissorIndexed = (glScissorIndexedFunc) loader->get("glScissorIndexedOES"); 186 gl->scissorIndexedv = (glScissorIndexedvFunc) loader->get("glScissorIndexedvOES"); 187 gl->viewportArrayv = (glViewportArrayvFunc) loader->get("glViewportArrayvOES"); 188 gl->viewportIndexedf = (glViewportIndexedfFunc) loader->get("glViewportIndexedfOES"); 189 gl->viewportIndexedfv = (glViewportIndexedfvFunc) loader->get("glViewportIndexedfvOES"); 190} 191 192if (de::contains(extSet, "GL_NV_internalformat_sample_query")) 193{ 194 gl->getInternalformatSampleivNV = (glGetInternalformatSampleivNVFunc) loader->get("glGetInternalformatSampleivNV"); 195} 196 197if (de::contains(extSet, "GL_OES_draw_elements_base_vertex")) 198{ 199 gl->drawElementsBaseVertex = (glDrawElementsBaseVertexFunc) loader->get("glDrawElementsBaseVertexOES"); 200 gl->drawElementsInstancedBaseVertex = (glDrawElementsInstancedBaseVertexFunc) loader->get("glDrawElementsInstancedBaseVertexOES"); 201 gl->drawRangeElementsBaseVertex = (glDrawRangeElementsBaseVertexFunc) loader->get("glDrawRangeElementsBaseVertexOES"); 202 gl->multiDrawElementsBaseVertex = (glMultiDrawElementsBaseVertexFunc) loader->get("glMultiDrawElementsBaseVertexEXT"); 203} 204 205if (de::contains(extSet, "GL_OVR_multiview")) 206{ 207 gl->framebufferTextureMultiviewOVR = (glFramebufferTextureMultiviewOVRFunc) loader->get("glFramebufferTextureMultiviewOVR"); 208} 209 210if (de::contains(extSet, "GL_OVR_multiview_multisampled_render_to_texture")) 211{ 212 gl->framebufferTextureMultisampleMultiviewOVR = (glFramebufferTextureMultisampleMultiviewOVRFunc) loader->get("glFramebufferTextureMultisampleMultiviewOVR"); 213} 214