GLEW: The OpenGL Extension Wrangler Library

Latest Release: 1.5.7
Download
Installation
Basic Usage
Advanced Usage
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker
Last Update: 11-03-10
| # The OpenGL Extension Wrangler Library ## Change Log 1.5.7 [11-03-10] New extension: GL_NVX_gpu_memory_info Bug fixes: Improved mingw32 build support Improved cygwin build support glGetPointervEXT fix Add GLEW_VERSION_1_2_1 1.5.6 [09-07-10] New features: Support for OpenGL 4.1 New extensions: GL_ARB_ES2_compatibility GL_ARB_cl_event GL_ARB_debug_output GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GLX_ARB_create_context_robustness GLX_EXT_create_context_es2_profile WGL_ARB_create_context_robustness WGL_EXT_create_context_es2_profile 1.5.5 [07-13-10] New extensions: GL_AMD_debug_output GL_AMD_name_gen_delete GL_AMD_transform_feedback3_lines_triangles GL_NV_multisample_coverage GL_NV_vdpau_interop GLX_AMD_gpu_association GLX_NV_multisample_coverage WGL_NV_multisample_coverage Bug fixes: Compilation issue with GLX_SGI_video_sync OpenGL 4.0 double-precision uniform functions added Constness of glPointParameterfvARB and glPointParameterfvEXT Added glVertexAttribDivisor Compilation issue with Nvidia GLX headers 1.5.4 [04-21-10] New features: Support for OpenGL 3.3 Support for OpenGL 4.0 New extensions: GL_AMD_conservative_depth GL_ARB_blend_func_extended GL_ARB_draw_indirect GL_ARB_explicit_attrib_location GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_occlusion_query2 GL_ARB_sampler_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_compression_bptc GL_ARB_texture_rgb10_a2ui GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_shader_image_load_store GL_EXT_vertex_attrib_64bit GL_NV_gpu_program5 GL_NV_gpu_program_fp64 GL_NV_gpu_shader5 GL_NV_tessellation_program5 GL_NV_vertex_attrib_integer_64bit GLX_ARB_vertex_buffer_object Bug fixes: Parameter constness fix for glPointParameteriv and glPointParameterfv 1.5.3 [02-28-10] New extensions: GLX_INTEL_swap_event GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export Bug fixes: Correct version detection for GL 3.1 and 3.2 Missing 3.1 enumerants Add glew.pc 1.5.2 [12-31-09] New features: Support for OpenGL 3.1 Support for OpenGL 3.2 New extensions: GL_AMD_draw_buffers_blend GL_AMD_performance_monitor GL_AMD_texture_texture4 GL_AMD_vertex_shader_tessellator GL_APPLE_aux_depth_stencil GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_vertex_program_evaluators GL_ARB_compatibility GL_ARB_copy_buffer GL_ARB_depth_clamp GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_ARB_sync GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ATI_meminfo GL_EXT_provoking_vertex GL_EXT_separate_shader_objects GL_EXT_texture_snorm GL_NV_copy_image GL_NV_parameter_buffer_object2 GL_NV_shader_buffer_load GL_NV_texture_barrier GL_NV_transform_feedback2 GL_NV_vertex_buffer_unified_memory WGL_AMD_gpu_association WGL_ARB_create_context_profile WGL_NV_copy_image GLX_ARB_create_context_profile GLX_EXT_swap_control GLX_NV_copy_image Bug fixes: DOS line endings for windows .zip archives only. glTransformFeedbackVaryings arguments. Resource leak in glewinfo and visualinfo tools. WIN32_LEAN_AND_MEAN preprocessor pollution. Fixed version detection for GLEW_VERSION_2_1 and GLEW_VERSION_3_0. MesaGLUT glut.h GLAPIENTRY dependency. glFramebufferTextureLayer correction. OSX compiler warnings resolved. Cygwin linking to opengl32 by default, rather than X11 OpenGL. SnowLeopard (OSX 10.6) gl.h detection. Use $(STRIP) consistently. 1.5.1 [11-03-08] New features: Support for OpenGL 3.0 New extensions: GL_ARB_depth_buffer_float GL_ARB_draw_instance, GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_vertex_array_object GL_EXT_direct_state_access GL_EXT_texture_swizzle GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_NV_explicit_multisample GL_NV_present_video GL_SGIS_point_line_texgen GL_SGIX_convolution_accuracy WGL_ARB_create_context WGL_ARB_framebuffer_sRGB WGL_NV_present_video WGL_NV_swap_group WGL_NV_video_output GLX_ARB_create_context GLX_ARB_framebuffer_sRGB GLX_NV_present_video GLX_NV_swap_group GLX_NV_video_output Bug fixes: Licensing issues with documentation Problems with long long and _MSC_VER on MINGW Incorrect parameter for glGetUniformLocation glewGetExtension fails on last entry Incomplete GL_NV_texture_shader tokens Scripting problems on Cygwin Incorrect definition for GLint on OS X 1.5.0 [12-27-07] New features: Licensing change (BSD, Mesa 3-D, Khronos) Switch to using registry on www.opengl.org Support for major and minor version strings New extensions: GL_APPLE_flush_buffer_range GL_GREMEDY_frame_terminator GLX_EXT_texture_from_pixmap Bug fixes: Incorrent 64-bit type definitions Do not strip static library on install Missing tokens in GL_ATI_fragment_shader and WGL_{ARB,EXT}_make_current_read Missing tokens in GL_VERSION_2_1 Missing functions in GL_VERSION_1_4 Incorrect parameter type for glXCopyContext 1.4.0 [04-27-07] New features: Extension variables are declared const to avoid possible corruption of their values New extensions: GL_NV_depth_range_unclamped Bug fixes: Incorrect tokens in GL_NV_transform_feedback and GL_NV_framebuffer_multisample_coverage Incorrect function names in GL_EXT_gpu_program_parameters Missing tokens in GL_EXT_framebuffer_multisample GLEW_MX initialization problem for WGL_{ARB,EXT}_extensions_string 1.3.6 [03-04-07] New extensions: GL_ATI_shader_texture_lod GL_EXT_gpu_program_parameters GL_NV_geometry_shader4 WGL_NV_gpu_affinity GLX_SGIX_hyperpipe Bug fixes: Missing include guards in glxew.h Makefile and install problems for Cygwin builds Install problem for Linux AMD64 builds Incorrent token in GL_ATI_texture_compression_3dc Missing tokens from GL_ATIX_point_sprites 1.3.5 [11-21-06] New features: Support for core OpenGL 2.1 Debug support for glewIsSupported New extensions: GL_EXT_bindable_uniform GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_shader4 GL_EXT_packed_float GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_integer GL_EXT_texture_shared_exponent GL_EXT_timer_query GL_NV_depth_buffer_float GL_NV_fragment_program4 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_program4 GL_NV_gpu_program4 GL_NV_parameter_buffer_object GL_NV_transform_feedback GL_NV_vertex_program4 GL_OES_byte_coordinates GL_OES_compressed_paletted_texture GL_OES_read_format GL_OES_single_precision WGL_EXT_pixel_format_packed_float WGL_EXT_framebuffer_sRGB GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB Bug fixes: Wrong GLXContext definition on Solaris Makefile problem for parallel builds 1.3.4 [03-04-06] New extensions: GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_MESAX_texture_stack WGL_3DL_stereo_control Bug fixes: glBlendEquation missing from GL_ARB_imaging Wrong APIENTRY definition for Cygwin Incorrect OS X OpenGL types Unix 64-bit installation patch 1.3.3 [05-16-05] New feature: Code generation option to split source into multiple files Bug fixes: OpenGL 2.0 core initialization problems Wrong value for token GL_SHADER_TYPE Missing tokens in GL_ATI_fragment_shader Missing entry points in GL_ARB_transpose_matrix 1.3.2 [03-16-05] New extension: GL_APPLE_pixel_buffer Bug fixes: Missing OpenGL 2.0 entry points Missing tokens in GL_SGIX_shadow MinGW makefile problem Check for incorrect OpenGL version string on SiS hardware Documentation update to meet the HTML 4.01 Transitional specification 1.3.1 [02-02-05] New features: Consistent Unix and Windows versioning New extensions: GL_EXT_framebuffer_object GL_ARB_pixel_buffer_object Bug fixes: Missing OpenGL 2.0 tokens Incorrect typedefs (GLhandleARB and GLhalf) Borland compiler problems 1.3.0 [01-04-05] New features: Support for core OpenGL 2.0 `glewIsSupported` provides efficient string-based extension checks Custom code generation from a list of extensions Makefile changes New extensions: WGL_ATI_render_texture_rectangle Bug fixes: Incorrect function signature in OpenGL 1.5 core 1.2.5 [12-06-04] New extensions: GL_ATI_texture_compression_3dc GL_EXT_Cg_shader GL_EXT_draw_range_elements GL_KTX_buffer_region Bug fixes: OpenGL version detection bug Problems with wxWindows and MinGW compilation `visualinfo` compilation problem with GLEW_MX specified Wrong token name in OpenGL 1.5 core Support for FreeBSD 1.2.4 [09-06-04] Added ARB_draw_buffers and ARB_texture_rectangle Fixed bug in ARB_shader_objects Replaced `wglinfo` with `visualinfo` 1.2.3 [06-10-04] Added GL_NV_fragment_program2, GL_NV_fragment_program_option, GL_NV_vertex_program2_option, GL_NV_vertex_program3 Bug fix in GL_ARB_vertex_blend 1.2.2 [05-08-04] Added GL_EXT_pixel_buffer_object, removed GL_NV_element_array Fixed GLEW_MX problems Bug fix in GL_EXT_texture_rectangle and `wglinfo` 1.2.1 [03-18-04] Bug fix in OpenGL version query (early release of 1.2.0 contained this bug) Bug fix in GL_ARB_shader_objects and temporary bug fix in GL_ARB_vertex_shader Added flags on GDI support and multisampling to `wglinfo` 1.2.0 [02-19-04] Added full OpenGL 1.5 support Added support for multiple rendering contexts with different capabilities Added command line flags to `glewinfo` for selecting displays and visuals Added GLX_SGIS_multisample, GLX_SUN_video_resize, and GL_SUN_read_video_pixels Added MinGW/MSYS support Bug fixes in GL_ARB_shader_objects and the OS X build 1.1.4 [12-15-03] Added GL_APPLE_float_pixels, GL_APPLE_texture_range, GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp, GLX_ATI_pixel_format_float, and GLX_ATI_render_texture Bug fixes in GL_ATI_map_object_buffer and GL_ATI_fragment_shader 1.1.3 [10-28-03] Added Solaris and Darwin support Added GL_ARB_fragment_shader, GL_ARB_shader_objects, and GL_ARB_vertex_shader Fixed bug in GL_WIN_swap_hint Removed `glewinfo`'s dependency on `GLUT` 1.1.2 [09-15-03] Removed dependency on WGL_{ARB,EXT}_extensions_string to make GLEW run on Matrox cards Added glewGetString for querying the GLEW version string 1.1.1 [08-11-03] Added GLX_NV_float_buffer, GL_ARB_shading_language_100, and GL_ARB_texture_non_power_of_two Fixed bug in GL_ARB_vertex_buffer_object Minor updates in documentation 1.1.0 [07-08-03] Added automatic code generation Added almost every extension in the registry Added separate namespace Added Irix support Updated documentation 1.0.7 [06-29-03] Added GL_EXT_depth_bounds_test Fixed typos 1.0.6 [05-05-03] Added ARB_vertex_buffer_object and NV_half_float Updated `wglinfo` Temporary Linux bug fixes (problems with SDL and MESA) 1.0.5 [02-17-03] Bug fixes Added `wglinfo` Updated documentation 1.0.4 [02-02-03] Added NV_texture_expand_normal Added mingw support Updated documentation 1.0.3 [01-09-03] Cleaned up ATI extensions Changed function prototypes to match glext.h Added EXT_texture3D Fixed typos in ATI_vertex_attrib_array_object and ATI_draw_buffers 1.0.2 [12-21-02] Added list of supported extensions to documentation Added NV_half_float and NV_texgen_emboss 1.0.1 [12-17-02] Bug fixes Added glewGetExtension 1.0.0 [12-12-02] Initial release