• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 d8371b44919d61c02e60f446a4b5461fda910f71.
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_clip_control"))
71{
72	gl->clipControl	= (glClipControlFunc)	loader->get("glClipControlEXT");
73}
74
75if (de::contains(extSet, "GL_EXT_copy_image"))
76{
77	gl->copyImageSubData	= (glCopyImageSubDataFunc)	loader->get("glCopyImageSubDataEXT");
78}
79
80if (de::contains(extSet, "GL_EXT_draw_buffers_indexed"))
81{
82	gl->blendEquationSeparatei	= (glBlendEquationSeparateiFunc)	loader->get("glBlendEquationSeparateiEXT");
83	gl->blendEquationi			= (glBlendEquationiFunc)			loader->get("glBlendEquationiEXT");
84	gl->blendFuncSeparatei		= (glBlendFuncSeparateiFunc)		loader->get("glBlendFuncSeparateiEXT");
85	gl->blendFunci				= (glBlendFunciFunc)				loader->get("glBlendFunciEXT");
86	gl->colorMaski				= (glColorMaskiFunc)				loader->get("glColorMaskiEXT");
87	gl->disablei				= (glDisableiFunc)					loader->get("glDisableiEXT");
88	gl->enablei					= (glEnableiFunc)					loader->get("glEnableiEXT");
89	gl->isEnabledi				= (glIsEnablediFunc)				loader->get("glIsEnablediEXT");
90}
91
92if (de::contains(extSet, "GL_EXT_draw_elements_base_vertex"))
93{
94	gl->drawElementsBaseVertex			= (glDrawElementsBaseVertexFunc)			loader->get("glDrawElementsBaseVertexEXT");
95	gl->drawElementsInstancedBaseVertex	= (glDrawElementsInstancedBaseVertexFunc)	loader->get("glDrawElementsInstancedBaseVertexEXT");
96	gl->drawRangeElementsBaseVertex		= (glDrawRangeElementsBaseVertexFunc)		loader->get("glDrawRangeElementsBaseVertexEXT");
97	gl->multiDrawElementsBaseVertex		= (glMultiDrawElementsBaseVertexFunc)		loader->get("glMultiDrawElementsBaseVertexEXT");
98}
99
100if (de::contains(extSet, "GL_EXT_texture_storage"))
101{
102	gl->texStorage1D		= (glTexStorage1DFunc)			loader->get("glTexStorage1DEXT");
103	gl->texStorage2D		= (glTexStorage2DFunc)			loader->get("glTexStorage2DEXT");
104	gl->texStorage3D		= (glTexStorage3DFunc)			loader->get("glTexStorage3DEXT");
105	gl->textureStorage1DEXT	= (glTextureStorage1DEXTFunc)	loader->get("glTextureStorage1DEXT");
106	gl->textureStorage2DEXT	= (glTextureStorage2DEXTFunc)	loader->get("glTextureStorage2DEXT");
107	gl->textureStorage3DEXT	= (glTextureStorage3DEXTFunc)	loader->get("glTextureStorage3DEXT");
108}
109
110if (de::contains(extSet, "GL_EXT_texture_border_clamp"))
111{
112	gl->getSamplerParameterIiv	= (glGetSamplerParameterIivFunc)	loader->get("glGetSamplerParameterIivEXT");
113	gl->getSamplerParameterIuiv	= (glGetSamplerParameterIuivFunc)	loader->get("glGetSamplerParameterIuivEXT");
114	gl->getTexParameterIiv		= (glGetTexParameterIivFunc)		loader->get("glGetTexParameterIivEXT");
115	gl->getTexParameterIuiv		= (glGetTexParameterIuivFunc)		loader->get("glGetTexParameterIuivEXT");
116	gl->samplerParameterIiv		= (glSamplerParameterIivFunc)		loader->get("glSamplerParameterIivEXT");
117	gl->samplerParameterIuiv	= (glSamplerParameterIuivFunc)		loader->get("glSamplerParameterIuivEXT");
118	gl->texParameterIiv			= (glTexParameterIivFunc)			loader->get("glTexParameterIivEXT");
119	gl->texParameterIuiv		= (glTexParameterIuivFunc)			loader->get("glTexParameterIuivEXT");
120}
121
122if (de::contains(extSet, "GL_EXT_multisampled_render_to_texture"))
123{
124	gl->framebufferTexture2DMultisampleEXT	= (glFramebufferTexture2DMultisampleEXTFunc)	loader->get("glFramebufferTexture2DMultisampleEXT");
125	gl->renderbufferStorageMultisampleEXT	= (glRenderbufferStorageMultisampleEXTFunc)		loader->get("glRenderbufferStorageMultisampleEXT");
126}
127
128if (de::contains(extSet, "GL_EXT_debug_marker"))
129{
130	gl->insertEventMarkerEXT	= (glInsertEventMarkerEXTFunc)	loader->get("glInsertEventMarkerEXT");
131	gl->popGroupMarkerEXT		= (glPopGroupMarkerEXTFunc)		loader->get("glPopGroupMarkerEXT");
132	gl->pushGroupMarkerEXT		= (glPushGroupMarkerEXTFunc)	loader->get("glPushGroupMarkerEXT");
133}
134
135if (de::contains(extSet, "GL_EXT_polygon_offset_clamp"))
136{
137	gl->polygonOffsetClamp	= (glPolygonOffsetClampFunc)	loader->get("glPolygonOffsetClampEXT");
138}
139
140if (de::contains(extSet, "GL_EXT_fragment_shading_rate"))
141{
142	gl->framebufferShadingRateEXT	= (glFramebufferShadingRateEXTFunc)		loader->get("glFramebufferShadingRateEXT");
143	gl->getFragmentShadingRatesEXT	= (glGetFragmentShadingRatesEXTFunc)	loader->get("glGetFragmentShadingRatesEXT");
144	gl->shadingRateEXT				= (glShadingRateEXTFunc)				loader->get("glShadingRateEXT");
145	gl->shadingRateCombinerOpsEXT	= (glShadingRateCombinerOpsEXTFunc)		loader->get("glShadingRateCombinerOpsEXT");
146}
147
148if (de::contains(extSet, "GL_OES_EGL_image"))
149{
150	gl->eglImageTargetRenderbufferStorageOES	= (glEGLImageTargetRenderbufferStorageOESFunc)	loader->get("glEGLImageTargetRenderbufferStorageOES");
151	gl->eglImageTargetTexture2DOES				= (glEGLImageTargetTexture2DOESFunc)			loader->get("glEGLImageTargetTexture2DOES");
152}
153
154if (de::contains(extSet, "GL_OES_texture_3D"))
155{
156	gl->compressedTexImage3DOES		= (glCompressedTexImage3DOESFunc)		loader->get("glCompressedTexImage3DOES");
157	gl->compressedTexSubImage3DOES	= (glCompressedTexSubImage3DOESFunc)	loader->get("glCompressedTexSubImage3DOES");
158	gl->copyTexSubImage3DOES		= (glCopyTexSubImage3DOESFunc)			loader->get("glCopyTexSubImage3DOES");
159	gl->framebufferTexture3DOES		= (glFramebufferTexture3DOESFunc)		loader->get("glFramebufferTexture3DOES");
160	gl->texImage3DOES				= (glTexImage3DOESFunc)					loader->get("glTexImage3DOES");
161	gl->texSubImage3DOES			= (glTexSubImage3DOESFunc)				loader->get("glTexSubImage3DOES");
162}
163
164if (de::contains(extSet, "GL_OES_texture_storage_multisample_2d_array"))
165{
166	gl->texStorage3DMultisample	= (glTexStorage3DMultisampleFunc)	loader->get("glTexStorage3DMultisampleOES");
167}
168
169if (de::contains(extSet, "GL_OES_sample_shading"))
170{
171	gl->minSampleShading	= (glMinSampleShadingFunc)	loader->get("glMinSampleShadingOES");
172}
173
174if (de::contains(extSet, "GL_OES_mapbuffer"))
175{
176	gl->getBufferPointerv	= (glGetBufferPointervFunc)	loader->get("glGetBufferPointervOES");
177	gl->mapBuffer			= (glMapBufferFunc)			loader->get("glMapBufferOES");
178	gl->unmapBuffer			= (glUnmapBufferFunc)		loader->get("glUnmapBufferOES");
179}
180
181if (de::contains(extSet, "GL_OES_vertex_array_object"))
182{
183	gl->bindVertexArray		= (glBindVertexArrayFunc)		loader->get("glBindVertexArrayOES");
184	gl->deleteVertexArrays	= (glDeleteVertexArraysFunc)	loader->get("glDeleteVertexArraysOES");
185	gl->genVertexArrays		= (glGenVertexArraysFunc)		loader->get("glGenVertexArraysOES");
186	gl->isVertexArray		= (glIsVertexArrayFunc)			loader->get("glIsVertexArrayOES");
187}
188
189if (de::contains(extSet, "GL_OES_viewport_array"))
190{
191	gl->depthRangeArrayfvOES	= (glDepthRangeArrayfvOESFunc)	loader->get("glDepthRangeArrayfvOES");
192	gl->depthRangeIndexedfOES	= (glDepthRangeIndexedfOESFunc)	loader->get("glDepthRangeIndexedfOES");
193	gl->disablei				= (glDisableiFunc)				loader->get("glDisableiOES");
194	gl->enablei					= (glEnableiFunc)				loader->get("glEnableiOES");
195	gl->getFloati_v				= (glGetFloati_vFunc)			loader->get("glGetFloati_vOES");
196	gl->isEnabledi				= (glIsEnablediFunc)			loader->get("glIsEnablediOES");
197	gl->scissorArrayv			= (glScissorArrayvFunc)			loader->get("glScissorArrayvOES");
198	gl->scissorIndexed			= (glScissorIndexedFunc)		loader->get("glScissorIndexedOES");
199	gl->scissorIndexedv			= (glScissorIndexedvFunc)		loader->get("glScissorIndexedvOES");
200	gl->viewportArrayv			= (glViewportArrayvFunc)		loader->get("glViewportArrayvOES");
201	gl->viewportIndexedf		= (glViewportIndexedfFunc)		loader->get("glViewportIndexedfOES");
202	gl->viewportIndexedfv		= (glViewportIndexedfvFunc)		loader->get("glViewportIndexedfvOES");
203}
204
205if (de::contains(extSet, "GL_NV_internalformat_sample_query"))
206{
207	gl->getInternalformatSampleivNV	= (glGetInternalformatSampleivNVFunc)	loader->get("glGetInternalformatSampleivNV");
208}
209
210if (de::contains(extSet, "GL_OES_draw_elements_base_vertex"))
211{
212	gl->drawElementsBaseVertex			= (glDrawElementsBaseVertexFunc)			loader->get("glDrawElementsBaseVertexOES");
213	gl->drawElementsInstancedBaseVertex	= (glDrawElementsInstancedBaseVertexFunc)	loader->get("glDrawElementsInstancedBaseVertexOES");
214	gl->drawRangeElementsBaseVertex		= (glDrawRangeElementsBaseVertexFunc)		loader->get("glDrawRangeElementsBaseVertexOES");
215	gl->multiDrawElementsBaseVertex		= (glMultiDrawElementsBaseVertexFunc)		loader->get("glMultiDrawElementsBaseVertexEXT");
216}
217
218if (de::contains(extSet, "GL_OVR_multiview"))
219{
220	gl->framebufferTextureMultiviewOVR	= (glFramebufferTextureMultiviewOVRFunc)	loader->get("glFramebufferTextureMultiviewOVR");
221}
222
223if (de::contains(extSet, "GL_OVR_multiview_multisampled_render_to_texture"))
224{
225	gl->framebufferTextureMultisampleMultiviewOVR	= (glFramebufferTextureMultisampleMultiviewOVRFunc)	loader->get("glFramebufferTextureMultisampleMultiviewOVR");
226}
227