Skip to content

Latest commit

 

History

History
108 lines (71 loc) · 3.79 KB

CHANGELOG.md

File metadata and controls

108 lines (71 loc) · 3.79 KB

v0.17.9

  • Fix type for Program transform feedback mode.

v0.17.8

  • Fix type for VertexBuffer normalization.
  • Only download build folder from NPM.

v0.17.7

  • Tests and docs.

v0.17.6

  • Experimental typescript support.

v0.17.5

  • Update DrawCall counts from current VertexArray.

v0.17.4

  • App.polygonOffset method

v0.17.3

  • VertexArray.vertexAttributeBuffer, VertexArray.instanceAttributeBuffer size, offset and stride options will affect item count.
  • App.createIndexBuffer no longer needs an item count (defaults to 3).

v0.17.2

  • VertexBuffer.data can take an offset.

v0.17.1

  • Support for changing framebuffer binding points.

v0.17.0

  • App.createProgram(s) now optionally set explicit attributeLocations, transformFeedbackVaryings must be passed in an options object
  • Remove Program.bindAttribute method

v0.16.0

  • Support providing an external context
  • App.enable and App.disable methods
  • Deprecate App.depthTest, App.noDepthTest, App.blend, App.noBlend, App.stencilTest, App.noStencilTest, App.scissorTest, App.noScissorTest, App.rasterize, App.noRasterize, App.cullBackfaces, App.drawBackfaces
  • Program.bindAttribute method

v0.15.4

  • Remove App.onContextLost (was only used for testing)

v0.15.3

  • Improved context recovery handling

v0.15.2

  • Shaders trim source

v0.15.1

  • App.onContextLost callback

v0.15.0

  • Built, versioned unbundled modules.
  • App.blendEquation
  • Fix uniform buffer handling of UNSIGNED_INT
  • Ignore setting of non-existent uniforms

v0.14.0

  • DrawCall
    • Support for multi-draw (WEBGL_multi_draw_instanced) via DrawCall.drawRanges()
    • VertexArray no longer required
    • Deprecate passing primitive to App.createDrawCall. Use DrawCall.primitive() instead.
  • Texture
    • Deprecate format parameter to App.createTexture*() and App.createCubemap(). internalFormat is now the primary parameter. type and format will be automatically determined, and type can be overridden if desired.
    • Support for anisotropic filtering (EXT_texture_filter_anisotropic)
  • Support for getting platform translations of shaders (WEBGL_debug_shaders) via Shader.translatedSource, Program.translatedVertexSource and Program.translatedFragmentSource.
  • Renderer information now stored in PicoGL.WEBGL_INFO.VENDOR and PicoGL.WEBGL_INFO.RENDERER.
  • Use recommended polling pattern for shader compilation and program linking.

v0.13.0

  • Support for parallel shader compilation (KHR_parallel_shader_compile)
  • Support importing directly into the browser without bundling
  • Auto-enable extensions
    • Remove methods App.floatRenderTargets, App.linearFloatTextures, App.s3tcTextures, App.etcTextures, App.astcTextures, App.pvrtcTextures, as they are no longer needed.

v0.12.0

  • Support for compressed cubemaps
  • UniformBuffers only send modified subrange of data to GPU on update()
  • Remove VertexBuffer.normalized, VertexBuffer.unnormalized

v0.11.0

  • VertexArray
    • Remove methods vertexIntegerAttributeBuffer(), instanceIntegerAttributeBuffer(), vertexNormalizedAttributeBuffer(), instanceNormalizedAttributeBuffer()
    • vertexAttributeBuffer() and instanceAttributeBuffer() can fully specify pointer information (size, type, etc.) via an optional options argument.
  • VertexBuffer
    • Track whether they contain integer data based on the type provided. Used for attribute pointer.
    • normalized() and unnormalized() methods to indicate whether they contain normalized integer data.
  • App.createInterleavedBuffer() to create a buffer without any attribute pointer information (site, type, etc.).
  • Simplify Firefox transform feedback workarounds. Still have to provide workaround for: https://bugzilla.mozilla.org/show_bug.cgi?id=1541396
  • Remove unused properties in DrawCall