From 06ec3affe2e8af18a632c9f053eda259a97035d6 Mon Sep 17 00:00:00 2001 From: Gyusun Yeom Date: Thu, 18 Oct 2018 02:45:45 +0900 Subject: [PATCH] Generate Sources of origin/master updated at Wed Oct 17 17:45:45 GMT 2018 --- doc/glew.html | 451 +++++++++++++++++++++++----------------------- include/GL/glew.h | 16 ++ src/glew.c | 35 +++- src/glewinfo.c | 14 ++ 4 files changed, 290 insertions(+), 226 deletions(-) diff --git a/doc/glew.html b/doc/glew.html index 925c711..5b0457f 100644 --- a/doc/glew.html +++ b/doc/glew.html @@ -799,246 +799,247 @@ THE POSSIBILITY OF SUCH DAMAGE. 674 NV_transform_feedback2 675 NV_uniform_buffer_unified_memory 676 NV_vdpau_interop -677 NV_vertex_array_range -678 NV_vertex_array_range2 -679 NV_vertex_attrib_integer_64bit -680 NV_vertex_buffer_unified_memory -681 NV_vertex_program -682 NV_vertex_program1_1 -683 NV_vertex_program2 -684 NV_vertex_program2_option -685 NV_vertex_program3 -686 NV_vertex_program4 -687 NV_video_capture -688 NV_viewport_array -689 NV_viewport_array2 -690 NV_viewport_swizzle +677 NV_vdpau_interop2 +678 NV_vertex_array_range +679 NV_vertex_array_range2 +680 NV_vertex_attrib_integer_64bit +681 NV_vertex_buffer_unified_memory +682 NV_vertex_program +683 NV_vertex_program1_1 +684 NV_vertex_program2 +685 NV_vertex_program2_option +686 NV_vertex_program3 +687 NV_vertex_program4 +688 NV_video_capture +689 NV_viewport_array +690 NV_viewport_array2 +691 NV_viewport_swizzle
-691 OES_EGL_image -692 OES_EGL_image_external -693 OES_EGL_image_external_essl3 -694 OES_blend_equation_separate -695 OES_blend_func_separate -696 OES_blend_subtract -697 OES_byte_coordinates -698 OES_compressed_ETC1_RGB8_texture -699 OES_compressed_paletted_texture -700 OES_copy_image -701 OES_depth24 -702 OES_depth32 -703 OES_depth_texture -704 OES_depth_texture_cube_map -705 OES_draw_buffers_indexed -706 OES_draw_texture -707 OES_element_index_uint -708 OES_extended_matrix_palette -709 OES_fbo_render_mipmap -710 OES_fragment_precision_high -711 OES_framebuffer_object -712 OES_geometry_point_size -713 OES_geometry_shader -714 OES_get_program_binary -715 OES_gpu_shader5 -716 OES_mapbuffer -717 OES_matrix_get -718 OES_matrix_palette -719 OES_packed_depth_stencil -720 OES_point_size_array -721 OES_point_sprite -722 OES_read_format -723 OES_required_internalformat -724 OES_rgb8_rgba8 -725 OES_sample_shading -726 OES_sample_variables -727 OES_shader_image_atomic -728 OES_shader_io_blocks -729 OES_shader_multisample_interpolation -730 OES_single_precision -731 OES_standard_derivatives -732 OES_stencil1 -733 OES_stencil4 -734 OES_stencil8 -735 OES_surfaceless_context -736 OES_tessellation_point_size -737 OES_tessellation_shader -738 OES_texture_3D -739 OES_texture_border_clamp -740 OES_texture_buffer -741 OES_texture_compression_astc -742 OES_texture_cube_map -743 OES_texture_cube_map_array -744 OES_texture_env_crossbar -745 OES_texture_mirrored_repeat -746 OES_texture_npot -747 OES_texture_stencil8 -748 OES_texture_storage_multisample_2d_array -749 OES_texture_view -750 OES_vertex_array_object -751 OES_vertex_half_float -752 OES_vertex_type_10_10_10_2 +692 OES_EGL_image +693 OES_EGL_image_external +694 OES_EGL_image_external_essl3 +695 OES_blend_equation_separate +696 OES_blend_func_separate +697 OES_blend_subtract +698 OES_byte_coordinates +699 OES_compressed_ETC1_RGB8_texture +700 OES_compressed_paletted_texture +701 OES_copy_image +702 OES_depth24 +703 OES_depth32 +704 OES_depth_texture +705 OES_depth_texture_cube_map +706 OES_draw_buffers_indexed +707 OES_draw_texture +708 OES_element_index_uint +709 OES_extended_matrix_palette +710 OES_fbo_render_mipmap +711 OES_fragment_precision_high +712 OES_framebuffer_object +713 OES_geometry_point_size +714 OES_geometry_shader +715 OES_get_program_binary +716 OES_gpu_shader5 +717 OES_mapbuffer +718 OES_matrix_get +719 OES_matrix_palette +720 OES_packed_depth_stencil +721 OES_point_size_array +722 OES_point_sprite +723 OES_read_format +724 OES_required_internalformat +725 OES_rgb8_rgba8 +726 OES_sample_shading +727 OES_sample_variables +728 OES_shader_image_atomic +729 OES_shader_io_blocks +730 OES_shader_multisample_interpolation +731 OES_single_precision +732 OES_standard_derivatives +733 OES_stencil1 +734 OES_stencil4 +735 OES_stencil8 +736 OES_surfaceless_context +737 OES_tessellation_point_size +738 OES_tessellation_shader +739 OES_texture_3D +740 OES_texture_border_clamp +741 OES_texture_buffer +742 OES_texture_compression_astc +743 OES_texture_cube_map +744 OES_texture_cube_map_array +745 OES_texture_env_crossbar +746 OES_texture_mirrored_repeat +747 OES_texture_npot +748 OES_texture_stencil8 +749 OES_texture_storage_multisample_2d_array +750 OES_texture_view +751 OES_vertex_array_object +752 OES_vertex_half_float +753 OES_vertex_type_10_10_10_2
-753 OML_interlace -754 OML_resample -755 OML_subsample +754 OML_interlace +755 OML_resample +756 OML_subsample
-756 OVR_multiview -757 OVR_multiview2 -758 OVR_multiview_multisampled_render_to_texture +757 OVR_multiview +758 OVR_multiview2 +759 OVR_multiview_multisampled_render_to_texture
-759 PGI_misc_hints -760 PGI_vertex_hints +760 PGI_misc_hints +761 PGI_vertex_hints
-761 QCOM_alpha_test -762 QCOM_binning_control -763 QCOM_driver_control -764 QCOM_extended_get -765 QCOM_extended_get2 -766 QCOM_framebuffer_foveated -767 QCOM_perfmon_global_mode -768 QCOM_shader_framebuffer_fetch_noncoherent -769 QCOM_shader_framebuffer_fetch_rate -770 QCOM_texture_foveated -771 QCOM_texture_foveated_subsampled_layout -772 QCOM_tiled_rendering -773 QCOM_writeonly_rendering +762 QCOM_alpha_test +763 QCOM_binning_control +764 QCOM_driver_control +765 QCOM_extended_get +766 QCOM_extended_get2 +767 QCOM_framebuffer_foveated +768 QCOM_perfmon_global_mode +769 QCOM_shader_framebuffer_fetch_noncoherent +770 QCOM_shader_framebuffer_fetch_rate +771 QCOM_texture_foveated +772 QCOM_texture_foveated_subsampled_layout +773 QCOM_tiled_rendering +774 QCOM_writeonly_rendering
-774 REGAL_ES1_0_compatibility -775 REGAL_ES1_1_compatibility -776 REGAL_enable -777 REGAL_error_string -778 REGAL_extension_query -779 REGAL_log -780 REGAL_proc_address +775 REGAL_ES1_0_compatibility +776 REGAL_ES1_1_compatibility +777 REGAL_enable +778 REGAL_error_string +779 REGAL_extension_query +780 REGAL_log +781 REGAL_proc_address
-781 REND_screen_coordinates +782 REND_screen_coordinates
-782 S3_s3tc +783 S3_s3tc
-783 SGIS_clip_band_hint -784 SGIS_color_range -785 SGIS_detail_texture -786 SGIS_fog_function -787 SGIS_generate_mipmap -788 SGIS_line_texgen -789 SGIS_multisample -790 SGIS_multitexture -791 SGIS_pixel_texture -792 SGIS_point_line_texgen -793 SGIS_shared_multisample -794 SGIS_sharpen_texture -795 SGIS_texture4D -796 SGIS_texture_border_clamp -797 SGIS_texture_edge_clamp -798 SGIS_texture_filter4 -799 SGIS_texture_lod -800 SGIS_texture_select +784 SGIS_clip_band_hint +785 SGIS_color_range +786 SGIS_detail_texture +787 SGIS_fog_function +788 SGIS_generate_mipmap +789 SGIS_line_texgen +790 SGIS_multisample +791 SGIS_multitexture +792 SGIS_pixel_texture +793 SGIS_point_line_texgen +794 SGIS_shared_multisample +795 SGIS_sharpen_texture +796 SGIS_texture4D +797 SGIS_texture_border_clamp +798 SGIS_texture_edge_clamp +799 SGIS_texture_filter4 +800 SGIS_texture_lod +801 SGIS_texture_select
-801 SGIX_async -802 SGIX_async_histogram -803 SGIX_async_pixel -804 SGIX_bali_g_instruments -805 SGIX_bali_r_instruments -806 SGIX_bali_timer_instruments -807 SGIX_blend_alpha_minmax -808 SGIX_blend_cadd -809 SGIX_blend_cmultiply -810 SGIX_calligraphic_fragment -811 SGIX_clipmap -812 SGIX_color_matrix_accuracy -813 SGIX_color_table_index_mode -814 SGIX_complex_polar -815 SGIX_convolution_accuracy -816 SGIX_cube_map -817 SGIX_cylinder_texgen -818 SGIX_datapipe -819 SGIX_decimation -820 SGIX_depth_pass_instrument -821 SGIX_depth_texture -822 SGIX_dvc -823 SGIX_flush_raster -824 SGIX_fog_blend -825 SGIX_fog_factor_to_alpha -826 SGIX_fog_layers -827 SGIX_fog_offset -828 SGIX_fog_patchy -829 SGIX_fog_scale -830 SGIX_fog_texture -831 SGIX_fragment_lighting_space -832 SGIX_fragment_specular_lighting -833 SGIX_fragments_instrument -834 SGIX_framezoom -835 SGIX_icc_texture -836 SGIX_igloo_interface -837 SGIX_image_compression -838 SGIX_impact_pixel_texture -839 SGIX_instrument_error -840 SGIX_interlace -841 SGIX_ir_instrument1 -842 SGIX_line_quality_hint -843 SGIX_list_priority -844 SGIX_mpeg1 -845 SGIX_mpeg2 -846 SGIX_nonlinear_lighting_pervertex -847 SGIX_nurbs_eval -848 SGIX_occlusion_instrument -849 SGIX_packed_6bytes -850 SGIX_pixel_texture -851 SGIX_pixel_texture_bits -852 SGIX_pixel_texture_lod -853 SGIX_pixel_tiles -854 SGIX_polynomial_ffd -855 SGIX_quad_mesh -856 SGIX_reference_plane -857 SGIX_resample -858 SGIX_scalebias_hint -859 SGIX_shadow -860 SGIX_shadow_ambient -861 SGIX_slim -862 SGIX_spotlight_cutoff -863 SGIX_sprite -864 SGIX_subdiv_patch -865 SGIX_subsample -866 SGIX_tag_sample_buffer -867 SGIX_texture_add_env -868 SGIX_texture_coordinate_clamp -869 SGIX_texture_lod_bias -870 SGIX_texture_mipmap_anisotropic -871 SGIX_texture_multi_buffer -872 SGIX_texture_phase -873 SGIX_texture_range -874 SGIX_texture_scale_bias -875 SGIX_texture_supersample -876 SGIX_vector_ops -877 SGIX_vertex_array_object -878 SGIX_vertex_preclip -879 SGIX_vertex_preclip_hint -880 SGIX_ycrcb -881 SGIX_ycrcb_subsample -882 SGIX_ycrcba +802 SGIX_async +803 SGIX_async_histogram +804 SGIX_async_pixel +805 SGIX_bali_g_instruments +806 SGIX_bali_r_instruments +807 SGIX_bali_timer_instruments +808 SGIX_blend_alpha_minmax +809 SGIX_blend_cadd +810 SGIX_blend_cmultiply +811 SGIX_calligraphic_fragment +812 SGIX_clipmap +813 SGIX_color_matrix_accuracy +814 SGIX_color_table_index_mode +815 SGIX_complex_polar +816 SGIX_convolution_accuracy +817 SGIX_cube_map +818 SGIX_cylinder_texgen +819 SGIX_datapipe +820 SGIX_decimation +821 SGIX_depth_pass_instrument +822 SGIX_depth_texture +823 SGIX_dvc +824 SGIX_flush_raster +825 SGIX_fog_blend +826 SGIX_fog_factor_to_alpha +827 SGIX_fog_layers +828 SGIX_fog_offset +829 SGIX_fog_patchy +830 SGIX_fog_scale +831 SGIX_fog_texture +832 SGIX_fragment_lighting_space +833 SGIX_fragment_specular_lighting +834 SGIX_fragments_instrument +835 SGIX_framezoom +836 SGIX_icc_texture +837 SGIX_igloo_interface +838 SGIX_image_compression +839 SGIX_impact_pixel_texture +840 SGIX_instrument_error +841 SGIX_interlace +842 SGIX_ir_instrument1 +843 SGIX_line_quality_hint +844 SGIX_list_priority +845 SGIX_mpeg1 +846 SGIX_mpeg2 +847 SGIX_nonlinear_lighting_pervertex +848 SGIX_nurbs_eval +849 SGIX_occlusion_instrument +850 SGIX_packed_6bytes +851 SGIX_pixel_texture +852 SGIX_pixel_texture_bits +853 SGIX_pixel_texture_lod +854 SGIX_pixel_tiles +855 SGIX_polynomial_ffd +856 SGIX_quad_mesh +857 SGIX_reference_plane +858 SGIX_resample +859 SGIX_scalebias_hint +860 SGIX_shadow +861 SGIX_shadow_ambient +862 SGIX_slim +863 SGIX_spotlight_cutoff +864 SGIX_sprite +865 SGIX_subdiv_patch +866 SGIX_subsample +867 SGIX_tag_sample_buffer +868 SGIX_texture_add_env +869 SGIX_texture_coordinate_clamp +870 SGIX_texture_lod_bias +871 SGIX_texture_mipmap_anisotropic +872 SGIX_texture_multi_buffer +873 SGIX_texture_phase +874 SGIX_texture_range +875 SGIX_texture_scale_bias +876 SGIX_texture_supersample +877 SGIX_vector_ops +878 SGIX_vertex_array_object +879 SGIX_vertex_preclip +880 SGIX_vertex_preclip_hint +881 SGIX_ycrcb +882 SGIX_ycrcb_subsample +883 SGIX_ycrcba
-883 SGI_color_matrix -884 SGI_color_table -885 SGI_complex -886 SGI_complex_type -887 SGI_fft -888 SGI_texture_color_table +884 SGI_color_matrix +885 SGI_color_table +886 SGI_complex +887 SGI_complex_type +888 SGI_fft +889 SGI_texture_color_table
-889 SUNX_constant_data +890 SUNX_constant_data
-890 SUN_convolution_border_modes -891 SUN_global_alpha -892 SUN_mesh_array -893 SUN_read_video_pixels -894 SUN_slice_accum -895 SUN_triangle_list -896 SUN_vertex +891 SUN_convolution_border_modes +892 SUN_global_alpha +893 SUN_mesh_array +894 SUN_read_video_pixels +895 SUN_slice_accum +896 SUN_triangle_list +897 SUN_vertex
-897 VIV_shader_binary +898 VIV_shader_binary
-898 WIN_phong_shading -899 WIN_scene_markerXXX -900 WIN_specular_fog -901 WIN_swap_hint +899 WIN_phong_shading +900 WIN_scene_markerXXX +901 WIN_specular_fog +902 WIN_swap_hint diff --git a/include/GL/glew.h b/include/GL/glew.h index 2c75e0e..4e8dcd9 100644 --- a/include/GL/glew.h +++ b/include/GL/glew.h @@ -17925,6 +17925,19 @@ typedef void (GLAPIENTRY * PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV #endif /* GL_NV_vdpau_interop */ +/* -------------------------- GL_NV_vdpau_interop2 ------------------------- */ + +#ifndef GL_NV_vdpau_interop2 +#define GL_NV_vdpau_interop2 1 + +typedef GLvdpauSurfaceNV (GLAPIENTRY * PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure); + +#define glVDPAURegisterVideoSurfaceWithPictureStructureNV GLEW_GET_FUN(__glewVDPAURegisterVideoSurfaceWithPictureStructureNV) + +#define GLEW_NV_vdpau_interop2 GLEW_GET_VAR(__GLEW_NV_vdpau_interop2) + +#endif /* GL_NV_vdpau_interop2 */ + /* ------------------------ GL_NV_vertex_array_range ----------------------- */ #ifndef GL_NV_vertex_array_range @@ -24740,6 +24753,8 @@ GLEW_FUN_EXPORT PFNGLVDPAUSURFACEACCESSNVPROC __glewVDPAUSurfaceAccessNV; GLEW_FUN_EXPORT PFNGLVDPAUUNMAPSURFACESNVPROC __glewVDPAUUnmapSurfacesNV; GLEW_FUN_EXPORT PFNGLVDPAUUNREGISTERSURFACENVPROC __glewVDPAUUnregisterSurfaceNV; +GLEW_FUN_EXPORT PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC __glewVDPAURegisterVideoSurfaceWithPictureStructureNV; + GLEW_FUN_EXPORT PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV; GLEW_FUN_EXPORT PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV; @@ -25936,6 +25951,7 @@ GLEW_VAR_EXPORT GLboolean __GLEW_NV_transform_feedback; GLEW_VAR_EXPORT GLboolean __GLEW_NV_transform_feedback2; GLEW_VAR_EXPORT GLboolean __GLEW_NV_uniform_buffer_unified_memory; GLEW_VAR_EXPORT GLboolean __GLEW_NV_vdpau_interop; +GLEW_VAR_EXPORT GLboolean __GLEW_NV_vdpau_interop2; GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_array_range; GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_array_range2; GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_attrib_integer_64bit; diff --git a/src/glew.c b/src/glew.c index 1bfa7ab..e5188f9 100644 --- a/src/glew.c +++ b/src/glew.c @@ -2947,6 +2947,8 @@ PFNGLVDPAUSURFACEACCESSNVPROC __glewVDPAUSurfaceAccessNV = NULL; PFNGLVDPAUUNMAPSURFACESNVPROC __glewVDPAUUnmapSurfacesNV = NULL; PFNGLVDPAUUNREGISTERSURFACENVPROC __glewVDPAUUnregisterSurfaceNV = NULL; +PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC __glewVDPAURegisterVideoSurfaceWithPictureStructureNV = NULL; + PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV = NULL; PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV = NULL; @@ -4144,6 +4146,7 @@ GLboolean __GLEW_NV_transform_feedback = GL_FALSE; GLboolean __GLEW_NV_transform_feedback2 = GL_FALSE; GLboolean __GLEW_NV_uniform_buffer_unified_memory = GL_FALSE; GLboolean __GLEW_NV_vdpau_interop = GL_FALSE; +GLboolean __GLEW_NV_vdpau_interop2 = GL_FALSE; GLboolean __GLEW_NV_vertex_array_range = GL_FALSE; GLboolean __GLEW_NV_vertex_array_range2 = GL_FALSE; GLboolean __GLEW_NV_vertex_attrib_integer_64bit = GL_FALSE; @@ -6399,6 +6402,9 @@ static const char * _glewExtensionLookup[] = { #ifdef GL_NV_vdpau_interop "GL_NV_vdpau_interop", #endif +#ifdef GL_NV_vdpau_interop2 + "GL_NV_vdpau_interop2", +#endif #ifdef GL_NV_vertex_array_range "GL_NV_vertex_array_range", #endif @@ -7133,7 +7139,7 @@ static const char * _glewExtensionLookup[] = { /* Detected in the extension string or strings */ -static GLboolean _glewExtensionString[919]; +static GLboolean _glewExtensionString[920]; /* Detected via extension string or experimental mode */ static GLboolean* _glewExtensionEnabled[] = { #ifdef GL_3DFX_multisample @@ -9164,6 +9170,9 @@ static GLboolean* _glewExtensionEnabled[] = { #ifdef GL_NV_vdpau_interop &__GLEW_NV_vdpau_interop, #endif +#ifdef GL_NV_vdpau_interop2 + &__GLEW_NV_vdpau_interop2, +#endif #ifdef GL_NV_vertex_array_range &__GLEW_NV_vertex_array_range, #endif @@ -10209,6 +10218,7 @@ static GLboolean _glewInit_GL_NV_texture_multisample (); static GLboolean _glewInit_GL_NV_transform_feedback (); static GLboolean _glewInit_GL_NV_transform_feedback2 (); static GLboolean _glewInit_GL_NV_vdpau_interop (); +static GLboolean _glewInit_GL_NV_vdpau_interop2 (); static GLboolean _glewInit_GL_NV_vertex_array_range (); static GLboolean _glewInit_GL_NV_vertex_attrib_integer_64bit (); static GLboolean _glewInit_GL_NV_vertex_buffer_unified_memory (); @@ -16369,6 +16379,19 @@ static GLboolean _glewInit_GL_NV_vdpau_interop () #endif /* GL_NV_vdpau_interop */ +#ifdef GL_NV_vdpau_interop2 + +static GLboolean _glewInit_GL_NV_vdpau_interop2 () +{ + GLboolean r = GL_FALSE; + + r = ((glVDPAURegisterVideoSurfaceWithPictureStructureNV = (PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAURegisterVideoSurfaceWithPictureStructureNV")) == NULL) || r; + + return r; +} + +#endif /* GL_NV_vdpau_interop2 */ + #ifdef GL_NV_vertex_array_range static GLboolean _glewInit_GL_NV_vertex_array_range () @@ -18853,6 +18876,9 @@ static GLenum GLEWAPIENTRY glewContextInit () #ifdef GL_NV_vdpau_interop if (glewExperimental || GLEW_NV_vdpau_interop) GLEW_NV_vdpau_interop = !_glewInit_GL_NV_vdpau_interop(); #endif /* GL_NV_vdpau_interop */ +#ifdef GL_NV_vdpau_interop2 + if (glewExperimental || GLEW_NV_vdpau_interop2) GLEW_NV_vdpau_interop2 = !_glewInit_GL_NV_vdpau_interop2(); +#endif /* GL_NV_vdpau_interop2 */ #ifdef GL_NV_vertex_array_range if (glewExperimental || GLEW_NV_vertex_array_range) GLEW_NV_vertex_array_range = !_glewInit_GL_NV_vertex_array_range(); #endif /* GL_NV_vertex_array_range */ @@ -27770,6 +27796,13 @@ GLboolean GLEWAPIENTRY glewIsSupported (const char* name) continue; } #endif +#ifdef GL_NV_vdpau_interop2 + if (_glewStrSame3(&pos, &len, (const GLubyte*)"vdpau_interop2", 14)) + { + ret = GLEW_NV_vdpau_interop2; + continue; + } +#endif #ifdef GL_NV_vertex_array_range if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18)) { diff --git a/src/glewinfo.c b/src/glewinfo.c index c631594..9bc7e6d 100644 --- a/src/glewinfo.c +++ b/src/glewinfo.c @@ -8993,6 +8993,17 @@ static void _glewInfo_GL_NV_vdpau_interop (void) #endif /* GL_NV_vdpau_interop */ +#ifdef GL_NV_vdpau_interop2 + +static void _glewInfo_GL_NV_vdpau_interop2 (void) +{ + glewPrintExt("GL_NV_vdpau_interop2", GLEW_NV_vdpau_interop2, glewIsSupported("GL_NV_vdpau_interop2"), glewGetExtension("GL_NV_vdpau_interop2")); + + glewInfoFunc("glVDPAURegisterVideoSurfaceWithPictureStructureNV", glVDPAURegisterVideoSurfaceWithPictureStructureNV == NULL); +} + +#endif /* GL_NV_vdpau_interop2 */ + #ifdef GL_NV_vertex_array_range static void _glewInfo_GL_NV_vertex_array_range (void) @@ -16570,6 +16581,9 @@ static void glewInfo (void) #ifdef GL_NV_vdpau_interop _glewInfo_GL_NV_vdpau_interop(); #endif /* GL_NV_vdpau_interop */ +#ifdef GL_NV_vdpau_interop2 + _glewInfo_GL_NV_vdpau_interop2(); +#endif /* GL_NV_vdpau_interop2 */ #ifdef GL_NV_vertex_array_range _glewInfo_GL_NV_vertex_array_range(); #endif /* GL_NV_vertex_array_range */