OpenGL API在不同的版本中的扩展。
OpenGL 4.6 (2017)
Addition | Core Extension |
---|---|
The SPIR-V language can be used to define shaders. | ARB_gl_spirv, ARB_spirv_extensions |
Vertex shaders can get the draw ID and base vertex/instance values from rendering commands. | ARB_shader_draw_parameters |
Multi-draw indirect rendering commands that can fetch the number of draws from a buffer. | ARB_indirect_parameters |
Statistics and transform feedback overflow queries. | ARB_pipeline_statistics_query, ARB_transform_feedback_overflow_query |
Anisotropic Filtering | ARB_texture_filter_anisotropic |
Clamping polygon offsets | ARB_polygon_offset_clamp |
OpenGL Contexts can be created that do not report errors of any kind. | KHR_no_error |
More operations for Atomic Counters. | ARB_shader_atomic_counter_ops |
Avoiding divergent shader invocations, where they are unnecessary. | ARB_shader_group_vote |
Links:
- OpenGL 4.6 Core Profile Specification
- OpenGL 4.6 Compatibility Profile Specification
- OpenGL Shading Language 4.60 Specification
OpenGL 4.5 (2014)
Addition | Core Extension |
---|---|
Additional clip control modes to configure how clip space is mapped to window space. | ARB_clip_control |
Adds a new GLSL gl_CullDistance shader output, similar to gl_ClipDistance, but used for whole primitive culling. | ARB_cull_distance |
Compatibility with OpenGL ES 3.1 | ARB_ES3_1_compatibility |
Adds new modes to glBeginConditionalRender which invert condition used to determine whether to draw or not. | ARB_conditional_render_inverted |
Provides control over the spacial granularity at which the underlying implementation computes derivatives. | ARB_derivative_control |
Allows modifying and querying object state without binding objects. | ARB_direct_state_access |
Adds a new function to get sub-regions of texture images. | ARB_get_texture_sub_image |
Upgrades the ARB_robustness functionality to meet ES 3.1 standards. | KHR_robustness |
Provides GLSL built-in functions allowing shaders to query the number of samples of a texture. | ARB_shader_texture_image_samples |
Relaxes the restrictions on rendering to a currently bound texture and provides a mechanism to avoid read-after-write hazards. | ARB_texture_barrier |
Links:
- OpenGL 4.5 Core Profile Specification
- OpenGL 4.5 Compatibility Profile Specification
- OpenGL Shading Language 4.50 Specification
OpenGL 4.4 (2013)
While a number of features made it into core OpenGL, a number of other features were left to specific extensions. These offer certainly functionality that lesser 4.x hardware would be unable to handle.
Links:
- OpenGL 4.4 Core Profile Specification
- OpenGL 4.4 Compatibility Profile Specification
- OpenGL Shading Language 4.40 Specification
OpenGL 4.3 (2012)
Links:
- OpenGL 4.3 Core Profile Specification
- OpenGL 4.3 Compatibility Profile Specification
- OpenGL Shading Language 4.30 Specification
OpenGL 4.2 (2011)
Links:
- OpenGL 4.2 Core Profile Specification
- OpenGL 4.2 Compatibility Profile Specification
- OpenGL Shading Language 4.20.6 Specification
OpenGL 4.1 (2010)
Addition | Core Extension |
---|---|
Query and load a binary blob for program objects | ARB_get_program_binary |
Ability to bind programs individually to programmable stages | ARB_separate_shader_objects |
Pulling missing functionality from OpenGL ES 2.0 into OpenGL | ARB_ES2_compatibility |
Documents precision requirements for several FP operations | ARB_shader_precision |
Provides 64-bit floating-point component vertex attributes | ARB_vertex_attrib_64_bit |
Multiple Viewports for the same rendering surface, or one per surface | ARB_viewport_array |
Links:
- OpenGL 4.1 Core Profile Specification
- OpenGL 4.1 Compatibility Profile Specification
- OpenGL Shading Language 4.10.6 Specification
OpenGL 4.0 (2010)
Addition | Core Extension |
---|---|
Shading language 4.00 | ARB_texture_query_lod, ARB_gpu_shader5, ARB_gpu_shader_fp64, ARB_shader_subroutine, ARB_texture_gather |
Indirect Drawing, without multidraw | ARB_draw_indirect |
Request minimum number of fragment inputs | ARB_sample_shading |
Tessellation, with shader stages | ARB_tessellation_shader |
Buffer Texture formats RGB32F, RGB32I, RGB32UI | ARB_texture_buffer_object_rgb32 |
Cubemap Array Texture | ARB_texture_cube_map_array |
Transform Feedback objects and multiple feedback stream output. | ARB_transform_feedback2, ARB_transform_feedback3 |
Addition | Promoted from |
Individual blend equations for each color output | ARB_draw_buffers_blend |
Links:
- OpenGL 4.0 Core Profile Specification
- OpenGL 4.0 Compatibility Profile Specification
- OpenGL Shading Language 4.00.9 Specification