• 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 9d534f9312e56c72df763207e449c6719576fd54.
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_OES_EGL_image"))
141{
142	gl->eglImageTargetRenderbufferStorageOES	= (glEGLImageTargetRenderbufferStorageOESFunc)	loader->get("glEGLImageTargetRenderbufferStorageOES");
143	gl->eglImageTargetTexture2DOES				= (glEGLImageTargetTexture2DOESFunc)			loader->get("glEGLImageTargetTexture2DOES");
144}
145
146if (de::contains(extSet, "GL_OES_texture_3D"))
147{
148	gl->compressedTexImage3DOES		= (glCompressedTexImage3DOESFunc)		loader->get("glCompressedTexImage3DOES");
149	gl->compressedTexSubImage3DOES	= (glCompressedTexSubImage3DOESFunc)	loader->get("glCompressedTexSubImage3DOES");
150	gl->copyTexSubImage3DOES		= (glCopyTexSubImage3DOESFunc)			loader->get("glCopyTexSubImage3DOES");
151	gl->framebufferTexture3DOES		= (glFramebufferTexture3DOESFunc)		loader->get("glFramebufferTexture3DOES");
152	gl->texImage3DOES				= (glTexImage3DOESFunc)					loader->get("glTexImage3DOES");
153	gl->texSubImage3DOES			= (glTexSubImage3DOESFunc)				loader->get("glTexSubImage3DOES");
154}
155
156if (de::contains(extSet, "GL_OES_texture_storage_multisample_2d_array"))
157{
158	gl->texStorage3DMultisample	= (glTexStorage3DMultisampleFunc)	loader->get("glTexStorage3DMultisampleOES");
159}
160
161if (de::contains(extSet, "GL_OES_sample_shading"))
162{
163	gl->minSampleShading	= (glMinSampleShadingFunc)	loader->get("glMinSampleShadingOES");
164}
165
166if (de::contains(extSet, "GL_OES_mapbuffer"))
167{
168	gl->getBufferPointerv	= (glGetBufferPointervFunc)	loader->get("glGetBufferPointervOES");
169	gl->mapBuffer			= (glMapBufferFunc)			loader->get("glMapBufferOES");
170	gl->unmapBuffer			= (glUnmapBufferFunc)		loader->get("glUnmapBufferOES");
171}
172
173if (de::contains(extSet, "GL_OES_vertex_array_object"))
174{
175	gl->bindVertexArray		= (glBindVertexArrayFunc)		loader->get("glBindVertexArrayOES");
176	gl->deleteVertexArrays	= (glDeleteVertexArraysFunc)	loader->get("glDeleteVertexArraysOES");
177	gl->genVertexArrays		= (glGenVertexArraysFunc)		loader->get("glGenVertexArraysOES");
178	gl->isVertexArray		= (glIsVertexArrayFunc)			loader->get("glIsVertexArrayOES");
179}
180
181if (de::contains(extSet, "GL_OES_viewport_array"))
182{
183	gl->depthRangeArrayfvOES	= (glDepthRangeArrayfvOESFunc)	loader->get("glDepthRangeArrayfvOES");
184	gl->depthRangeIndexedfOES	= (glDepthRangeIndexedfOESFunc)	loader->get("glDepthRangeIndexedfOES");
185	gl->disablei				= (glDisableiFunc)				loader->get("glDisableiOES");
186	gl->enablei					= (glEnableiFunc)				loader->get("glEnableiOES");
187	gl->getFloati_v				= (glGetFloati_vFunc)			loader->get("glGetFloati_vOES");
188	gl->isEnabledi				= (glIsEnablediFunc)			loader->get("glIsEnablediOES");
189	gl->scissorArrayv			= (glScissorArrayvFunc)			loader->get("glScissorArrayvOES");
190	gl->scissorIndexed			= (glScissorIndexedFunc)		loader->get("glScissorIndexedOES");
191	gl->scissorIndexedv			= (glScissorIndexedvFunc)		loader->get("glScissorIndexedvOES");
192	gl->viewportArrayv			= (glViewportArrayvFunc)		loader->get("glViewportArrayvOES");
193	gl->viewportIndexedf		= (glViewportIndexedfFunc)		loader->get("glViewportIndexedfOES");
194	gl->viewportIndexedfv		= (glViewportIndexedfvFunc)		loader->get("glViewportIndexedfvOES");
195}
196
197if (de::contains(extSet, "GL_NV_internalformat_sample_query"))
198{
199	gl->getInternalformatSampleivNV	= (glGetInternalformatSampleivNVFunc)	loader->get("glGetInternalformatSampleivNV");
200}
201
202if (de::contains(extSet, "GL_OES_draw_elements_base_vertex"))
203{
204	gl->drawElementsBaseVertex			= (glDrawElementsBaseVertexFunc)			loader->get("glDrawElementsBaseVertexOES");
205	gl->drawElementsInstancedBaseVertex	= (glDrawElementsInstancedBaseVertexFunc)	loader->get("glDrawElementsInstancedBaseVertexOES");
206	gl->drawRangeElementsBaseVertex		= (glDrawRangeElementsBaseVertexFunc)		loader->get("glDrawRangeElementsBaseVertexOES");
207	gl->multiDrawElementsBaseVertex		= (glMultiDrawElementsBaseVertexFunc)		loader->get("glMultiDrawElementsBaseVertexEXT");
208}
209
210if (de::contains(extSet, "GL_OVR_multiview"))
211{
212	gl->framebufferTextureMultiviewOVR	= (glFramebufferTextureMultiviewOVRFunc)	loader->get("glFramebufferTextureMultiviewOVR");
213}
214
215if (de::contains(extSet, "GL_OVR_multiview_multisampled_render_to_texture"))
216{
217	gl->framebufferTextureMultisampleMultiviewOVR	= (glFramebufferTextureMultisampleMultiviewOVRFunc)	loader->get("glFramebufferTextureMultisampleMultiviewOVR");
218}
219