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 32093. 5 */ 6 7 if (de::contains(extSet, "GL_KHR_blend_equation_advanced")) 8 { 9 gl->blendBarrier = (glBlendBarrierFunc) loader->get("glBlendBarrierKHR"); 10 } 11 12 if (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 27 if (de::contains(extSet, "GL_EXT_tessellation_shader")) 28 { 29 gl->patchParameteri = (glPatchParameteriFunc) loader->get("glPatchParameteriEXT"); 30 } 31 32 if (de::contains(extSet, "GL_EXT_geometry_shader")) 33 { 34 gl->framebufferTexture = (glFramebufferTextureFunc) loader->get("glFramebufferTextureEXT"); 35 } 36 37 if (de::contains(extSet, "GL_EXT_texture_buffer")) 38 { 39 gl->texBuffer = (glTexBufferFunc) loader->get("glTexBufferEXT"); 40 gl->texBufferRange = (glTexBufferRangeFunc) loader->get("glTexBufferRangeEXT"); 41 } 42 43 if (de::contains(extSet, "GL_EXT_primitive_bounding_box")) 44 { 45 gl->primitiveBoundingBox = (glPrimitiveBoundingBoxFunc) loader->get("glPrimitiveBoundingBoxEXT"); 46 } 47 48 if (de::contains(extSet, "GL_OES_EGL_image")) 49 { 50 gl->eglImageTargetRenderbufferStorageOES = (glEGLImageTargetRenderbufferStorageOESFunc) loader->get("glEGLImageTargetRenderbufferStorageOES"); 51 gl->eglImageTargetTexture2DOES = (glEGLImageTargetTexture2DOESFunc) loader->get("glEGLImageTargetTexture2DOES"); 52 } 53 54 if (de::contains(extSet, "GL_OES_texture_storage_multisample_2d_array")) 55 { 56 gl->texStorage3DMultisample = (glTexStorage3DMultisampleFunc) loader->get("glTexStorage3DMultisampleOES"); 57 } 58 59 if (de::contains(extSet, "GL_OES_sample_shading")) 60 { 61 gl->minSampleShading = (glMinSampleShadingFunc) loader->get("glMinSampleShadingOES"); 62 } 63 64 if (de::contains(extSet, "GL_EXT_copy_image")) 65 { 66 gl->copyImageSubData = (glCopyImageSubDataFunc) loader->get("glCopyImageSubDataEXT"); 67 } 68 69 if (de::contains(extSet, "GL_EXT_draw_buffers_indexed")) 70 { 71 gl->blendEquationSeparatei = (glBlendEquationSeparateiFunc) loader->get("glBlendEquationSeparateiEXT"); 72 gl->blendEquationi = (glBlendEquationiFunc) loader->get("glBlendEquationiEXT"); 73 gl->blendFuncSeparatei = (glBlendFuncSeparateiFunc) loader->get("glBlendFuncSeparateiEXT"); 74 gl->blendFunci = (glBlendFunciFunc) loader->get("glBlendFunciEXT"); 75 gl->colorMaski = (glColorMaskiFunc) loader->get("glColorMaskiEXT"); 76 gl->disablei = (glDisableiFunc) loader->get("glDisableiEXT"); 77 gl->enablei = (glEnableiFunc) loader->get("glEnableiEXT"); 78 gl->isEnabledi = (glIsEnablediFunc) loader->get("glIsEnablediEXT"); 79 } 80 81 if (de::contains(extSet, "GL_EXT_texture_border_clamp")) 82 { 83 gl->getSamplerParameterIiv = (glGetSamplerParameterIivFunc) loader->get("glGetSamplerParameterIivEXT"); 84 gl->getSamplerParameterIuiv = (glGetSamplerParameterIuivFunc) loader->get("glGetSamplerParameterIuivEXT"); 85 gl->getTexParameterIiv = (glGetTexParameterIivFunc) loader->get("glGetTexParameterIivEXT"); 86 gl->getTexParameterIuiv = (glGetTexParameterIuivFunc) loader->get("glGetTexParameterIuivEXT"); 87 gl->samplerParameterIiv = (glSamplerParameterIivFunc) loader->get("glSamplerParameterIivEXT"); 88 gl->samplerParameterIuiv = (glSamplerParameterIuivFunc) loader->get("glSamplerParameterIuivEXT"); 89 gl->texParameterIiv = (glTexParameterIivFunc) loader->get("glTexParameterIivEXT"); 90 gl->texParameterIuiv = (glTexParameterIuivFunc) loader->get("glTexParameterIuivEXT"); 91 } 92 93 if (de::contains(extSet, "GL_EXT_debug_marker")) 94 { 95 gl->insertEventMarkerEXT = (glInsertEventMarkerEXTFunc) loader->get("glInsertEventMarkerEXT"); 96 gl->popGroupMarkerEXT = (glPopGroupMarkerEXTFunc) loader->get("glPopGroupMarkerEXT"); 97 gl->pushGroupMarkerEXT = (glPushGroupMarkerEXTFunc) loader->get("glPushGroupMarkerEXT"); 98 } 99 100 if (de::contains(extSet, "GL_EXT_robustness")) 101 { 102 gl->getGraphicsResetStatus = (glGetGraphicsResetStatusFunc) loader->get("glGetGraphicsResetStatusEXT"); 103 gl->getnUniformfv = (glGetnUniformfvFunc) loader->get("glGetnUniformfvEXT"); 104 gl->getnUniformiv = (glGetnUniformivFunc) loader->get("glGetnUniformivEXT"); 105 gl->readnPixels = (glReadnPixelsFunc) loader->get("glReadnPixelsEXT"); 106 } 107 108 if (de::contains(extSet, "GL_KHR_robustness")) 109 { 110 gl->getGraphicsResetStatus = (glGetGraphicsResetStatusFunc) loader->get("glGetGraphicsResetStatusKHR"); 111 gl->getnUniformfv = (glGetnUniformfvFunc) loader->get("glGetnUniformfvKHR"); 112 gl->getnUniformiv = (glGetnUniformivFunc) loader->get("glGetnUniformivKHR"); 113 gl->getnUniformuiv = (glGetnUniformuivFunc) loader->get("glGetnUniformuivKHR"); 114 gl->readnPixels = (glReadnPixelsFunc) loader->get("glReadnPixelsKHR"); 115 } 116