527
531
#endif /* GL_VERSION_4_2 */
533
#ifdef GL_VERSION_4_3
535
static void _glewInfo_GL_VERSION_4_3 (void)
537
glewPrintExt("GL_VERSION_4_3", GLEW_VERSION_4_3, GLEW_VERSION_4_3, GLEW_VERSION_4_3);
540
#endif /* GL_VERSION_4_3 */
529
542
#ifdef GL_3DFX_multisample
531
544
static void _glewInfo_GL_3DFX_multisample (void)
973
986
#endif /* GL_ARB_ES2_compatibility */
988
#ifdef GL_ARB_ES3_compatibility
990
static void _glewInfo_GL_ARB_ES3_compatibility (void)
992
glewPrintExt("GL_ARB_ES3_compatibility", GLEW_ARB_ES3_compatibility, glewIsSupported("GL_ARB_ES3_compatibility"), glewGetExtension("GL_ARB_ES3_compatibility"));
995
#endif /* GL_ARB_ES3_compatibility */
997
#ifdef GL_ARB_arrays_of_arrays
999
static void _glewInfo_GL_ARB_arrays_of_arrays (void)
1001
glewPrintExt("GL_ARB_arrays_of_arrays", GLEW_ARB_arrays_of_arrays, glewIsSupported("GL_ARB_arrays_of_arrays"), glewGetExtension("GL_ARB_arrays_of_arrays"));
1004
#endif /* GL_ARB_arrays_of_arrays */
975
1006
#ifdef GL_ARB_base_instance
977
1008
static void _glewInfo_GL_ARB_base_instance (void)
1009
1040
#endif /* GL_ARB_cl_event */
1042
#ifdef GL_ARB_clear_buffer_object
1044
static void _glewInfo_GL_ARB_clear_buffer_object (void)
1046
glewPrintExt("GL_ARB_clear_buffer_object", GLEW_ARB_clear_buffer_object, glewIsSupported("GL_ARB_clear_buffer_object"), glewGetExtension("GL_ARB_clear_buffer_object"));
1048
glewInfoFunc("glClearBufferData", glClearBufferData == NULL);
1049
glewInfoFunc("glClearBufferSubData", glClearBufferSubData == NULL);
1050
glewInfoFunc("glClearNamedBufferDataEXT", glClearNamedBufferDataEXT == NULL);
1051
glewInfoFunc("glClearNamedBufferSubDataEXT", glClearNamedBufferSubDataEXT == NULL);
1054
#endif /* GL_ARB_clear_buffer_object */
1011
1056
#ifdef GL_ARB_color_buffer_float
1013
1058
static void _glewInfo_GL_ARB_color_buffer_float (void)
1038
1083
#endif /* GL_ARB_compressed_texture_pixel_storage */
1085
#ifdef GL_ARB_compute_shader
1087
static void _glewInfo_GL_ARB_compute_shader (void)
1089
glewPrintExt("GL_ARB_compute_shader", GLEW_ARB_compute_shader, glewIsSupported("GL_ARB_compute_shader"), glewGetExtension("GL_ARB_compute_shader"));
1091
glewInfoFunc("glDispatchCompute", glDispatchCompute == NULL);
1092
glewInfoFunc("glDispatchComputeIndirect", glDispatchComputeIndirect == NULL);
1095
#endif /* GL_ARB_compute_shader */
1040
1097
#ifdef GL_ARB_conservative_depth
1042
1099
static void _glewInfo_GL_ARB_conservative_depth (void)
1058
1115
#endif /* GL_ARB_copy_buffer */
1117
#ifdef GL_ARB_copy_image
1119
static void _glewInfo_GL_ARB_copy_image (void)
1121
glewPrintExt("GL_ARB_copy_image", GLEW_ARB_copy_image, glewIsSupported("GL_ARB_copy_image"), glewGetExtension("GL_ARB_copy_image"));
1123
glewInfoFunc("glCopyImageSubData", glCopyImageSubData == NULL);
1126
#endif /* GL_ARB_copy_image */
1060
1128
#ifdef GL_ARB_debug_output
1062
1130
static void _glewInfo_GL_ARB_debug_output (void)
1168
1236
#endif /* GL_ARB_explicit_attrib_location */
1238
#ifdef GL_ARB_explicit_uniform_location
1240
static void _glewInfo_GL_ARB_explicit_uniform_location (void)
1242
glewPrintExt("GL_ARB_explicit_uniform_location", GLEW_ARB_explicit_uniform_location, glewIsSupported("GL_ARB_explicit_uniform_location"), glewGetExtension("GL_ARB_explicit_uniform_location"));
1245
#endif /* GL_ARB_explicit_uniform_location */
1170
1247
#ifdef GL_ARB_fragment_coord_conventions
1172
1249
static void _glewInfo_GL_ARB_fragment_coord_conventions (void)
1177
1254
#endif /* GL_ARB_fragment_coord_conventions */
1256
#ifdef GL_ARB_fragment_layer_viewport
1258
static void _glewInfo_GL_ARB_fragment_layer_viewport (void)
1260
glewPrintExt("GL_ARB_fragment_layer_viewport", GLEW_ARB_fragment_layer_viewport, glewIsSupported("GL_ARB_fragment_layer_viewport"), glewGetExtension("GL_ARB_fragment_layer_viewport"));
1263
#endif /* GL_ARB_fragment_layer_viewport */
1179
1265
#ifdef GL_ARB_fragment_program
1181
1267
static void _glewInfo_GL_ARB_fragment_program (void)
1204
1290
#endif /* GL_ARB_fragment_shader */
1292
#ifdef GL_ARB_framebuffer_no_attachments
1294
static void _glewInfo_GL_ARB_framebuffer_no_attachments (void)
1296
glewPrintExt("GL_ARB_framebuffer_no_attachments", GLEW_ARB_framebuffer_no_attachments, glewIsSupported("GL_ARB_framebuffer_no_attachments"), glewGetExtension("GL_ARB_framebuffer_no_attachments"));
1298
glewInfoFunc("glFramebufferParameteri", glFramebufferParameteri == NULL);
1299
glewInfoFunc("glGetFramebufferParameteriv", glGetFramebufferParameteriv == NULL);
1300
glewInfoFunc("glGetNamedFramebufferParameterivEXT", glGetNamedFramebufferParameterivEXT == NULL);
1301
glewInfoFunc("glNamedFramebufferParameteriEXT", glNamedFramebufferParameteriEXT == NULL);
1304
#endif /* GL_ARB_framebuffer_no_attachments */
1206
1306
#ifdef GL_ARB_framebuffer_object
1208
1308
static void _glewInfo_GL_ARB_framebuffer_object (void)
1392
1492
#endif /* GL_ARB_internalformat_query */
1494
#ifdef GL_ARB_internalformat_query2
1496
static void _glewInfo_GL_ARB_internalformat_query2 (void)
1498
glewPrintExt("GL_ARB_internalformat_query2", GLEW_ARB_internalformat_query2, glewIsSupported("GL_ARB_internalformat_query2"), glewGetExtension("GL_ARB_internalformat_query2"));
1500
glewInfoFunc("glGetInternalformati64v", glGetInternalformati64v == NULL);
1503
#endif /* GL_ARB_internalformat_query2 */
1505
#ifdef GL_ARB_invalidate_subdata
1507
static void _glewInfo_GL_ARB_invalidate_subdata (void)
1509
glewPrintExt("GL_ARB_invalidate_subdata", GLEW_ARB_invalidate_subdata, glewIsSupported("GL_ARB_invalidate_subdata"), glewGetExtension("GL_ARB_invalidate_subdata"));
1511
glewInfoFunc("glInvalidateBufferData", glInvalidateBufferData == NULL);
1512
glewInfoFunc("glInvalidateBufferSubData", glInvalidateBufferSubData == NULL);
1513
glewInfoFunc("glInvalidateFramebuffer", glInvalidateFramebuffer == NULL);
1514
glewInfoFunc("glInvalidateSubFramebuffer", glInvalidateSubFramebuffer == NULL);
1515
glewInfoFunc("glInvalidateTexImage", glInvalidateTexImage == NULL);
1516
glewInfoFunc("glInvalidateTexSubImage", glInvalidateTexSubImage == NULL);
1519
#endif /* GL_ARB_invalidate_subdata */
1394
1521
#ifdef GL_ARB_map_buffer_alignment
1396
1523
static void _glewInfo_GL_ARB_map_buffer_alignment (void)
1428
1555
#endif /* GL_ARB_matrix_palette */
1557
#ifdef GL_ARB_multi_draw_indirect
1559
static void _glewInfo_GL_ARB_multi_draw_indirect (void)
1561
glewPrintExt("GL_ARB_multi_draw_indirect", GLEW_ARB_multi_draw_indirect, glewIsSupported("GL_ARB_multi_draw_indirect"), glewGetExtension("GL_ARB_multi_draw_indirect"));
1563
glewInfoFunc("glMultiDrawArraysIndirect", glMultiDrawArraysIndirect == NULL);
1564
glewInfoFunc("glMultiDrawElementsIndirect", glMultiDrawElementsIndirect == NULL);
1567
#endif /* GL_ARB_multi_draw_indirect */
1430
1569
#ifdef GL_ARB_multisample
1432
1571
static void _glewInfo_GL_ARB_multisample (void)
1540
1679
#endif /* GL_ARB_point_sprite */
1681
#ifdef GL_ARB_program_interface_query
1683
static void _glewInfo_GL_ARB_program_interface_query (void)
1685
glewPrintExt("GL_ARB_program_interface_query", GLEW_ARB_program_interface_query, glewIsSupported("GL_ARB_program_interface_query"), glewGetExtension("GL_ARB_program_interface_query"));
1687
glewInfoFunc("glGetProgramInterfaceiv", glGetProgramInterfaceiv == NULL);
1688
glewInfoFunc("glGetProgramResourceIndex", glGetProgramResourceIndex == NULL);
1689
glewInfoFunc("glGetProgramResourceLocation", glGetProgramResourceLocation == NULL);
1690
glewInfoFunc("glGetProgramResourceLocationIndex", glGetProgramResourceLocationIndex == NULL);
1691
glewInfoFunc("glGetProgramResourceName", glGetProgramResourceName == NULL);
1692
glewInfoFunc("glGetProgramResourceiv", glGetProgramResourceiv == NULL);
1695
#endif /* GL_ARB_program_interface_query */
1542
1697
#ifdef GL_ARB_provoking_vertex
1544
1699
static void _glewInfo_GL_ARB_provoking_vertex (void)
1551
1706
#endif /* GL_ARB_provoking_vertex */
1708
#ifdef GL_ARB_robust_buffer_access_behavior
1710
static void _glewInfo_GL_ARB_robust_buffer_access_behavior (void)
1712
glewPrintExt("GL_ARB_robust_buffer_access_behavior", GLEW_ARB_robust_buffer_access_behavior, glewIsSupported("GL_ARB_robust_buffer_access_behavior"), glewGetExtension("GL_ARB_robust_buffer_access_behavior"));
1715
#endif /* GL_ARB_robust_buffer_access_behavior */
1553
1717
#ifdef GL_ARB_robustness
1555
1719
static void _glewInfo_GL_ARB_robustness (void)
1581
1745
#endif /* GL_ARB_robustness */
1747
#ifdef GL_ARB_robustness_application_isolation
1749
static void _glewInfo_GL_ARB_robustness_application_isolation (void)
1751
glewPrintExt("GL_ARB_robustness_application_isolation", GLEW_ARB_robustness_application_isolation, glewIsSupported("GL_ARB_robustness_application_isolation"), glewGetExtension("GL_ARB_robustness_application_isolation"));
1754
#endif /* GL_ARB_robustness_application_isolation */
1756
#ifdef GL_ARB_robustness_share_group_isolation
1758
static void _glewInfo_GL_ARB_robustness_share_group_isolation (void)
1760
glewPrintExt("GL_ARB_robustness_share_group_isolation", GLEW_ARB_robustness_share_group_isolation, glewIsSupported("GL_ARB_robustness_share_group_isolation"), glewGetExtension("GL_ARB_robustness_share_group_isolation"));
1763
#endif /* GL_ARB_robustness_share_group_isolation */
1583
1765
#ifdef GL_ARB_sample_shading
1585
1767
static void _glewInfo_GL_ARB_sample_shading (void)
1727
1909
#endif /* GL_ARB_shader_image_load_store */
1911
#ifdef GL_ARB_shader_image_size
1913
static void _glewInfo_GL_ARB_shader_image_size (void)
1915
glewPrintExt("GL_ARB_shader_image_size", GLEW_ARB_shader_image_size, glewIsSupported("GL_ARB_shader_image_size"), glewGetExtension("GL_ARB_shader_image_size"));
1918
#endif /* GL_ARB_shader_image_size */
1729
1920
#ifdef GL_ARB_shader_objects
1731
1922
static void _glewInfo_GL_ARB_shader_objects (void)
1794
1985
#endif /* GL_ARB_shader_stencil_export */
1987
#ifdef GL_ARB_shader_storage_buffer_object
1989
static void _glewInfo_GL_ARB_shader_storage_buffer_object (void)
1991
glewPrintExt("GL_ARB_shader_storage_buffer_object", GLEW_ARB_shader_storage_buffer_object, glewIsSupported("GL_ARB_shader_storage_buffer_object"), glewGetExtension("GL_ARB_shader_storage_buffer_object"));
1993
glewInfoFunc("glShaderStorageBlockBinding", glShaderStorageBlockBinding == NULL);
1996
#endif /* GL_ARB_shader_storage_buffer_object */
1796
1998
#ifdef GL_ARB_shader_subroutine
1798
2000
static void _glewInfo_GL_ARB_shader_subroutine (void)
1882
2084
#endif /* GL_ARB_shadow_ambient */
2086
#ifdef GL_ARB_stencil_texturing
2088
static void _glewInfo_GL_ARB_stencil_texturing (void)
2090
glewPrintExt("GL_ARB_stencil_texturing", GLEW_ARB_stencil_texturing, glewIsSupported("GL_ARB_stencil_texturing"), glewGetExtension("GL_ARB_stencil_texturing"));
2093
#endif /* GL_ARB_stencil_texturing */
1884
2095
#ifdef GL_ARB_sync
1886
2097
static void _glewInfo_GL_ARB_sync (void)
1940
2151
#endif /* GL_ARB_texture_buffer_object_rgb32 */
2153
#ifdef GL_ARB_texture_buffer_range
2155
static void _glewInfo_GL_ARB_texture_buffer_range (void)
2157
glewPrintExt("GL_ARB_texture_buffer_range", GLEW_ARB_texture_buffer_range, glewIsSupported("GL_ARB_texture_buffer_range"), glewGetExtension("GL_ARB_texture_buffer_range"));
2159
glewInfoFunc("glTexBufferRange", glTexBufferRange == NULL);
2160
glewInfoFunc("glTextureBufferRangeEXT", glTextureBufferRangeEXT == NULL);
2163
#endif /* GL_ARB_texture_buffer_range */
1942
2165
#ifdef GL_ARB_texture_compression
1944
2167
static void _glewInfo_GL_ARB_texture_compression (void)
2079
2302
#endif /* GL_ARB_texture_non_power_of_two */
2304
#ifdef GL_ARB_texture_query_levels
2306
static void _glewInfo_GL_ARB_texture_query_levels (void)
2308
glewPrintExt("GL_ARB_texture_query_levels", GLEW_ARB_texture_query_levels, glewIsSupported("GL_ARB_texture_query_levels"), glewGetExtension("GL_ARB_texture_query_levels"));
2311
#endif /* GL_ARB_texture_query_levels */
2081
2313
#ifdef GL_ARB_texture_query_lod
2083
2315
static void _glewInfo_GL_ARB_texture_query_lod (void)
2131
2363
#endif /* GL_ARB_texture_storage */
2365
#ifdef GL_ARB_texture_storage_multisample
2367
static void _glewInfo_GL_ARB_texture_storage_multisample (void)
2369
glewPrintExt("GL_ARB_texture_storage_multisample", GLEW_ARB_texture_storage_multisample, glewIsSupported("GL_ARB_texture_storage_multisample"), glewGetExtension("GL_ARB_texture_storage_multisample"));
2371
glewInfoFunc("glTexStorage2DMultisample", glTexStorage2DMultisample == NULL);
2372
glewInfoFunc("glTexStorage3DMultisample", glTexStorage3DMultisample == NULL);
2373
glewInfoFunc("glTextureStorage2DMultisampleEXT", glTextureStorage2DMultisampleEXT == NULL);
2374
glewInfoFunc("glTextureStorage3DMultisampleEXT", glTextureStorage3DMultisampleEXT == NULL);
2377
#endif /* GL_ARB_texture_storage_multisample */
2133
2379
#ifdef GL_ARB_texture_swizzle
2135
2381
static void _glewInfo_GL_ARB_texture_swizzle (void)
2140
2386
#endif /* GL_ARB_texture_swizzle */
2388
#ifdef GL_ARB_texture_view
2390
static void _glewInfo_GL_ARB_texture_view (void)
2392
glewPrintExt("GL_ARB_texture_view", GLEW_ARB_texture_view, glewIsSupported("GL_ARB_texture_view"), glewGetExtension("GL_ARB_texture_view"));
2394
glewInfoFunc("glTextureView", glTextureView == NULL);
2397
#endif /* GL_ARB_texture_view */
2142
2399
#ifdef GL_ARB_timer_query
2144
2401
static void _glewInfo_GL_ARB_timer_query (void)
2273
2530
#endif /* GL_ARB_vertex_attrib_64bit */
2532
#ifdef GL_ARB_vertex_attrib_binding
2534
static void _glewInfo_GL_ARB_vertex_attrib_binding (void)
2536
glewPrintExt("GL_ARB_vertex_attrib_binding", GLEW_ARB_vertex_attrib_binding, glewIsSupported("GL_ARB_vertex_attrib_binding"), glewGetExtension("GL_ARB_vertex_attrib_binding"));
2538
glewInfoFunc("glBindVertexBuffer", glBindVertexBuffer == NULL);
2539
glewInfoFunc("glVertexAttribBinding", glVertexAttribBinding == NULL);
2540
glewInfoFunc("glVertexAttribFormat", glVertexAttribFormat == NULL);
2541
glewInfoFunc("glVertexAttribIFormat", glVertexAttribIFormat == NULL);
2542
glewInfoFunc("glVertexAttribLFormat", glVertexAttribLFormat == NULL);
2543
glewInfoFunc("glVertexBindingDivisor", glVertexBindingDivisor == NULL);
2546
#endif /* GL_ARB_vertex_attrib_binding */
2275
2548
#ifdef GL_ARB_vertex_blend
2277
2550
static void _glewInfo_GL_ARB_vertex_blend (void)
2995
3268
#endif /* GL_EXT_cull_vertex */
3270
#ifdef GL_EXT_debug_marker
3272
static void _glewInfo_GL_EXT_debug_marker (void)
3274
glewPrintExt("GL_EXT_debug_marker", GLEW_EXT_debug_marker, glewIsSupported("GL_EXT_debug_marker"), glewGetExtension("GL_EXT_debug_marker"));
3276
glewInfoFunc("glInsertEventMarkerEXT", glInsertEventMarkerEXT == NULL);
3277
glewInfoFunc("glPopGroupMarkerEXT", glPopGroupMarkerEXT == NULL);
3278
glewInfoFunc("glPushGroupMarkerEXT", glPushGroupMarkerEXT == NULL);
3281
#endif /* GL_EXT_debug_marker */
2997
3283
#ifdef GL_EXT_depth_bounds_test
2999
3285
static void _glewInfo_GL_EXT_depth_bounds_test (void)
4405
4691
#endif /* GL_INTEL_texture_scissor */
4695
static void _glewInfo_GL_KHR_debug (void)
4697
glewPrintExt("GL_KHR_debug", GLEW_KHR_debug, glewIsSupported("GL_KHR_debug"), glewGetExtension("GL_KHR_debug"));
4699
glewInfoFunc("glDebugMessageCallback", glDebugMessageCallback == NULL);
4700
glewInfoFunc("glDebugMessageControl", glDebugMessageControl == NULL);
4701
glewInfoFunc("glDebugMessageInsert", glDebugMessageInsert == NULL);
4702
glewInfoFunc("glGetDebugMessageLog", glGetDebugMessageLog == NULL);
4703
glewInfoFunc("glGetObjectLabel", glGetObjectLabel == NULL);
4704
glewInfoFunc("glGetObjectPtrLabel", glGetObjectPtrLabel == NULL);
4705
glewInfoFunc("glGetPointerv", glGetPointerv == NULL);
4706
glewInfoFunc("glObjectLabel", glObjectLabel == NULL);
4707
glewInfoFunc("glObjectPtrLabel", glObjectPtrLabel == NULL);
4708
glewInfoFunc("glPushDebugGroup", glPushDebugGroup == NULL);
4711
#endif /* GL_KHR_debug */
4713
#ifdef GL_KHR_texture_compression_astc_ldr
4715
static void _glewInfo_GL_KHR_texture_compression_astc_ldr (void)
4717
glewPrintExt("GL_KHR_texture_compression_astc_ldr", GLEW_KHR_texture_compression_astc_ldr, glewIsSupported("GL_KHR_texture_compression_astc_ldr"), glewGetExtension("GL_KHR_texture_compression_astc_ldr"));
4720
#endif /* GL_KHR_texture_compression_astc_ldr */
4407
4722
#ifdef GL_KTX_buffer_region
4409
4724
static void _glewInfo_GL_KTX_buffer_region (void)
5606
5921
#endif /* GL_PGI_vertex_hints */
5923
#ifdef GL_REGAL_error_string
5925
static void _glewInfo_GL_REGAL_error_string (void)
5927
glewPrintExt("GL_REGAL_error_string", GLEW_REGAL_error_string, glewIsSupported("GL_REGAL_error_string"), glewGetExtension("GL_REGAL_error_string"));
5929
glewInfoFunc("glErrorStringREGAL", glErrorStringREGAL == NULL);
5932
#endif /* GL_REGAL_error_string */
5934
#ifdef GL_REGAL_extension_query
5936
static void _glewInfo_GL_REGAL_extension_query (void)
5938
glewPrintExt("GL_REGAL_extension_query", GLEW_REGAL_extension_query, glewIsSupported("GL_REGAL_extension_query"), glewGetExtension("GL_REGAL_extension_query"));
5940
glewInfoFunc("glGetExtensionREGAL", glGetExtensionREGAL == NULL);
5941
glewInfoFunc("glIsSupportedREGAL", glIsSupportedREGAL == NULL);
5944
#endif /* GL_REGAL_extension_query */
5948
static void _glewInfo_GL_REGAL_log (void)
5950
glewPrintExt("GL_REGAL_log", GLEW_REGAL_log, glewIsSupported("GL_REGAL_log"), glewGetExtension("GL_REGAL_log"));
5953
#endif /* GL_REGAL_log */
5608
5955
#ifdef GL_REND_screen_coordinates
5610
5957
static void _glewInfo_GL_REND_screen_coordinates (void)
6498
6845
#endif /* WGL_EXT_create_context_es2_profile */
6847
#ifdef WGL_EXT_create_context_es_profile
6849
static void _glewInfo_WGL_EXT_create_context_es_profile (void)
6851
glewPrintExt("WGL_EXT_create_context_es_profile", WGLEW_EXT_create_context_es_profile, wglewIsSupported("WGL_EXT_create_context_es_profile"), wglewGetExtension("WGL_EXT_create_context_es_profile"));
6854
#endif /* WGL_EXT_create_context_es_profile */
6500
6856
#ifdef WGL_EXT_depth_float
6502
6858
static void _glewInfo_WGL_EXT_depth_float (void)
7019
7375
#endif /* GLX_ARB_multisample */
7377
#ifdef GLX_ARB_robustness_application_isolation
7379
static void _glewInfo_GLX_ARB_robustness_application_isolation (void)
7381
glewPrintExt("GLX_ARB_robustness_application_isolation", GLXEW_ARB_robustness_application_isolation, glxewIsSupported("GLX_ARB_robustness_application_isolation"), glxewGetExtension("GLX_ARB_robustness_application_isolation"));
7384
#endif /* GLX_ARB_robustness_application_isolation */
7386
#ifdef GLX_ARB_robustness_share_group_isolation
7388
static void _glewInfo_GLX_ARB_robustness_share_group_isolation (void)
7390
glewPrintExt("GLX_ARB_robustness_share_group_isolation", GLXEW_ARB_robustness_share_group_isolation, glxewIsSupported("GLX_ARB_robustness_share_group_isolation"), glxewGetExtension("GLX_ARB_robustness_share_group_isolation"));
7393
#endif /* GLX_ARB_robustness_share_group_isolation */
7021
7395
#ifdef GLX_ARB_vertex_buffer_object
7023
7397
static void _glewInfo_GLX_ARB_vertex_buffer_object (void)
7059
7433
#endif /* GLX_EXT_create_context_es2_profile */
7435
#ifdef GLX_EXT_create_context_es_profile
7437
static void _glewInfo_GLX_EXT_create_context_es_profile (void)
7439
glewPrintExt("GLX_EXT_create_context_es_profile", GLXEW_EXT_create_context_es_profile, glxewIsSupported("GLX_EXT_create_context_es_profile"), glxewGetExtension("GLX_EXT_create_context_es_profile"));
7442
#endif /* GLX_EXT_create_context_es_profile */
7061
7444
#ifdef GLX_EXT_fbconfig_packed_float
7063
7446
static void _glewInfo_GLX_EXT_fbconfig_packed_float (void)
7601
7984
#ifdef GL_VERSION_4_2
7602
7985
_glewInfo_GL_VERSION_4_2();
7603
7986
#endif /* GL_VERSION_4_2 */
7987
#ifdef GL_VERSION_4_3
7988
_glewInfo_GL_VERSION_4_3();
7989
#endif /* GL_VERSION_4_3 */
7604
7990
#ifdef GL_3DFX_multisample
7605
7991
_glewInfo_GL_3DFX_multisample();
7606
7992
#endif /* GL_3DFX_multisample */
7721
8107
#ifdef GL_ARB_ES2_compatibility
7722
8108
_glewInfo_GL_ARB_ES2_compatibility();
7723
8109
#endif /* GL_ARB_ES2_compatibility */
8110
#ifdef GL_ARB_ES3_compatibility
8111
_glewInfo_GL_ARB_ES3_compatibility();
8112
#endif /* GL_ARB_ES3_compatibility */
8113
#ifdef GL_ARB_arrays_of_arrays
8114
_glewInfo_GL_ARB_arrays_of_arrays();
8115
#endif /* GL_ARB_arrays_of_arrays */
7724
8116
#ifdef GL_ARB_base_instance
7725
8117
_glewInfo_GL_ARB_base_instance();
7726
8118
#endif /* GL_ARB_base_instance */
7730
8122
#ifdef GL_ARB_cl_event
7731
8123
_glewInfo_GL_ARB_cl_event();
7732
8124
#endif /* GL_ARB_cl_event */
8125
#ifdef GL_ARB_clear_buffer_object
8126
_glewInfo_GL_ARB_clear_buffer_object();
8127
#endif /* GL_ARB_clear_buffer_object */
7733
8128
#ifdef GL_ARB_color_buffer_float
7734
8129
_glewInfo_GL_ARB_color_buffer_float();
7735
8130
#endif /* GL_ARB_color_buffer_float */
7739
8134
#ifdef GL_ARB_compressed_texture_pixel_storage
7740
8135
_glewInfo_GL_ARB_compressed_texture_pixel_storage();
7741
8136
#endif /* GL_ARB_compressed_texture_pixel_storage */
8137
#ifdef GL_ARB_compute_shader
8138
_glewInfo_GL_ARB_compute_shader();
8139
#endif /* GL_ARB_compute_shader */
7742
8140
#ifdef GL_ARB_conservative_depth
7743
8141
_glewInfo_GL_ARB_conservative_depth();
7744
8142
#endif /* GL_ARB_conservative_depth */
7745
8143
#ifdef GL_ARB_copy_buffer
7746
8144
_glewInfo_GL_ARB_copy_buffer();
7747
8145
#endif /* GL_ARB_copy_buffer */
8146
#ifdef GL_ARB_copy_image
8147
_glewInfo_GL_ARB_copy_image();
8148
#endif /* GL_ARB_copy_image */
7748
8149
#ifdef GL_ARB_debug_output
7749
8150
_glewInfo_GL_ARB_debug_output();
7750
8151
#endif /* GL_ARB_debug_output */
7775
8176
#ifdef GL_ARB_explicit_attrib_location
7776
8177
_glewInfo_GL_ARB_explicit_attrib_location();
7777
8178
#endif /* GL_ARB_explicit_attrib_location */
8179
#ifdef GL_ARB_explicit_uniform_location
8180
_glewInfo_GL_ARB_explicit_uniform_location();
8181
#endif /* GL_ARB_explicit_uniform_location */
7778
8182
#ifdef GL_ARB_fragment_coord_conventions
7779
8183
_glewInfo_GL_ARB_fragment_coord_conventions();
7780
8184
#endif /* GL_ARB_fragment_coord_conventions */
8185
#ifdef GL_ARB_fragment_layer_viewport
8186
_glewInfo_GL_ARB_fragment_layer_viewport();
8187
#endif /* GL_ARB_fragment_layer_viewport */
7781
8188
#ifdef GL_ARB_fragment_program
7782
8189
_glewInfo_GL_ARB_fragment_program();
7783
8190
#endif /* GL_ARB_fragment_program */
7787
8194
#ifdef GL_ARB_fragment_shader
7788
8195
_glewInfo_GL_ARB_fragment_shader();
7789
8196
#endif /* GL_ARB_fragment_shader */
8197
#ifdef GL_ARB_framebuffer_no_attachments
8198
_glewInfo_GL_ARB_framebuffer_no_attachments();
8199
#endif /* GL_ARB_framebuffer_no_attachments */
7790
8200
#ifdef GL_ARB_framebuffer_object
7791
8201
_glewInfo_GL_ARB_framebuffer_object();
7792
8202
#endif /* GL_ARB_framebuffer_object */
7820
8230
#ifdef GL_ARB_internalformat_query
7821
8231
_glewInfo_GL_ARB_internalformat_query();
7822
8232
#endif /* GL_ARB_internalformat_query */
8233
#ifdef GL_ARB_internalformat_query2
8234
_glewInfo_GL_ARB_internalformat_query2();
8235
#endif /* GL_ARB_internalformat_query2 */
8236
#ifdef GL_ARB_invalidate_subdata
8237
_glewInfo_GL_ARB_invalidate_subdata();
8238
#endif /* GL_ARB_invalidate_subdata */
7823
8239
#ifdef GL_ARB_map_buffer_alignment
7824
8240
_glewInfo_GL_ARB_map_buffer_alignment();
7825
8241
#endif /* GL_ARB_map_buffer_alignment */
7829
8245
#ifdef GL_ARB_matrix_palette
7830
8246
_glewInfo_GL_ARB_matrix_palette();
7831
8247
#endif /* GL_ARB_matrix_palette */
8248
#ifdef GL_ARB_multi_draw_indirect
8249
_glewInfo_GL_ARB_multi_draw_indirect();
8250
#endif /* GL_ARB_multi_draw_indirect */
7832
8251
#ifdef GL_ARB_multisample
7833
8252
_glewInfo_GL_ARB_multisample();
7834
8253
#endif /* GL_ARB_multisample */
7850
8269
#ifdef GL_ARB_point_sprite
7851
8270
_glewInfo_GL_ARB_point_sprite();
7852
8271
#endif /* GL_ARB_point_sprite */
8272
#ifdef GL_ARB_program_interface_query
8273
_glewInfo_GL_ARB_program_interface_query();
8274
#endif /* GL_ARB_program_interface_query */
7853
8275
#ifdef GL_ARB_provoking_vertex
7854
8276
_glewInfo_GL_ARB_provoking_vertex();
7855
8277
#endif /* GL_ARB_provoking_vertex */
8278
#ifdef GL_ARB_robust_buffer_access_behavior
8279
_glewInfo_GL_ARB_robust_buffer_access_behavior();
8280
#endif /* GL_ARB_robust_buffer_access_behavior */
7856
8281
#ifdef GL_ARB_robustness
7857
8282
_glewInfo_GL_ARB_robustness();
7858
8283
#endif /* GL_ARB_robustness */
8284
#ifdef GL_ARB_robustness_application_isolation
8285
_glewInfo_GL_ARB_robustness_application_isolation();
8286
#endif /* GL_ARB_robustness_application_isolation */
8287
#ifdef GL_ARB_robustness_share_group_isolation
8288
_glewInfo_GL_ARB_robustness_share_group_isolation();
8289
#endif /* GL_ARB_robustness_share_group_isolation */
7859
8290
#ifdef GL_ARB_sample_shading
7860
8291
_glewInfo_GL_ARB_sample_shading();
7861
8292
#endif /* GL_ARB_sample_shading */
7877
8308
#ifdef GL_ARB_shader_image_load_store
7878
8309
_glewInfo_GL_ARB_shader_image_load_store();
7879
8310
#endif /* GL_ARB_shader_image_load_store */
8311
#ifdef GL_ARB_shader_image_size
8312
_glewInfo_GL_ARB_shader_image_size();
8313
#endif /* GL_ARB_shader_image_size */
7880
8314
#ifdef GL_ARB_shader_objects
7881
8315
_glewInfo_GL_ARB_shader_objects();
7882
8316
#endif /* GL_ARB_shader_objects */
7886
8320
#ifdef GL_ARB_shader_stencil_export
7887
8321
_glewInfo_GL_ARB_shader_stencil_export();
7888
8322
#endif /* GL_ARB_shader_stencil_export */
8323
#ifdef GL_ARB_shader_storage_buffer_object
8324
_glewInfo_GL_ARB_shader_storage_buffer_object();
8325
#endif /* GL_ARB_shader_storage_buffer_object */
7889
8326
#ifdef GL_ARB_shader_subroutine
7890
8327
_glewInfo_GL_ARB_shader_subroutine();
7891
8328
#endif /* GL_ARB_shader_subroutine */
7910
8347
#ifdef GL_ARB_shadow_ambient
7911
8348
_glewInfo_GL_ARB_shadow_ambient();
7912
8349
#endif /* GL_ARB_shadow_ambient */
8350
#ifdef GL_ARB_stencil_texturing
8351
_glewInfo_GL_ARB_stencil_texturing();
8352
#endif /* GL_ARB_stencil_texturing */
7913
8353
#ifdef GL_ARB_sync
7914
8354
_glewInfo_GL_ARB_sync();
7915
8355
#endif /* GL_ARB_sync */
7925
8365
#ifdef GL_ARB_texture_buffer_object_rgb32
7926
8366
_glewInfo_GL_ARB_texture_buffer_object_rgb32();
7927
8367
#endif /* GL_ARB_texture_buffer_object_rgb32 */
8368
#ifdef GL_ARB_texture_buffer_range
8369
_glewInfo_GL_ARB_texture_buffer_range();
8370
#endif /* GL_ARB_texture_buffer_range */
7928
8371
#ifdef GL_ARB_texture_compression
7929
8372
_glewInfo_GL_ARB_texture_compression();
7930
8373
#endif /* GL_ARB_texture_compression */
7967
8410
#ifdef GL_ARB_texture_non_power_of_two
7968
8411
_glewInfo_GL_ARB_texture_non_power_of_two();
7969
8412
#endif /* GL_ARB_texture_non_power_of_two */
8413
#ifdef GL_ARB_texture_query_levels
8414
_glewInfo_GL_ARB_texture_query_levels();
8415
#endif /* GL_ARB_texture_query_levels */
7970
8416
#ifdef GL_ARB_texture_query_lod
7971
8417
_glewInfo_GL_ARB_texture_query_lod();
7972
8418
#endif /* GL_ARB_texture_query_lod */
7982
8428
#ifdef GL_ARB_texture_storage
7983
8429
_glewInfo_GL_ARB_texture_storage();
7984
8430
#endif /* GL_ARB_texture_storage */
8431
#ifdef GL_ARB_texture_storage_multisample
8432
_glewInfo_GL_ARB_texture_storage_multisample();
8433
#endif /* GL_ARB_texture_storage_multisample */
7985
8434
#ifdef GL_ARB_texture_swizzle
7986
8435
_glewInfo_GL_ARB_texture_swizzle();
7987
8436
#endif /* GL_ARB_texture_swizzle */
8437
#ifdef GL_ARB_texture_view
8438
_glewInfo_GL_ARB_texture_view();
8439
#endif /* GL_ARB_texture_view */
7988
8440
#ifdef GL_ARB_timer_query
7989
8441
_glewInfo_GL_ARB_timer_query();
7990
8442
#endif /* GL_ARB_timer_query */
8012
8464
#ifdef GL_ARB_vertex_attrib_64bit
8013
8465
_glewInfo_GL_ARB_vertex_attrib_64bit();
8014
8466
#endif /* GL_ARB_vertex_attrib_64bit */
8467
#ifdef GL_ARB_vertex_attrib_binding
8468
_glewInfo_GL_ARB_vertex_attrib_binding();
8469
#endif /* GL_ARB_vertex_attrib_binding */
8015
8470
#ifdef GL_ARB_vertex_blend
8016
8471
_glewInfo_GL_ARB_vertex_blend();
8017
8472
#endif /* GL_ARB_vertex_blend */
8153
8608
#ifdef GL_EXT_cull_vertex
8154
8609
_glewInfo_GL_EXT_cull_vertex();
8155
8610
#endif /* GL_EXT_cull_vertex */
8611
#ifdef GL_EXT_debug_marker
8612
_glewInfo_GL_EXT_debug_marker();
8613
#endif /* GL_EXT_debug_marker */
8156
8614
#ifdef GL_EXT_depth_bounds_test
8157
8615
_glewInfo_GL_EXT_depth_bounds_test();
8158
8616
#endif /* GL_EXT_depth_bounds_test */
8441
8899
#ifdef GL_INTEL_texture_scissor
8442
8900
_glewInfo_GL_INTEL_texture_scissor();
8443
8901
#endif /* GL_INTEL_texture_scissor */
8903
_glewInfo_GL_KHR_debug();
8904
#endif /* GL_KHR_debug */
8905
#ifdef GL_KHR_texture_compression_astc_ldr
8906
_glewInfo_GL_KHR_texture_compression_astc_ldr();
8907
#endif /* GL_KHR_texture_compression_astc_ldr */
8444
8908
#ifdef GL_KTX_buffer_region
8445
8909
_glewInfo_GL_KTX_buffer_region();
8446
8910
#endif /* GL_KTX_buffer_region */
8690
9154
#ifdef GL_PGI_vertex_hints
8691
9155
_glewInfo_GL_PGI_vertex_hints();
8692
9156
#endif /* GL_PGI_vertex_hints */
9157
#ifdef GL_REGAL_error_string
9158
_glewInfo_GL_REGAL_error_string();
9159
#endif /* GL_REGAL_error_string */
9160
#ifdef GL_REGAL_extension_query
9161
_glewInfo_GL_REGAL_extension_query();
9162
#endif /* GL_REGAL_extension_query */
9164
_glewInfo_GL_REGAL_log();
9165
#endif /* GL_REGAL_log */
8693
9166
#ifdef GL_REND_screen_coordinates
8694
9167
_glewInfo_GL_REND_screen_coordinates();
8695
9168
#endif /* GL_REND_screen_coordinates */
8938
9411
#ifdef WGL_EXT_create_context_es2_profile
8939
9412
_glewInfo_WGL_EXT_create_context_es2_profile();
8940
9413
#endif /* WGL_EXT_create_context_es2_profile */
9414
#ifdef WGL_EXT_create_context_es_profile
9415
_glewInfo_WGL_EXT_create_context_es_profile();
9416
#endif /* WGL_EXT_create_context_es_profile */
8941
9417
#ifdef WGL_EXT_depth_float
8942
9418
_glewInfo_WGL_EXT_depth_float();
8943
9419
#endif /* WGL_EXT_depth_float */
9073
9549
#ifdef GLX_ARB_multisample
9074
9550
_glewInfo_GLX_ARB_multisample();
9075
9551
#endif /* GLX_ARB_multisample */
9552
#ifdef GLX_ARB_robustness_application_isolation
9553
_glewInfo_GLX_ARB_robustness_application_isolation();
9554
#endif /* GLX_ARB_robustness_application_isolation */
9555
#ifdef GLX_ARB_robustness_share_group_isolation
9556
_glewInfo_GLX_ARB_robustness_share_group_isolation();
9557
#endif /* GLX_ARB_robustness_share_group_isolation */
9076
9558
#ifdef GLX_ARB_vertex_buffer_object
9077
9559
_glewInfo_GLX_ARB_vertex_buffer_object();
9078
9560
#endif /* GLX_ARB_vertex_buffer_object */
9085
9567
#ifdef GLX_EXT_create_context_es2_profile
9086
9568
_glewInfo_GLX_EXT_create_context_es2_profile();
9087
9569
#endif /* GLX_EXT_create_context_es2_profile */
9570
#ifdef GLX_EXT_create_context_es_profile
9571
_glewInfo_GLX_EXT_create_context_es_profile();
9572
#endif /* GLX_EXT_create_context_es_profile */
9088
9573
#ifdef GLX_EXT_fbconfig_packed_float
9089
9574
_glewInfo_GLX_EXT_fbconfig_packed_float();
9090
9575
#endif /* GLX_EXT_fbconfig_packed_float */
9416
9901
/*aglSetDrawable(ctx, GetWindowPort(wnd));*/
9417
9902
octx = aglGetCurrentContext();
9418
9903
if (GL_FALSE == aglSetCurrentContext(ctx)) return GL_TRUE;
9904
/* Needed for Regal on the Mac */
9905
#if defined(GLEW_REGAL) && defined(__APPLE__)
9906
RegalMakeCurrent(octx);
9419
9908
return GL_FALSE;