All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
3.1.2 (2024-09-03)
- do not assume EXT_disjoint_timer_query_webgl2 for webgl2 context (d70e111), closes #143
- make sure WEBGL_color_buffer_float and EXT_color_buffer_half_float are available before setting ctx.RenderbufferFloatFormat (1af54d0)
3.1.1 (2024-06-21)
- add missing builtin attributes (ba3e51f)
3.1.0 (2024-06-21)
3.0.0 (2024-05-16)
3.0.0-alpha.9 (2024-05-07)
- add all supported command props (9b96c04)
- break frame loop when context is disposed (11cd9a2)
- show error for multidraw and multiDrawInstancedBase missing fallback implementation (bcb8198)
- add base vertex and base instance fallback (8aece5a)
- add fallback for unsupported multidraw extension (4505d45), closes #132
- add sRGB capability and EXT_sRGB polyfill (40470b0)
3.0.0-alpha.8 (2023-06-01)
- add capabilities.floatBlend EXT_float_blend (8a47bd3)
- add support for WEBGL_draw_instanced_base_vertex_base_instance and drawArrays for WEBGL_multi_draw_instanced_base_vertex_base_instance (224ee99), closes #133
3.0.0-alpha.7 (2023-02-21)
- add support for multi draw (3f4e61b)
- add support for multidraw instanced with baseInstances (775ff9e)
3.0.0-alpha.6 (2023-02-07)
3.0.0-alpha.5 (2023-02-02)
- Revert "feat: use cmd.instances to check for instancing" (2662872)
3.0.0-alpha.4 (2023-02-01)
3.0.0-alpha.3 (2022-12-13)
- include textureHalfFloatLinear in webgl2 capabilities (2d5c6b0), closes #129
- isWebGL2 named import (347c6c1)
- add colorBufferFloat and colorBufferHalfFloat capacbilities (b736415)
- add raw gl multisample fbo example (8d0f221)
- check renderbuffer float formats (b41b2bd), closes #122
- include webgl2 extensions enabled by default in capabilities (a75dcb6), closes #129
3.0.0-alpha.2 (2022-09-20)
3.0.0-alpha.1 (2022-09-09)
- import ctx types (ca7f1b1)
3.0.0-alpha.0 (2022-07-01)
- activate OES_element_index_uint and OES_standard_derivatives in webgl1 (ab654a1), closes #116
- add assert as dependency (10144f0)
- add missing cmd.count check when cmd.indices is specified (a106779)
- assign to height instead of width in texture update (e67f04c), closes #95
- default Depth to DEPTH_COMPONENT16 (0e89421)
- handle ImageBitmap as texture source in WebGL 1 (e9b88af), closes #120
- log capabilities on context creation (cb78ff6)
- move texture update opts.wrap before texture.wrapS/T check (0145cb6), closes #92
- query for safari (f58f016)
- remove ansi characters from namespace (dc94116), closes #119
- remove missing export (c892ee3)
- TextureFormat RGBA16F type (9f2867d)
- use uniformMethod to check for Matrix type (6c9de42)
- context: change ctx.stats to object to make it serializable (66f2856)
- context: get rid of shared framebuffer (68ff43f)
- examples: output (2cb2232)
- examples: output name (78e52c7)
- examples: output path (bd7f282)
- examples: require.context/dynamic import regex (de02632)
- examples: update examples (1d06a41)
- examples: update webpack dev server (eb8b1f7)
- framebuffer: don’t overwrite options depth (a910022)
- index: remove console.log (d8f7369)
- program: add missing attributes type mat2/3 (6365fb4)
- add all data types (14a9a6b)
- add capabilities.maxVertexAttribs (d79ab13)
- add support for compressed texture (3d6f28b), closes #99 #98 #97 #95
- add support for manual mipmaps (ba5fff1)
- add UniformMethod, UniformSize, AttributeSize enums to support all webgl2 types (7a7d66d)
- add VAO support (568bd32)
- allow normalized props for buffer and handle Int8Array (5d06fac)
- assume ANGLE_instanced_arrays, OES_standard_derivatives, OES_element_index_uint and OES_vertex_array_object are universally supported (1867946), closes #116
- provide default type for array buffer data (605461b)
- context: add current scissor value to fbo-state logs (ec9ab43)
- examples/project: add orbiter (406e3ba)
- examples/sub-pass: add example showcasing framebuffer inheritance (414210b)
- pass: add framebuffer inheritance if attachment not present (b8d8fa3)
- switch to type module