diff --git a/doc/glew.html b/doc/glew.html index 5b5e84b..13cd690 100644 --- a/doc/glew.html +++ b/doc/glew.html @@ -911,152 +911,153 @@ THE POSSIBILITY OF SUCH DAMAGE. 784 QCOM_framebuffer_foveated 785 QCOM_motion_estimation 786 QCOM_perfmon_global_mode -787 QCOM_shader_framebuffer_fetch_noncoherent -788 QCOM_shader_framebuffer_fetch_rate -789 QCOM_shading_rate -790 QCOM_texture_foveated -791 QCOM_texture_foveated2 -792 QCOM_texture_foveated_subsampled_layout -793 QCOM_tiled_rendering -794 QCOM_writeonly_rendering +787 QCOM_render_shared_exponent +788 QCOM_shader_framebuffer_fetch_noncoherent +789 QCOM_shader_framebuffer_fetch_rate +790 QCOM_shading_rate +791 QCOM_texture_foveated +792 QCOM_texture_foveated2 +793 QCOM_texture_foveated_subsampled_layout +794 QCOM_tiled_rendering +795 QCOM_writeonly_rendering
-795 REGAL_ES1_0_compatibility -796 REGAL_ES1_1_compatibility -797 REGAL_enable -798 REGAL_error_string -799 REGAL_extension_query -800 REGAL_log -801 REGAL_proc_address +796 REGAL_ES1_0_compatibility +797 REGAL_ES1_1_compatibility +798 REGAL_enable +799 REGAL_error_string +800 REGAL_extension_query +801 REGAL_log +802 REGAL_proc_address
-802 REND_screen_coordinates +803 REND_screen_coordinates
-803 S3_s3tc +804 S3_s3tc
-804 SGIS_clip_band_hint -805 SGIS_color_range -806 SGIS_detail_texture -807 SGIS_fog_function -808 SGIS_generate_mipmap -809 SGIS_line_texgen -810 SGIS_multisample -811 SGIS_multitexture -812 SGIS_pixel_texture -813 SGIS_point_line_texgen -814 SGIS_shared_multisample -815 SGIS_sharpen_texture -816 SGIS_texture4D -817 SGIS_texture_border_clamp -818 SGIS_texture_edge_clamp -819 SGIS_texture_filter4 -820 SGIS_texture_lod -821 SGIS_texture_select +805 SGIS_clip_band_hint +806 SGIS_color_range +807 SGIS_detail_texture +808 SGIS_fog_function +809 SGIS_generate_mipmap +810 SGIS_line_texgen +811 SGIS_multisample +812 SGIS_multitexture +813 SGIS_pixel_texture +814 SGIS_point_line_texgen +815 SGIS_shared_multisample +816 SGIS_sharpen_texture +817 SGIS_texture4D +818 SGIS_texture_border_clamp +819 SGIS_texture_edge_clamp +820 SGIS_texture_filter4 +821 SGIS_texture_lod +822 SGIS_texture_select
-822 SGIX_async -823 SGIX_async_histogram -824 SGIX_async_pixel -825 SGIX_bali_g_instruments -826 SGIX_bali_r_instruments -827 SGIX_bali_timer_instruments -828 SGIX_blend_alpha_minmax -829 SGIX_blend_cadd -830 SGIX_blend_cmultiply -831 SGIX_calligraphic_fragment -832 SGIX_clipmap -833 SGIX_color_matrix_accuracy -834 SGIX_color_table_index_mode -835 SGIX_complex_polar -836 SGIX_convolution_accuracy -837 SGIX_cube_map -838 SGIX_cylinder_texgen -839 SGIX_datapipe -840 SGIX_decimation -841 SGIX_depth_pass_instrument -842 SGIX_depth_texture -843 SGIX_dvc -844 SGIX_flush_raster -845 SGIX_fog_blend -846 SGIX_fog_factor_to_alpha -847 SGIX_fog_layers -848 SGIX_fog_offset -849 SGIX_fog_patchy -850 SGIX_fog_scale -851 SGIX_fog_texture -852 SGIX_fragment_lighting_space -853 SGIX_fragment_specular_lighting -854 SGIX_fragments_instrument -855 SGIX_framezoom -856 SGIX_icc_texture -857 SGIX_igloo_interface -858 SGIX_image_compression -859 SGIX_impact_pixel_texture -860 SGIX_instrument_error -861 SGIX_interlace -862 SGIX_ir_instrument1 -863 SGIX_line_quality_hint -864 SGIX_list_priority -865 SGIX_mpeg1 -866 SGIX_mpeg2 -867 SGIX_nonlinear_lighting_pervertex -868 SGIX_nurbs_eval -869 SGIX_occlusion_instrument -870 SGIX_packed_6bytes -871 SGIX_pixel_texture -872 SGIX_pixel_texture_bits -873 SGIX_pixel_texture_lod -874 SGIX_pixel_tiles -875 SGIX_polynomial_ffd -876 SGIX_quad_mesh -877 SGIX_reference_plane -878 SGIX_resample -879 SGIX_scalebias_hint -880 SGIX_shadow -881 SGIX_shadow_ambient -882 SGIX_slim -883 SGIX_spotlight_cutoff -884 SGIX_sprite -885 SGIX_subdiv_patch -886 SGIX_subsample -887 SGIX_tag_sample_buffer -888 SGIX_texture_add_env -889 SGIX_texture_coordinate_clamp -890 SGIX_texture_lod_bias -891 SGIX_texture_mipmap_anisotropic -892 SGIX_texture_multi_buffer -893 SGIX_texture_phase -894 SGIX_texture_range -895 SGIX_texture_scale_bias -896 SGIX_texture_supersample -897 SGIX_vector_ops -898 SGIX_vertex_array_object -899 SGIX_vertex_preclip -900 SGIX_vertex_preclip_hint -901 SGIX_ycrcb -902 SGIX_ycrcb_subsample -903 SGIX_ycrcba +823 SGIX_async +824 SGIX_async_histogram +825 SGIX_async_pixel +826 SGIX_bali_g_instruments +827 SGIX_bali_r_instruments +828 SGIX_bali_timer_instruments +829 SGIX_blend_alpha_minmax +830 SGIX_blend_cadd +831 SGIX_blend_cmultiply +832 SGIX_calligraphic_fragment +833 SGIX_clipmap +834 SGIX_color_matrix_accuracy +835 SGIX_color_table_index_mode +836 SGIX_complex_polar +837 SGIX_convolution_accuracy +838 SGIX_cube_map +839 SGIX_cylinder_texgen +840 SGIX_datapipe +841 SGIX_decimation +842 SGIX_depth_pass_instrument +843 SGIX_depth_texture +844 SGIX_dvc +845 SGIX_flush_raster +846 SGIX_fog_blend +847 SGIX_fog_factor_to_alpha +848 SGIX_fog_layers +849 SGIX_fog_offset +850 SGIX_fog_patchy +851 SGIX_fog_scale +852 SGIX_fog_texture +853 SGIX_fragment_lighting_space +854 SGIX_fragment_specular_lighting +855 SGIX_fragments_instrument +856 SGIX_framezoom +857 SGIX_icc_texture +858 SGIX_igloo_interface +859 SGIX_image_compression +860 SGIX_impact_pixel_texture +861 SGIX_instrument_error +862 SGIX_interlace +863 SGIX_ir_instrument1 +864 SGIX_line_quality_hint +865 SGIX_list_priority +866 SGIX_mpeg1 +867 SGIX_mpeg2 +868 SGIX_nonlinear_lighting_pervertex +869 SGIX_nurbs_eval +870 SGIX_occlusion_instrument +871 SGIX_packed_6bytes +872 SGIX_pixel_texture +873 SGIX_pixel_texture_bits +874 SGIX_pixel_texture_lod +875 SGIX_pixel_tiles +876 SGIX_polynomial_ffd +877 SGIX_quad_mesh +878 SGIX_reference_plane +879 SGIX_resample +880 SGIX_scalebias_hint +881 SGIX_shadow +882 SGIX_shadow_ambient +883 SGIX_slim +884 SGIX_spotlight_cutoff +885 SGIX_sprite +886 SGIX_subdiv_patch +887 SGIX_subsample +888 SGIX_tag_sample_buffer +889 SGIX_texture_add_env +890 SGIX_texture_coordinate_clamp +891 SGIX_texture_lod_bias +892 SGIX_texture_mipmap_anisotropic +893 SGIX_texture_multi_buffer +894 SGIX_texture_phase +895 SGIX_texture_range +896 SGIX_texture_scale_bias +897 SGIX_texture_supersample +898 SGIX_vector_ops +899 SGIX_vertex_array_object +900 SGIX_vertex_preclip +901 SGIX_vertex_preclip_hint +902 SGIX_ycrcb +903 SGIX_ycrcb_subsample +904 SGIX_ycrcba
-904 SGI_color_matrix -905 SGI_color_table -906 SGI_complex -907 SGI_complex_type -908 SGI_fft -909 SGI_texture_color_table +905 SGI_color_matrix +906 SGI_color_table +907 SGI_complex +908 SGI_complex_type +909 SGI_fft +910 SGI_texture_color_table
-910 SUNX_constant_data +911 SUNX_constant_data
-911 SUN_convolution_border_modes -912 SUN_global_alpha -913 SUN_mesh_array -914 SUN_read_video_pixels -915 SUN_slice_accum -916 SUN_triangle_list -917 SUN_vertex +912 SUN_convolution_border_modes +913 SUN_global_alpha +914 SUN_mesh_array +915 SUN_read_video_pixels +916 SUN_slice_accum +917 SUN_triangle_list +918 SUN_vertex
-918 VIV_shader_binary +919 VIV_shader_binary
-919 WIN_phong_shading -920 WIN_scene_markerXXX -921 WIN_specular_fog -922 WIN_swap_hint +920 WIN_phong_shading +921 WIN_scene_markerXXX +922 WIN_specular_fog +923 WIN_swap_hint diff --git a/include/GL/glew.h b/include/GL/glew.h index cf5b4b8..dbf4abd 100644 --- a/include/GL/glew.h +++ b/include/GL/glew.h @@ -20239,6 +20239,17 @@ typedef void (GLAPIENTRY * PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC) (GLuint ref, G #endif /* GL_QCOM_perfmon_global_mode */ +/* --------------------- GL_QCOM_render_shared_exponent -------------------- */ + +#ifndef GL_QCOM_render_shared_exponent +#define GL_QCOM_render_shared_exponent 1 + +#define GL_RGB9_E5 0x8C3D + +#define GLEW_QCOM_render_shared_exponent GLEW_GET_VAR(__GLEW_QCOM_render_shared_exponent) + +#endif /* GL_QCOM_render_shared_exponent */ + /* -------------- GL_QCOM_shader_framebuffer_fetch_noncoherent ------------- */ #ifndef GL_QCOM_shader_framebuffer_fetch_noncoherent @@ -26390,6 +26401,7 @@ GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_frame_extrapolation; GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_framebuffer_foveated; GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_motion_estimation; GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_perfmon_global_mode; +GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_render_shared_exponent; GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_shader_framebuffer_fetch_noncoherent; GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_shader_framebuffer_fetch_rate; GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_shading_rate; diff --git a/src/glew.c b/src/glew.c index 6673164..22ff7cc 100644 --- a/src/glew.c +++ b/src/glew.c @@ -4290,6 +4290,7 @@ GLboolean __GLEW_QCOM_frame_extrapolation = GL_FALSE; GLboolean __GLEW_QCOM_framebuffer_foveated = GL_FALSE; GLboolean __GLEW_QCOM_motion_estimation = GL_FALSE; GLboolean __GLEW_QCOM_perfmon_global_mode = GL_FALSE; +GLboolean __GLEW_QCOM_render_shared_exponent = GL_FALSE; GLboolean __GLEW_QCOM_shader_framebuffer_fetch_noncoherent = GL_FALSE; GLboolean __GLEW_QCOM_shader_framebuffer_fetch_rate = GL_FALSE; GLboolean __GLEW_QCOM_shading_rate = GL_FALSE; @@ -6786,6 +6787,9 @@ static const char * _glewExtensionLookup[] = { #ifdef GL_QCOM_perfmon_global_mode "GL_QCOM_perfmon_global_mode", #endif +#ifdef GL_QCOM_render_shared_exponent + "GL_QCOM_render_shared_exponent", +#endif #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent "GL_QCOM_shader_framebuffer_fetch_noncoherent", #endif @@ -7253,7 +7257,7 @@ static const char * _glewExtensionLookup[] = { /* Detected in the extension string or strings */ -static GLboolean _glewExtensionString[940]; +static GLboolean _glewExtensionString[941]; /* Detected via extension string or experimental mode */ static GLboolean* _glewExtensionEnabled[] = { #ifdef GL_3DFX_multisample @@ -9614,6 +9618,9 @@ static GLboolean* _glewExtensionEnabled[] = { #ifdef GL_QCOM_perfmon_global_mode &__GLEW_QCOM_perfmon_global_mode, #endif +#ifdef GL_QCOM_render_shared_exponent + &__GLEW_QCOM_render_shared_exponent, +#endif #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent &__GLEW_QCOM_shader_framebuffer_fetch_noncoherent, #endif @@ -29089,6 +29096,13 @@ GLboolean GLEWAPIENTRY glewIsSupported (const char* name) continue; } #endif +#ifdef GL_QCOM_render_shared_exponent + if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_shared_exponent", 22)) + { + ret = GLEW_QCOM_render_shared_exponent; + continue; + } +#endif #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_framebuffer_fetch_noncoherent", 36)) { diff --git a/src/glewinfo.c b/src/glewinfo.c index 146773e..88bb698 100644 --- a/src/glewinfo.c +++ b/src/glewinfo.c @@ -10276,6 +10276,15 @@ static void _glewInfo_GL_QCOM_perfmon_global_mode (void) #endif /* GL_QCOM_perfmon_global_mode */ +#ifdef GL_QCOM_render_shared_exponent + +static void _glewInfo_GL_QCOM_render_shared_exponent (void) +{ + glewPrintExt("GL_QCOM_render_shared_exponent", GLEW_QCOM_render_shared_exponent, glewIsSupported("GL_QCOM_render_shared_exponent"), glewGetExtension("GL_QCOM_render_shared_exponent")); +} + +#endif /* GL_QCOM_render_shared_exponent */ + #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent static void _glewInfo_GL_QCOM_shader_framebuffer_fetch_noncoherent (void) @@ -17311,6 +17320,9 @@ static void glewInfo (void) #ifdef GL_QCOM_perfmon_global_mode _glewInfo_GL_QCOM_perfmon_global_mode(); #endif /* GL_QCOM_perfmon_global_mode */ +#ifdef GL_QCOM_render_shared_exponent + _glewInfo_GL_QCOM_render_shared_exponent(); +#endif /* GL_QCOM_render_shared_exponent */ #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent _glewInfo_GL_QCOM_shader_framebuffer_fetch_noncoherent(); #endif /* GL_QCOM_shader_framebuffer_fetch_noncoherent */