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 30159. 5 */ 6 7if (de::contains(extSet, "GL_KHR_blend_equation_advanced")) 8{ 9 gl->blendBarrierKHR = (glBlendBarrierKHRFunc) 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_tessellation_shader")) 28{ 29 gl->patchParameteri = (glPatchParameteriFunc) loader->get("glPatchParameteriEXT"); 30} 31 32if (de::contains(extSet, "GL_EXT_geometry_shader")) 33{ 34 gl->framebufferTexture = (glFramebufferTextureFunc) loader->get("glFramebufferTextureEXT"); 35} 36 37if (de::contains(extSet, "GL_EXT_texture_buffer")) 38{ 39 gl->texBuffer = (glTexBufferFunc) loader->get("glTexBufferEXT"); 40 gl->texBufferRange = (glTexBufferRangeFunc) loader->get("glTexBufferRangeEXT"); 41} 42 43if (de::contains(extSet, "GL_EXT_primitive_bounding_box")) 44{ 45 gl->primitiveBoundingBoxEXT = (glPrimitiveBoundingBoxEXTFunc) loader->get("glPrimitiveBoundingBoxEXT"); 46} 47 48if (de::contains(extSet, "GL_OES_EGL_image")) 49{ 50 gl->eglImageTargetRenderbufferStorageOES = (glEGLImageTargetRenderbufferStorageOESFunc) loader->get("glEGLImageTargetRenderbufferStorageOES"); 51 gl->eglImageTargetTexture2DOES = (glEGLImageTargetTexture2DOESFunc) loader->get("glEGLImageTargetTexture2DOES"); 52} 53 54if (de::contains(extSet, "GL_OES_texture_storage_multisample_2d_array")) 55{ 56 gl->texStorage3DMultisample = (glTexStorage3DMultisampleFunc) loader->get("glTexStorage3DMultisampleOES"); 57} 58 59if (de::contains(extSet, "GL_OES_sample_shading")) 60{ 61 gl->minSampleShading = (glMinSampleShadingFunc) loader->get("glMinSampleShadingOES"); 62} 63 64if (de::contains(extSet, "GL_EXT_copy_image")) 65{ 66 gl->copyImageSubData = (glCopyImageSubDataFunc) loader->get("glCopyImageSubDataEXT"); 67} 68 69if (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 81if (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 93if (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