Difference between revisions of "History of OpenGL"

From OpenGL.org
Jump to: navigation, search
(OpenGL 2.0 (2004))
(OpenGL 4.2 (2011): Added links to the appropriate sections.)
(31 intermediate revisions by 7 users not shown)
Line 6: Line 6:
 
OpenGL 2.0 incorporates the significant addition of the OpenGL Shading Language (also called GLSL), a C like language with which the transformation and fragment shading stages of the pipeline can be programmed.
 
OpenGL 2.0 incorporates the significant addition of the OpenGL Shading Language (also called GLSL), a C like language with which the transformation and fragment shading stages of the pipeline can be programmed.
  
OpenGL 3.0 adds the notion of backwards compatible context and forward compatible context. In forward mode, certain old GL functions don't work since they are considered old/deprecated/should not be used/there is a better and more modern way. Example, glBegin, glVertex, glEnd was the GL 1.0 method of submitting vertices. Since GL 1.5, VBO is added which is more efficient.
+
OpenGL 3.0 adds the concept of deprecation: marking certain features as subject to removal in later versions. GL 3.1 removed most deprecated features, and GL 3.2 created the notion of [[Core And Compatibility in Contexts|core and compatibility]] OpenGL contexts.
  
Official versions of OpenGL released to date are 1.0, 1.1, 1.2, 1.2.1, 1.3, 1.4, 1.5, 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0.
+
Official versions of OpenGL released to date are 1.0, 1.1, 1.2, 1.2.1, 1.3, 1.4, 1.5, 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3.
  
 
== Summary of version changes ==
 
== Summary of version changes ==
Line 15: Line 15:
 
Almost all additions are promoted from some extensions.
 
Almost all additions are promoted from some extensions.
  
=== OpenGL 1.0 (1992) ===
+
=== OpenGL 4.3 (2012) ===
First release.
+
{| class="wikitable"
 
+
=== OpenGL 1.1 (1992) ===
+
{|
+
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |Vertex arrays
+
  |Debug messaging
  |EXT_vertex_array
+
  |[http://www.opengl.org/registry/specs/KHR/debug.txt KHR_debug]
 
  |-
 
  |-
  |Polygon offset
+
  |[[GLSL Types#Arrays of arrays|GLSL multidimensional arrays]]
  |EXT_polygon_offset
+
  |[http://www.opengl.org/registry/specs/ARB/arrays_of_arrays.txt ARB_arrays_of_arrays]
 
  |-
 
  |-
  |Logical operation
+
  |Clear [[Buffer Object]]s to specific values, ala {{code|memset}}
  |EXT_blend_logic_op
+
  |[http://www.opengl.org/registry/specs/ARB/clear_buffer_object.txt ARB_clear_buffer_object]
 
  |-
 
  |-
  |Internal texture formats
+
  |Arbitrary [[Compute Shader]]s
  |EXT_texture
+
  |[http://www.opengl.org/registry/specs/ARB/compute_shader.txt ARB_compute_shader]
 
  |-
 
  |-
  |GL_REPLACE texture env
+
  |[[Texture_Storage#Texture_copy|Arbitrary image copying]]
  |EXT_texture
+
  |[http://www.opengl.org/registry/specs/ARB/copy_image.txt ARB_copy_image]
 
  |-
 
  |-
  |Texture proxy
+
  |Compatibility with OpenGL ES 3.0
  |EXT_texture
+
  |[http://www.opengl.org/registry/specs/ARB/ES3_compatibility.txt ARB_ES3_compatibility]
 
  |-
 
  |-
  |Copy texture and subtexture
+
  |Specifying [[Type_Qualifier_(GLSL)#Explicit_uniform_location|uniform locations in a shader]]
  |EXT_copy_texture, EXT_subtexture
+
|[http://www.opengl.org/registry/specs/ARB/explicit_uniform_location.txt ARB_explicit_uniform_location]
 +
|-
 +
|[[Fragment_Shader#User_overridden_inputs|Layer and viewport indices]] available from the fragment shader
 +
  |[http://www.opengl.org/registry/specs/ARB/fragment_layer_viewport.txt ARB_fragment_layer_viewport]
 +
|-
 +
|Rendering to a [[Framebuffer Object]] that [[Framebuffer_Object#Empty_framebuffers|has no attachments]]
 +
|[http://www.opengl.org/registry/specs/ARB/framebuffer_no_attachments.txt ARB_framebuffer_no_attachments]
 +
|-
 +
|[[Image_Format#Image_format_queries|Generalized queries for information]] about [[Image Format]]s
 +
|[http://www.opengl.org/registry/specs/ARB/internalformat_query2.txt ARB_internalformat_query2]
 +
|-
 +
|[[Texture_Storage#Invalidation|Texture]], [[Buffer_Object#Invalidation|buffer object]], and [[Framebuffer Object#Invalidation|framebuffer]] invalidation.
 +
|[http://www.opengl.org/registry/specs/ARB/invalidate_subdata.txt ARB_invalidate_subdata]
 +
|-
 +
|Issuing [[Vertex_Rendering#Indirect_rendering|multiple indirect rendering commands]] from a single drawing command.
 +
|[http://www.opengl.org/registry/specs/ARB/multi_draw_indirect.txt ARB_multi_draw_indirect]
 +
|-
 +
|Improved API for [[Program_Introspection#Interface_query|getting info about program object interfaces]]
 +
|[http://www.opengl.org/registry/specs/ARB/program_interface_query.txt ARB_program_interface_query]
 +
|-
 +
|More robustness of API
 +
|[http://www.opengl.org/registry/specs/ARB/robust_buffer_access_behavior.txt ARB_robust_buffer_access_behavior],
 +
 
 +
[http://www.opengl.org/registry/specs/ARB/robustness_isolation.txt ARB_robustness_isolation],
 +
 
 +
[http://www.opengl.org/registry/specs/ARB/wgl_robustness_isolation.txt WGL_ARB_robustness_isolation],
 +
 
 +
[http://www.opengl.org/registry/specs/ARB/glx_robustness_isolation.txt GLX_ARB_robustness_isolation]
 +
|-
 +
|[[Image_Load_Store#Image_size|Get size]] of [[Image Load Store|images]] from GLSL
 +
|[http://www.opengl.org/registry/specs/ARB/shader_image_size.txt ARB_shader_image_size]
 +
|-
 +
|[[Shader Storage Buffer Object|Buffer object read-write access from shader]], via a uniform-block style mechanism
 +
|[http://www.opengl.org/registry/specs/ARB/shader_storage_buffer_object.txt ARB_shader_storage_buffer_object]
 +
|-
 +
|[[Texture#Stencil_texturing|Accessing the stencil values from a depth/stencil texture]]
 +
|[http://www.opengl.org/registry/specs/ARB/stencil_texturing.txt ARB_stencil_texturing]
 +
|-
 +
|[[Buffer Texture]]s can now be [[Buffer_Texture#Buffer_texture_range|bound to a range of a buffer object]] rather than the whole thing
 +
|[http://www.opengl.org/registry/specs/ARB/texture_buffer_range.txt ARB_texture_buffer_range]
 +
|-
 +
|GLSL can detect the available mipmap pyramid of a [[Sampler_(GLSL)#Texture_mipmap_retrieval|sampler]] or [[Image_Load_Store#Image_mipmap|image]]
 +
|[http://www.opengl.org/registry/specs/ARB/texture_query_levels.txt ARB_texture_query_levels]
 +
|-
 +
|Immutable storage for [[Texture_Storage#Immutable_storage|multisample textures]]
 +
|[http://www.opengl.org/registry/specs/ARB/texture_storage_multisample.txt ARB_texture_storage_multisample]
 +
|-
 +
|[[Texture_Storage#Texture_views|The ability to create a new texture]], with a new internal format, that references an existing texture's storage
 +
|[http://www.opengl.org/registry/specs/ARB/texture_view.txt ARB_texture_view]
 +
|-
 +
|[[Vertex_Specification#Separate_attribute_format|Separation of vertex format from buffer object]]
 +
|[http://www.opengl.org/registry/specs/ARB/vertex_attrib_binding.txt ARB_vertex_attrib_binding]
 
  |-
 
  |-
|Texture objects
 
|EXT_texture_object
 
 
  |}
 
  |}
  
=== OpenGL 1.2 (1998) ===
+
Links:
{|
+
*[http://www.opengl.org/registry/doc/glspec43.core.20120806.pdf OpenGL 4.3 Core Profile Specification]
 +
*[http://www.opengl.org/registry/doc/glspec43.compatibility.20120806.pdf OpenGL 4.3 Compatibility Profile Specification]
 +
*[http://www.opengl.org/registry/doc/GLSLangSpec.4.30.6.pdf OpenGL Shading Language 4.30 Specification]
 +
 
 +
=== OpenGL 4.2 (2011) ===
 +
{| class="wikitable"
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |3D textures
+
  |Allows atomically [[Atomic_Counter|incrementing/decrementing and fetching of buffer object memory locations from shaders]]
  |EXT_texture3D
+
  |[http://www.opengl.org/registry/specs/ARB/shader_atomic_counters.txt ARB_shader_atomic_counters]
 
  |-
 
  |-
  |BGRA pixel formats
+
  |Allows shaders to [[Image Load Store|read and write images]], with [[Memory_Model#Incoherent_memory_access|few but difficult restrictions]]
  |EXT_bgra
+
  |[http://www.opengl.org/registry/specs/ARB/shader_image_load_store.txt ARB_shader_image_load_store]
 
  |-
 
  |-
  |Packed pixel formats
+
  |Allows texture objects to have [[Texture Storage#Immutable storage|immutable storage, and allocating all mipmap levels and images in one call]]. The storage becomes immutable, but the contents of the storage are not
  |EXT_packed_pixels
+
  |[http://www.opengl.org/registry/specs/ARB/texture_storage.txt ARB_texture_storage]
 
  |-
 
  |-
  |Normal rescaling
+
  |Allows [[Vertex_Rendering#Transform_feedback_rendering|instanced rendering of data written by transform feedback operations]]
  |EXT_rescale_normal
+
  |[http://www.opengl.org/registry/specs/ARB/transform_feedback_instanced.txt ARB_transform_feedback_instanced]
 
  |-
 
  |-
  |Separate specular color
+
  |Allows the setting of [[Uniform_Buffer_Object#Version_4.20_binding|Uniform Buffer Object]] and [[GLSL_Samplers#Verison_4.20_binding|sampler]] binding points directly from GLSL, among [[Type_Qualifier#Qualifier_order|many other]] small changes
  |EXT_separate_specular_color
+
  |[http://www.opengl.org/registry/specs/ARB/shading_language_420pack.txt ARB_shading_language_420pack]
 
  |-
 
  |-
  |Texture coordinate edge clamping
+
  |Allows the use of certain advanced compression formats
  |SGIS_texture_edge_clamp
+
  |[http://www.opengl.org/registry/specs/ARB/texture_compression_bptc.txt ARB_texture_compression_BPTC]
 
  |-
 
  |-
  |Texture LOD control
+
  |Allows instanced rendering with a [[Vertex_Rendering#Instancing|starting instance value]].
  |SGIS_texture_lod
+
|[http://www.opengl.org/registry/specs/ARB/base_instance.txt ARB_base_instance]
 +
|-
 +
|Allows the user to [[Image_Format#Image_format_queries|detect the maximum number of samples possible]] for a particular [[Image Format|image format]] and [[Texture#Theory|texture type]]
 +
|[http://www.opengl.org/registry/specs/ARB/internalformat_query.txt ARB_internalformat_query]
 +
|-
 +
|Allows for sub-rectangle selection when transferring compressed texture data.
 +
|[http://www.opengl.org/registry/specs/ARB/compressed_texture_pixel_storage.txt ARB_compressed_texture_pixel_storage]
 +
|-
 +
|Allows unpacking 16-bit floats from a 32-bit unsigned integer value.
 +
|[http://www.opengl.org/registry/specs/ARB/shading_language_packing.txt ARB_shading_language_packing]
 +
|-
 +
|Allows querying of the [[Buffer Object#Alignment|alignment for pointers]] returned from [[Buffer_Object#Mapping|buffer object mapping operations]]
 +
|[http://www.opengl.org/registry/specs/ARB/map_buffer_alignment.txt ARB_map_buffer_alignment]
 +
|-
 +
|Allows explicitly defining how a [[Fragment_Shader#Outputs|fragment shader will modify the depth value]], so that the system can optimize these cases better
 +
  |[http://www.opengl.org/registry/specs/ARB/conservative_depth.txt ARB_conservative_depth]
 
  |-
 
  |-
|Vertex array draw element range
 
|EXT_draw_range_elements
 
 
  |}
 
  |}
==== Imaging subset (optional) ====
+
 
{|
+
Links:
 +
* [http://www.opengl.org/registry/doc/glspec42.core.20110808.pdf OpenGL 4.2 Core Profile Specification]
 +
* [http://www.opengl.org/registry/doc/glspec42.compatibility.20110808.pdf OpenGL 4.2 Compatibility Profile Specification]
 +
* [http://www.opengl.org/registry/doc/GLSLangSpec.4.20.6.clean.pdf OpenGL Shading Language 4.20.6 Specification]
 +
 
 +
=== OpenGL 4.1 (2010) ===
 +
{| class="wikitable"
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |Color Tables
+
  |Query and load a binary blob for program objects
  |EXT_color_table, EXT_color_subtable
+
  |[http://www.opengl.org/registry/specs/ARB/get_program_binary.txt ARB_get_program_binary]
 
  |-
 
  |-
  |Convolution
+
  |Ability to [[GLSL_Object#Program separation|bind programs individually to programmable stages]]
  |EXT_convolution, EXT_convolution_border_modes
+
  |[http://www.opengl.org/registry/specs/ARB/separate_shader_objects.txt ARB_separate_shader_objects]
 
  |-
 
  |-
  |Color matrix
+
  |Pulling missing functionality from [[OpenGL ES]] 2.0 into OpenGL
  |EXT_color_matrix
+
  |[http://www.opengl.org/registry/specs/ARB/ES2_compatibility.txt ARB_ES2_compatibility]
 
  |-
 
  |-
  |Pixel data statistics
+
  |Documents precision requirements for several FP operations
  |EXT_histogram
+
  |[http://www.opengl.org/registry/specs/ARB/shader_precision.txt ARB_shader_precision]
 
  |-
 
  |-
  |Constant blend color
+
  |Provides 64-bit floating-point component vertex shader inputs
  |EXT_blend_color
+
  |[http://www.opengl.org/registry/specs/ARB/vertex_attrib_64bit.txt ARB_vertex_attrib_64_bit]
 
  |-
 
  |-
  |New blending equations
+
  |Multiple viewports for the same rendering surface, or one per surface
  |EXT_blend_minmax, EXT_blend_substract
+
  |[http://www.opengl.org/registry/specs/ARB/viewport_array.txt ARB_viewport_array]
 
  |}
 
  |}
  
=== OpenGL 1.2.1 (1998) ===
+
Links:
This version defines ARB extensions concept. ARB extensions are not required to be supported by a conformant OpenGL
+
* [http://www.opengl.org/registry/doc/glspec41.core.20100725.pdf OpenGL 4.1 Core Profile Specification]
implementation, but are expected to be widely available; they define
+
* [http://www.opengl.org/registry/doc/glspec41.compatibility.20100725.pdf OpenGL 4.1 Compatibility Profile Specification]
functionality that is likely to move into the required feature set in a future
+
* [http://www.opengl.org/registry/doc/GLSLangSpec.4.10.6.clean.pdf OpenGL Shading Language 4.10.6 Specification]
revision of the specification.
+
  
GL implementations of such later revisions should continue to export the name
+
=== OpenGL 4.0 (2010) ===
strings of promoted extensions in the EXTENSIONS string, and continue to support
+
{| class="wikitable"
the ARB-affixed versions of functions and enumerants as a transition aid.
+
!Addition
 +
!Promoted from
 +
|-
 +
|Shading language 4.00
 +
|{{extref|texture_query_lod}}, {{extref|gpu_shader5}}, {{extref|gpu_shader_fp64}}, {{extref|shader_subroutine}}, {{extref|texture_gather}}
 +
|-
 +
|Individual blend equations for each color output
 +
|{{extref|draw_buffers_blend}}
 +
|-
 +
|Draw instanced arrays indirect
 +
|{{extref|draw_indirect}}
 +
|-
 +
|Request minimum number of fragment inputs
 +
|{{extref|sample_shading}}
 +
|-
 +
|Tessellation control and evaluation shaders
 +
|{{extref|tessellation_shader}}
 +
|-
 +
|[[Buffer Texture]] formats RGB32F, RGB32I, RGB32UI
 +
|{{extref|texture_buffer_object_rgb32}}
 +
|-
 +
|Cube map array textures
 +
|{{extref|texture_cube_map_array}}
 +
|-
 +
|[[Transform Feedback]] objects and multiple feedback stream output.
 +
|{{extref|transform_feedback2}}, {{extref|transform_feedback3}}
 +
|}
 +
 
 +
Links:
 +
* [http://www.opengl.org/registry/doc/glspec40.core.20100311.pdf OpenGL 4.0 Core Profile Specification]
 +
* [http://www.opengl.org/registry/doc/glspec40.compatibility.20100311.pdf OpenGL 4.0 Compatibility Profile Specification]
 +
* [http://www.opengl.org/registry/doc/GLSLangSpec.4.00.9.clean.pdf OpenGL Shading Language 4.00.9 Specification]
  
=== OpenGL 1.3 (2001) ===
+
=== OpenGL 3.3 (2010) ===
{|
+
{| class="wikitable"
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |Compressed textures
+
  |Shading language 3.30
  |ARB_texture_compression
+
  |{{extref|shader_bit_encoding}}
 
  |-
 
  |-
  |Cube map textures
+
  |[[Blending#Dual_Source_Blending|Dual-source blending]].
  |ARB_texture_cube_map
+
  |{{extref|blend_func_extended}}
 
  |-
 
  |-
  |Multisample
+
  |Shader-defined locations for [[GLSL_Type_Qualifiers#Vertex_shader_attribute_index|attributes]] and [[GLSL_Type_Qualifiers#Fragment_shader_buffer_output|fragment shader outputs]].
  |ARB_multisample
+
  |{{extref|explicit_attrib_location}}
 
  |-
 
  |-
  |Multitexture
+
  |Simple boolean [[Occlusion Query]]
  |ARB_multitexture
+
  |{{extref|occlusion_query2}}
 
  |-
 
  |-
  |Texture add env mode
+
  |Sampler objects
  |ARB_texture_env_add
+
  |{{extref|sampler_objects}}
 
  |-
 
  |-
  |Texture combine env mode
+
  |A new texture format for unsigned 10.10.10.2
  |ARB_texture_env_combine
+
  |{{extref|texture_rgb10_a2ui}}
 
  |-
 
  |-
  |Texture dot3 env mode
+
  |[[Texture#Swizzle_mask|Texture swizzle]]
  |ARB_texture_env_dot3
+
  |{{extref|texture_swizzle}}
 
  |-
 
  |-
  |Texture border clamp
+
  |[[Query_Object#Timer_queries|Timer queries]]
  |ARB_texture_border_clamp
+
  |{{extref|timer_query}}
 
  |-
 
  |-
  |Transpose matrix
+
  |[[Vertex_Specification#Instanced_arrays|Instanced arrays]]
  |ARB_transpose_matrix
+
  |{{extref|instanced_arrays}}
 +
|-
 +
|Vertex attributes 2.10.10.10
 +
|{{extref|vertex_type_2_10_10_10_rev}}
 
  |}
 
  |}
  
=== OpenGL 1.4 (2002) ===
+
Links:
{|
+
* [http://www.opengl.org/registry/doc/glspec33.core.20100311.pdf OpenGL 3.3 Core Profile Specification]
 +
* [http://www.opengl.org/registry/doc/glspec33.compatibility.20100311.pdf OpenGL 3.3 Compatibility Profile Specification]
 +
* [http://www.opengl.org/registry/doc/GLSLangSpec.3.30.6.clean.pdf OpenGL Shading Language 3.30.9 Specification]
 +
* [http://www.opengl.org/sdk/docs/man3 OpenGL 3.3 Reference Pages]
 +
* [http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=273669#Post273669 Official feedback on OpenGL 3.3 thread]
 +
 
 +
=== OpenGL 3.2 (2009) ===
 +
* Core and compatibility profiles
 +
* Shading language 1.50
 +
{| class="wikitable"
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |Automatic mipmap generation
+
  |[[Vertex_Specification#D3D_compatibility|D3D compatible color vertex component ordering]]
  |SGIS_generate_mipmap
+
  |{{extref|vertext_array_bgra}}
 
  |-
 
  |-
  |Blend squaring
+
  |[[Vertex_Rendering#Base_Index|Drawing command allowing modification of the base vertex index]]
  |NV_blend_equare
+
  |{{extref|draw_elements_base_vertex}}
 
  |-
 
  |-
  |Depth textures and shadows
+
  |Shader fragment coordinate convention control
  |ARB_depth_texture, ARB_shadow
+
  |{{extref|fragment_coord_conventions}}
 
  |-
 
  |-
  |Fog coordinate
+
  |Provoking vertex control
  |EXT_fog_coord
+
  |{{extref|provoking_vertex}}
 
  |-
 
  |-
  |Multiple draw arrays
+
  |[[Cubemap#Seamless_cubemap|Seamless cube map filtering]]
  |EXT_multi_draw_arrays
+
  |{{extref|seamless_cube_map}}
 
  |-
 
  |-
  |Point parameters
+
  |Multisampled textures and texture samplers for specific sample locations
  |ARB_point_parameters
+
  |{{extref|texture_multisample}}
 
  |-
 
  |-
  |Secondary color
+
  |Fragment depth clamping
  |EXT_secondary_color
+
  |{{extref|depth_clamp}}
 
  |-
 
  |-
  |Separate blend functions
+
  |[[Geometry Shader]]s, as well as input/output [[Interface Block]]s
  |EXT_blend_func_separate
+
  |{{extref|geometry_shader4}}, though heavily modified.
 
  |-
 
  |-
  |Stencil wrap
+
  |[[Sync Object|Fence sync objects]]
  |EXT_stencil_wrap
+
  |{{extref|sync}}
 +
|}
 +
 
 +
Links:
 +
* [http://www.opengl.org/registry/doc/glspec32.core.20091207.pdf OpenGL 3.2 Core Profile Specification]
 +
* [http://www.opengl.org/registry/doc/glspec32.compatibility.20091207.pdf OpenGL 3.2 Compatibility Profile Specification]
 +
* [http://www.opengl.org/registry/doc/GLSLangSpec.1.50.11.pdf OpenGL Shading Language 1.50.11 Specification]
 +
* [http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=261641#Post261641 Official feedback on OpenGL 3.2 thread]
 +
 
 +
=== OpenGL 3.1 (2009) ===
 +
* All features deprecated in OpenGL 3.0 are removed except wide lines
 +
* Shading language 1.40
 +
* SNORM texture component formats
 +
{| class="wikitable"
 +
!Addition
 +
!Promoted from
 
  |-
 
  |-
  |Texture crossbar env mode
+
  |[[Vertex_Rendering#Instancing|Instanced rendering with a per instance counter accessible to vertex shaders]]
  |ARB_texture_env_crossbar
+
  |{{extref|draw_instanced}}
 
  |-
 
  |-
  |Texture LOD bias
+
  |Data copying between buffer objects
  |EXT_texture_lod_bias
+
  |{{extref|copy_buffer|EXT}}
 
  |-
 
  |-
  |Texture mirrored repeat
+
  |[[Vertex_Rendering#Primitive_Restart|Primitive restart]]
  |ARB_texture_mirrored_repeat
+
  |{{extref|primitive_restart|NV}}
 
  |-
 
  |-
  |Window raster position
+
  |[[Buffer Texture]]s
  |ARB_window_pos
+
  |{{extref|texture_buffer_object}}
 +
|-
 +
|[[Rectangle Texture]]s
 +
|{{extref|texture_rectangle}}
 +
|-
 +
|[[Uniform Buffer Object]]s
 +
|{{extref|uniform_buffer_object}}
 
  |}
 
  |}
  
=== OpenGL 1.5 (2003) ===
+
Links:
{|
+
* [http://www.opengl.org/registry/doc/glspec31.20090528.pdf OpenGL 3.1 Specification]
 +
* [http://www.opengl.org/registry/doc/glspec31undep.20090528.pdf OpenGL 3.1 Specification with GL_ARB_compatibility extension]
 +
* [http://www.opengl.org/registry/doc/GLSLangSpec.Full.1.40.08.pdf OpenGL Shading Language 1.40.08 Specification]
 +
* [http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=255002#Post255002 Official feedback on OpenGL 3.1 thread]
 +
 
 +
=== OpenGL 3.0 (2008) ===
 +
* New context creation mechanism
 +
* Full and forward compatible context
 +
* Profiles
 +
* Mapping buffer subranges into client space
 +
* Single- and double-channel (R and RG) internal formats for textures and renderbuffers
 +
{| class="wikitable"
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |Buffer objects
+
  |[[Conditional Rendering]]
  |ARB_vertex_buffer_object
+
  |{{extref|conditional_render|NV}}
 
  |-
 
  |-
  |Occlusion query
+
  |Floating-point color and depth internal formats for textures and render buffers
  |ARB_occlusion_query
+
  |{{extref|color_buffer_float}}, {{extref|depth_buffer_float|NV}}, {{extref|texture_float}}, {{extref|packed_float|EXT}}, {{extref|texture_shared_exponent|EXT}}
 
  |-
 
  |-
  |Shadow functions
+
  |[[Framebuffer Object]]s, along with blitting, [[Multisample]] [[Renderbuffer Object]]s, and [[Image_Format#Depth_stencil_formats|packed depth/stencil image formats]]
  |EXT_shadow_funcs
+
  |{{extref|framebuffer_object}}
 +
|-
 +
|Half-float (16-bit) vertex array and pixel data formats
 +
|{{extref|half_float|NV}}, {{extref|half_float_pixel|EXT}}
 +
|-
 +
|Integral [[Image Format]]s, which can be fetched as integers rather than being converted to normalized floats.
 +
|{{extref|texture_integer|EXT}}
 +
|-
 +
|[[Array Texture]]s
 +
|{{extref|texture_array|EXT}}
 +
|-
 +
|[[Blending#Blend_enabling|Per-color-attachment blend enables]] and [[Write_Mask#Color Mask|color writemasks]]
 +
|{{extref|draw_buffers2|EXT}}
 +
|-
 +
|[[Red Green Texture Compression]]
 +
|{{extref|texture_compression_rgtc|EXT}}
 +
|-
 +
|[[Transform Feedback]]
 +
|{{extref|transform_feedback}}
 +
|-
 +
|[[Vertex Array Object]]s
 +
|{{extref|vertex_array_object}}
 +
|-
 +
|sRGB framebuffer mode
 +
|{{extref|framebuffer_sRGB|EXT}}
 
  |}
 
  |}
 +
 +
==== Deprecation Model ====
 +
OpenGL 3 specification marks many features as deprecated, which will be removed in next versions. This features include:
 +
{{div col|3}}
 +
* Application-generated object names
 +
* Color index mode
 +
* Shading language 1.10 and 1.20
 +
* Begin/End primitive specification
 +
* Edge flags
 +
* Fixed function vertex processing!
 +
* Client vertex arrays
 +
* Rectangles
 +
* Current raster position
 +
* Two-sided color selection
 +
* Non-sprite points
 +
* Wide lines and line stripple
 +
* Quadrilateral and polygon primitives
 +
* Separate polygon draw mode
 +
* Polygon stripple
 +
* Pixel transfer modes and operations
 +
* Pixel drawing
 +
* Bitmaps
 +
* Legacy OpenGL 1.0 pixel formats
 +
* Legacy pixel formats
 +
* Depth texture mode
 +
* Texture wrap mode CLAMP
 +
* Texture borders
 +
* Automatic mipmap generation
 +
* Fixed function fragment processing
 +
* Alpha test
 +
* Accumulation buffers
 +
* Context framebuffer size queries
 +
* Evaluators
 +
* Selection and feedback mode
 +
* Display lists
 +
* Hints
 +
* Attribute stacks
 +
* Unified extension string
 +
{{div col end}}
 +
 +
Links:
 +
* [http://www.opengl.org/registry/doc/glspec30.20080923.pdf OpenGL 3.0 Specification]
 +
* [http://www.opengl.org/registry/doc/GLSLangSpec.Full.1.30.10.pdf OpenGL Shading Language 1.30.10 Specification]
 +
* [http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=243193#Post243193 Official feedback on OpenGL 3.0 thread]
 +
 +
=== OpenGL 2.1 (2006) ===
 +
Core features:
 +
{|
 +
!Addition
 +
!Promoted from
 +
|-
 +
|Pixel buffer objects
 +
|ARB_pixel_buffer_object
 +
|-
 +
|sRGB textures
 +
|EXT_texture_sRGB
 +
|}
 +
Shading language 1.20:
 +
* Non-square matrices in GLSL.
 +
 +
Links:
 +
* [http://www.opengl.org/registry/doc/glspec21.20061201.pdf OpenGL 2.1 Specification]
 +
* [http://www.opengl.org/registry/doc/GLSLangSpec.Full.1.20.8.pdf OpenGL Shading Language 1.20.8 Specification]
  
 
=== OpenGL 2.0 (2004) ===
 
=== OpenGL 2.0 (2004) ===
Line 210: Line 441:
 
  |-
 
  |-
 
  |Shader objects
 
  |Shader objects
  |ARB_shader_objects, heavily modified
+
  |ARB_shader_objects, ''heavily modified''
 
  |-
 
  |-
 
  |Shader programs
 
  |Shader programs
  |ARB_vertex_shader, ARB_fragment_shader, heavily modified
+
  |ARB_vertex_shader, ARB_fragment_shader, ''heavily modified''
 
  |-
 
  |-
 
  |Shading language 1.10
 
  |Shading language 1.10
  |ARB_shading_language_100, heavily modified
+
  |ARB_shading_language_100, ''heavily modified''
 
  |-
 
  |-
 
  |Multiple render targets
 
  |Multiple render targets
Line 231: Line 462:
 
  |}
 
  |}
  
=== OpenGL 2.1 (2006) ===
+
 
* Shading language 1.20
+
=== OpenGL 1.5 (2003) ===
* Non-square matrices
+
 
{|
 
{|
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |Pixel buffer objects
+
  |Buffer objects
  |ARB_pixel_buffer_object
+
  |ARB_vertex_buffer_object
 
  |-
 
  |-
  |sRGB textures
+
  |Occlusion query
  |EXT_texture_sRGB
+
  |ARB_occlusion_query
 +
|-
 +
|Shadow functions
 +
|EXT_shadow_funcs
 
  |}
 
  |}
  
=== OpenGL 3.0 (2008) ===
+
=== OpenGL 1.4 (2002) ===
* New context creation mechanism
+
* Full and forward compatible context
+
* Profiles
+
* Mapping buffer subranges into client space
+
* Single- and double-channel (R and RG) internal formats for textures and renderbuffers
+
 
{|
 
{|
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |Conditional rendering
+
  |Automatic mipmap generation
  |NV_conditional_rendering
+
  |SGIS_generate_mipmap
 
  |-
 
  |-
  |Floating-point color and depth internal formats for textures and render buffers
+
  |Blend squaring
  |ARB_color_buffer_float, NV_depth_buffer_float, ARB_texture_float, EXT_packed_float, EXT_texture_shared_exponent
+
  |NV_blend_equare
 
  |-
 
  |-
  |Framebuffer objects
+
  |Depth textures and shadows
  |EXT_framebuffer_object
+
  |ARB_depth_texture, ARB_shadow
 
  |-
 
  |-
  |Half-float (16-bit) vertex array and pixel data formats
+
  |Fog coordinate
  |NV_half_float, ARB_half_float_pixel
+
  |EXT_fog_coord
 
  |-
 
  |-
  |Multisample stretch blit functionality
+
  |Multiple draw arrays
  |EXT_framebuffer_multisample, EXT_framebuffer_blit
+
  |EXT_multi_draw_arrays
 
  |-
 
  |-
  |Non-normalized integer color internal formats for textures and renderbuffers
+
  |Point parameters
  |EXT_texture_integer
+
  |ARB_point_parameters
 
  |-
 
  |-
  |1D and 2D layered texture targets
+
  |Secondary color
  |EXT_texture_array
+
  |EXT_secondary_color
 
  |-
 
  |-
  |Packed depth/stencil internal formats for combined depth+stencil textures and renderbuffers
+
  |Separate blend functions
  |EXT_packed_depth_stencil
+
  |EXT_blend_func_separate
 
  |-
 
  |-
  |Per-color-attachment blend enables and color writemasks
+
  |Stencil wrap
  |EXT_draw_buffers2
+
  |EXT_stencil_wrap
 
  |-
 
  |-
  |RGTC specific internal compressed formats
+
  |Texture crossbar env mode
  |EXT_texture_compression_rgtc
+
  |ARB_texture_env_crossbar
 
  |-
 
  |-
  |Transform feedback
+
  |Texture LOD bias
  |EXT_transform_feedback
+
  |EXT_texture_lod_bias
 
  |-
 
  |-
  |Vertex array objects
+
  |Texture mirrored repeat
  |APPLE_vertex_array_object
+
  |ARB_texture_mirrored_repeat
 
  |-
 
  |-
  |sRGB framebuffer mode
+
  |Window raster position
  |EXT_framebuffer_sRGB
+
  |ARB_window_pos
 
  |}
 
  |}
  
==== Deprecation Model ====
+
=== OpenGL 1.3 (2001) ===
OpenGL 3 specification marks many features as deprecated, which will be removed in next versions. This features include:
+
* Application-generated object names
+
* Color index mode
+
* Shading language 1.10 and 1.20
+
* Begin/End primitive specification
+
* Edge flags
+
* Fixed function vertex processing!
+
* Client vertex arrays
+
* Rectangles
+
* Current raster position
+
* Two-sided color selection
+
* Non-sprite points
+
* Wide lines and line stripple
+
* Quadrilateral and polygon primitives
+
* Separate polygon draw mode
+
* Polygon stripple
+
* Pixel transfer modes and operations
+
* Pixel drawing
+
* Bitmaps
+
* Legacy OpenGL 1.0 pixel formats
+
* Legacy pixel formats
+
* Depth texture mode
+
* Texture wrap mode CLAMP
+
* Texture borders
+
* Automatic mipmap generation
+
* Fixed function fragment processing
+
* Alpha test
+
* Accumulation buffers
+
* Context framebuffer size queries
+
* Evaluators
+
* Selection and feedback mode
+
* Display lists
+
* Hints
+
* Attribute stacks
+
* Unified extension string
+
 
+
=== OpenGL 3.1 (2009) ===
+
* All features deprecated in OpenGL 3.0 are removed except wide lines
+
* Shading language 1.40
+
* SNORM texture component formats
+
 
{|
 
{|
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |Instanced rendering with a per instance counter accessible to vertex shaders
+
  |Compressed textures
  |ARB_draw_instanced
+
  |ARB_texture_compression
 
  |-
 
  |-
  |Data copying between buffer objects
+
  |Cube map textures
  |EXT_copy_buffer
+
  |ARB_texture_cube_map
 
  |-
 
  |-
  |Primitive restart
+
  |Multisample
  |NV_primitive_restart
+
  |ARB_multisample
 
  |-
 
  |-
  |Texture buffer objects
+
  |Multitexture
  |ARB_texture_buffer_object
+
  |ARB_multitexture
 
  |-
 
  |-
  |Rectangular textures
+
  |Texture add env mode
  |ARB_texture_rectangle
+
  |ARB_texture_env_add
 
  |-
 
  |-
  |Uniform buffer objects
+
  |Texture combine env mode
  |ARB_uniform_buffer_object
+
  |ARB_texture_env_combine
 +
|-
 +
|Texture dot3 env mode
 +
|ARB_texture_env_dot3
 +
|-
 +
|Texture border clamp
 +
|ARB_texture_border_clamp
 +
|-
 +
|Transpose matrix
 +
|ARB_transpose_matrix
 
  |}
 
  |}
  
=== OpenGL 3.2 (2009) ===
+
=== OpenGL 1.2.1 (1998) ===
* Core and compatibility profiles
+
This version defines ARB extensions concept. ARB extensions are not required to be supported by a conformant OpenGL
* Shading language 1.50
+
implementation, but are expected to be widely available; they define
 +
functionality that is likely to move into the required feature set in a future
 +
revision of the specification.
 +
 
 +
GL implementations of such later revisions should continue to export the name
 +
strings of promoted extensions in the EXTENSIONS string, and continue to support
 +
the ARB-affixed versions of functions and enumerants as a transition aid.
 +
 
 +
=== OpenGL 1.2 (1998) ===
 
{|
 
{|
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |BGRA vertex component ordering
+
  |3D textures
  |ARB_vertext_array_bgra
+
  |EXT_texture3D
 
  |-
 
  |-
  |Drawing command allowing modification of the base vertex index
+
  |BGRA pixel formats
  |ARB_draw_elements_base_vertex
+
  |EXT_bgra
 
  |-
 
  |-
  |Shader fragment coordinate convention control
+
  |Packed pixel formats
  |ARB_fragment_coord_conventions
+
  |EXT_packed_pixels
 
  |-
 
  |-
  |Provoking vertex control
+
  |Normal rescaling
  |ARB_provoking_vertex
+
  |EXT_rescale_normal
 
  |-
 
  |-
  |Seamless cube map filtering
+
  |Separate specular color
  |ARB_seamless_cube_map
+
  |EXT_separate_specular_color
 
  |-
 
  |-
  |Multisampled textures and texture samplers for specific sample locations
+
  |Texture coordinate edge clamping
  |ARB_texture_multisample
+
  |SGIS_texture_edge_clamp
 
  |-
 
  |-
  |Fragment depth clamping
+
  |Texture LOD control
  |ARB_depth_clamp
+
  |SGIS_texture_lod
 
  |-
 
  |-
  |Geometry shaders
+
  |Vertex array draw element range
  |ARB_geometry_shader4
+
  |EXT_draw_range_elements
|-
+
|Fence sync objects
+
|ARB_sync
+
 
  |}
 
  |}
 
+
==== Imaging subset (optional) ====
=== OpenGL 3.3 (2010) ===
+
 
{|
 
{|
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |Shading language 3.30
+
  |Color Tables
  |ARB_shader_bit_encoding
+
  |EXT_color_table, EXT_color_subtable
 
  |-
 
  |-
  |New blending functions
+
  |Convolution
  |ARB_blend_func_extended
+
  |EXT_convolution, EXT_convolution_border_modes
 
  |-
 
  |-
  |Attribute locations
+
  |Color matrix
  |ARB_explicit_attrib_location
+
  |EXT_color_matrix
 
  |-
 
  |-
  |Simple boolean occlusion queries
+
  |Pixel data statistics
  |ARB_occlusion_query2
+
  |EXT_histogram
 
  |-
 
  |-
  |Sampler objects
+
  |Constant blend color
  |ARB_sampler_objects
+
  |EXT_blend_color
|-
+
|A new texture format for unsigned 10.10.10.2
+
|ARB_texture_rgb10_a2ui
+
 
  |-
 
  |-
  |Texture swizzle
+
  |New blending equations
  |ARB_texture_swizzle
+
  |EXT_blend_minmax, EXT_blend_substract
|-
+
|Timer query
+
|ARB_timer_query
+
|-
+
|Instanced arrays
+
|ARB_instanced_arrays
+
|-
+
|Vertex attributes 2.10.10.10
+
|ARB_vertex_type_2_10_10_10_rev
+
 
  |}
 
  |}
  
=== OpenGL 4.0 (2010) ===
+
=== OpenGL 1.1 (1997) ===
 
{|
 
{|
 
  !Addition
 
  !Addition
 
  !Promoted from
 
  !Promoted from
 
  |-
 
  |-
  |Shading language 4.00
+
  |Vertex arrays
  |ARB_texture_query_lod, ARB_gpu_shader5, ARB_gpu_shader_fp64, ARB_shader_subroutine, ARB_texture_gather
+
  |EXT_vertex_array
 
  |-
 
  |-
  |Individual blend equations for each color output
+
  |Polygon offset
  |ARB_draw_buffers_blend
+
  |EXT_polygon_offset
 
  |-
 
  |-
  |Draw instanced arrays indirect
+
  |Logical operation
  |ARB_draw_indirect
+
  |EXT_blend_logic_op
 
  |-
 
  |-
  |Request minimum number of fragment inputs
+
  |Internal texture formats
  |ARB_sample_shading
+
  |EXT_texture
 
  |-
 
  |-
  |Tesselation control and evaluation shaders
+
  |GL_REPLACE texture env
  |ARB_tesselation_shader
+
  |EXT_texture
 
  |-
 
  |-
  |Texture formats RGB32F, RGB32I, RGB32UI
+
  |Texture proxy
  |ARB_texture_buffer_object_rgb32
+
  |EXT_texture
 
  |-
 
  |-
  |Cube map array textures
+
  |Copy texture and subtexture
  |ARB_texture_cube_map_array
+
  |EXT_copy_texture, EXT_subtexture
 
  |-
 
  |-
  |Additional transform feedback functionality
+
  |Texture objects
  |ARB_transform_feedback2, ARB_transform_feedback3
+
  |EXT_texture_object
 
  |}
 
  |}
 +
 +
=== OpenGL 1.0 (1992) ===
 +
First release.

Revision as of 03:37, 13 February 2013

Overview

OpenGL was first created as an open and reproducable alternative to Iris GL which had been the proprietary graphics API on Silicon Graphics workstations. Although OpenGL was initially similar in some respects to IrisGL the lack of a formal specification and conformance tests made Iris GL unsuitable for broader adoption. Mark Segal and Kurt Akeley authored the OpenGL 1.0 specification which tried to formalize the definition of a useful graphics API and made cross platform non-SGI 3rd party implementation and support viable. One notable omission from version 1.0 of the API was texture objects. IrisGL had definition and bind stages for all sorts of objects including materials, lights, textures and texture environments. OpenGL eschewed these objects in favor of incremental state changes with the idea that collective changes could be encapsulated in display lists. This has remained the philosophy with the exception that texture objects (glBindTexture) with no distinct definition stage are a key part of the API.

OpenGL has been through a number of revisions which have predominantly been incremental additions where extensions to the core API have gradually been incorporated into the main body of the API. For example OpenGL 1.1 added the glBindTexture extension to the core API.

OpenGL 2.0 incorporates the significant addition of the OpenGL Shading Language (also called GLSL), a C like language with which the transformation and fragment shading stages of the pipeline can be programmed.

OpenGL 3.0 adds the concept of deprecation: marking certain features as subject to removal in later versions. GL 3.1 removed most deprecated features, and GL 3.2 created the notion of core and compatibility OpenGL contexts.

Official versions of OpenGL released to date are 1.0, 1.1, 1.2, 1.2.1, 1.3, 1.4, 1.5, 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3.

Summary of version changes

This is summary of all changes made in OpenGL specifications through its development. More information about changes may be obtained in OpenGL specification for the version. (In appendix.)

Almost all additions are promoted from some extensions.

OpenGL 4.3 (2012)

Addition Promoted from
Debug messaging KHR_debug
GLSL multidimensional arrays ARB_arrays_of_arrays
Clear Buffer Objects to specific values, ala memset​ ARB_clear_buffer_object
Arbitrary Compute Shaders ARB_compute_shader
Arbitrary image copying ARB_copy_image
Compatibility with OpenGL ES 3.0 ARB_ES3_compatibility
Specifying uniform locations in a shader ARB_explicit_uniform_location
Layer and viewport indices available from the fragment shader ARB_fragment_layer_viewport
Rendering to a Framebuffer Object that has no attachments ARB_framebuffer_no_attachments
Generalized queries for information about Image Formats ARB_internalformat_query2
Texture, buffer object, and framebuffer invalidation. ARB_invalidate_subdata
Issuing multiple indirect rendering commands from a single drawing command. ARB_multi_draw_indirect
Improved API for getting info about program object interfaces ARB_program_interface_query
More robustness of API ARB_robust_buffer_access_behavior,

ARB_robustness_isolation,

WGL_ARB_robustness_isolation,

GLX_ARB_robustness_isolation

Get size of images from GLSL ARB_shader_image_size
Buffer object read-write access from shader, via a uniform-block style mechanism ARB_shader_storage_buffer_object
Accessing the stencil values from a depth/stencil texture ARB_stencil_texturing
Buffer Textures can now be bound to a range of a buffer object rather than the whole thing ARB_texture_buffer_range
GLSL can detect the available mipmap pyramid of a sampler or image ARB_texture_query_levels
Immutable storage for multisample textures ARB_texture_storage_multisample
The ability to create a new texture, with a new internal format, that references an existing texture's storage ARB_texture_view
Separation of vertex format from buffer object ARB_vertex_attrib_binding

Links:

OpenGL 4.2 (2011)

Addition Promoted from
Allows atomically incrementing/decrementing and fetching of buffer object memory locations from shaders ARB_shader_atomic_counters
Allows shaders to read and write images, with few but difficult restrictions ARB_shader_image_load_store
Allows texture objects to have immutable storage, and allocating all mipmap levels and images in one call. The storage becomes immutable, but the contents of the storage are not ARB_texture_storage
Allows instanced rendering of data written by transform feedback operations ARB_transform_feedback_instanced
Allows the setting of Uniform Buffer Object and sampler binding points directly from GLSL, among many other small changes ARB_shading_language_420pack
Allows the use of certain advanced compression formats ARB_texture_compression_BPTC
Allows instanced rendering with a starting instance value. ARB_base_instance
Allows the user to detect the maximum number of samples possible for a particular image format and texture type ARB_internalformat_query
Allows for sub-rectangle selection when transferring compressed texture data. ARB_compressed_texture_pixel_storage
Allows unpacking 16-bit floats from a 32-bit unsigned integer value. ARB_shading_language_packing
Allows querying of the alignment for pointers returned from buffer object mapping operations ARB_map_buffer_alignment
Allows explicitly defining how a fragment shader will modify the depth value, so that the system can optimize these cases better ARB_conservative_depth

Links:

OpenGL 4.1 (2010)

Addition Promoted from
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 shader inputs ARB_vertex_attrib_64_bit
Multiple viewports for the same rendering surface, or one per surface ARB_viewport_array

Links:

OpenGL 4.0 (2010)

Addition Promoted from
Shading language 4.00 ARB_texture_query_lod, ARB_gpu_shader5, ARB_gpu_shader_fp64, ARB_shader_subroutine, ARB_texture_gather
Individual blend equations for each color output ARB_draw_buffers_blend
Draw instanced arrays indirect ARB_draw_indirect
Request minimum number of fragment inputs ARB_sample_shading
Tessellation control and evaluation shaders ARB_tessellation_shader
Buffer Texture formats RGB32F, RGB32I, RGB32UI ARB_texture_buffer_object_rgb32
Cube map array textures ARB_texture_cube_map_array
Transform Feedback objects and multiple feedback stream output. ARB_transform_feedback2, ARB_transform_feedback3

Links:

OpenGL 3.3 (2010)

Addition Promoted from
Shading language 3.30 ARB_shader_bit_encoding
Dual-source blending. ARB_blend_func_extended
Shader-defined locations for attributes and fragment shader outputs. ARB_explicit_attrib_location
Simple boolean Occlusion Query ARB_occlusion_query2
Sampler objects ARB_sampler_objects
A new texture format for unsigned 10.10.10.2 ARB_texture_rgb10_a2ui
Texture swizzle ARB_texture_swizzle
Timer queries ARB_timer_query
Instanced arrays ARB_instanced_arrays
Vertex attributes 2.10.10.10 ARB_vertex_type_2_10_10_10_rev

Links:

OpenGL 3.2 (2009)

  • Core and compatibility profiles
  • Shading language 1.50
Addition Promoted from
D3D compatible color vertex component ordering ARB_vertext_array_bgra
Drawing command allowing modification of the base vertex index ARB_draw_elements_base_vertex
Shader fragment coordinate convention control ARB_fragment_coord_conventions
Provoking vertex control ARB_provoking_vertex
Seamless cube map filtering ARB_seamless_cube_map
Multisampled textures and texture samplers for specific sample locations ARB_texture_multisample
Fragment depth clamping ARB_depth_clamp
Geometry Shaders, as well as input/output Interface Blocks ARB_geometry_shader4, though heavily modified.
Fence sync objects ARB_sync

Links:

OpenGL 3.1 (2009)

  • All features deprecated in OpenGL 3.0 are removed except wide lines
  • Shading language 1.40
  • SNORM texture component formats
Addition Promoted from
Instanced rendering with a per instance counter accessible to vertex shaders ARB_draw_instanced
Data copying between buffer objects EXT_copy_buffer
Primitive restart NV_primitive_restart
Buffer Textures ARB_texture_buffer_object
Rectangle Textures ARB_texture_rectangle
Uniform Buffer Objects ARB_uniform_buffer_object

Links:

OpenGL 3.0 (2008)

  • New context creation mechanism
  • Full and forward compatible context
  • Profiles
  • Mapping buffer subranges into client space
  • Single- and double-channel (R and RG) internal formats for textures and renderbuffers
Addition Promoted from
Conditional Rendering NV_conditional_render
Floating-point color and depth internal formats for textures and render buffers ARB_color_buffer_float, NV_depth_buffer_float, ARB_texture_float, EXT_packed_float, EXT_texture_shared_exponent
Framebuffer Objects, along with blitting, Multisample Renderbuffer Objects, and packed depth/stencil image formats ARB_framebuffer_object
Half-float (16-bit) vertex array and pixel data formats NV_half_float, EXT_half_float_pixel
Integral Image Formats, which can be fetched as integers rather than being converted to normalized floats. EXT_texture_integer
Array Textures EXT_texture_array
Per-color-attachment blend enables and color writemasks EXT_draw_buffers2
Red Green Texture Compression EXT_texture_compression_rgtc
Transform Feedback ARB_transform_feedback
Vertex Array Objects ARB_vertex_array_object
sRGB framebuffer mode EXT_framebuffer_sRGB

Deprecation Model

OpenGL 3 specification marks many features as deprecated, which will be removed in next versions. This features include:

  • Application-generated object names
  • Color index mode
  • Shading language 1.10 and 1.20
  • Begin/End primitive specification
  • Edge flags
  • Fixed function vertex processing!
  • Client vertex arrays
  • Rectangles
  • Current raster position
  • Two-sided color selection
  • Non-sprite points
  • Wide lines and line stripple
  • Quadrilateral and polygon primitives
  • Separate polygon draw mode
  • Polygon stripple
  • Pixel transfer modes and operations
  • Pixel drawing
  • Bitmaps
  • Legacy OpenGL 1.0 pixel formats
  • Legacy pixel formats
  • Depth texture mode
  • Texture wrap mode CLAMP
  • Texture borders
  • Automatic mipmap generation
  • Fixed function fragment processing
  • Alpha test
  • Accumulation buffers
  • Context framebuffer size queries
  • Evaluators
  • Selection and feedback mode
  • Display lists
  • Hints
  • Attribute stacks
  • Unified extension string

Links:

OpenGL 2.1 (2006)

Core features:

Addition Promoted from
Pixel buffer objects ARB_pixel_buffer_object
sRGB textures EXT_texture_sRGB

Shading language 1.20:

  • Non-square matrices in GLSL.

Links:

OpenGL 2.0 (2004)

Addition Promoted from
Shader objects ARB_shader_objects, heavily modified
Shader programs ARB_vertex_shader, ARB_fragment_shader, heavily modified
Shading language 1.10 ARB_shading_language_100, heavily modified
Multiple render targets ARB_draw_buffers
Non-power-of-two textures ARB_texture_non_power_of_two
Point sprites ARB_point_sprite
Separate stencil ATI_separate_stencil, EXT_stencil_two_side


OpenGL 1.5 (2003)

Addition Promoted from
Buffer objects ARB_vertex_buffer_object
Occlusion query ARB_occlusion_query
Shadow functions EXT_shadow_funcs

OpenGL 1.4 (2002)

Addition Promoted from
Automatic mipmap generation SGIS_generate_mipmap
Blend squaring NV_blend_equare
Depth textures and shadows ARB_depth_texture, ARB_shadow
Fog coordinate EXT_fog_coord
Multiple draw arrays EXT_multi_draw_arrays
Point parameters ARB_point_parameters
Secondary color EXT_secondary_color
Separate blend functions EXT_blend_func_separate
Stencil wrap EXT_stencil_wrap
Texture crossbar env mode ARB_texture_env_crossbar
Texture LOD bias EXT_texture_lod_bias
Texture mirrored repeat ARB_texture_mirrored_repeat
Window raster position ARB_window_pos

OpenGL 1.3 (2001)

Addition Promoted from
Compressed textures ARB_texture_compression
Cube map textures ARB_texture_cube_map
Multisample ARB_multisample
Multitexture ARB_multitexture
Texture add env mode ARB_texture_env_add
Texture combine env mode ARB_texture_env_combine
Texture dot3 env mode ARB_texture_env_dot3
Texture border clamp ARB_texture_border_clamp
Transpose matrix ARB_transpose_matrix

OpenGL 1.2.1 (1998)

This version defines ARB extensions concept. ARB extensions are not required to be supported by a conformant OpenGL implementation, but are expected to be widely available; they define functionality that is likely to move into the required feature set in a future revision of the specification.

GL implementations of such later revisions should continue to export the name strings of promoted extensions in the EXTENSIONS string, and continue to support the ARB-affixed versions of functions and enumerants as a transition aid.

OpenGL 1.2 (1998)

Addition Promoted from
3D textures EXT_texture3D
BGRA pixel formats EXT_bgra
Packed pixel formats EXT_packed_pixels
Normal rescaling EXT_rescale_normal
Separate specular color EXT_separate_specular_color
Texture coordinate edge clamping SGIS_texture_edge_clamp
Texture LOD control SGIS_texture_lod
Vertex array draw element range EXT_draw_range_elements

Imaging subset (optional)

Addition Promoted from
Color Tables EXT_color_table, EXT_color_subtable
Convolution EXT_convolution, EXT_convolution_border_modes
Color matrix EXT_color_matrix
Pixel data statistics EXT_histogram
Constant blend color EXT_blend_color
New blending equations EXT_blend_minmax, EXT_blend_substract

OpenGL 1.1 (1997)

Addition Promoted from
Vertex arrays EXT_vertex_array
Polygon offset EXT_polygon_offset
Logical operation EXT_blend_logic_op
Internal texture formats EXT_texture
GL_REPLACE texture env EXT_texture
Texture proxy EXT_texture
Copy texture and subtexture EXT_copy_texture, EXT_subtexture
Texture objects EXT_texture_object

OpenGL 1.0 (1992)

First release.