Skip to content

v0.9.0

Compare
Choose a tag to compare
@LeHaine LeHaine released this 23 Mar 23:47
· 69 commits to master since this release
b66d97b

Release Info

Breaking

  • ShaderProgram.getAttrib() can now return a -1 instead of throwing an IllegalStateException if the attribute name doesn't exist.
  • ShaderProgram.getUniformLocation can now return a null instead of the UniformLocation if the uniform name doesn't exist.
  • Update JVM target to 17 from 11.

Changes

  • Add WASM as an official platform target.
  • Update FrameBuffer to allow for multiple texture attachments to be used.
  • Remove nest-ability from FrameBuffer due to poor performance with multiple calls to get currently bound frame buffer.
    • FrameBuffer.end() will now bind to the default frame buffer instead with optional viewport position and size parameters.
  • Update GLSlGenerator to support gl_FragData[].
  • Update GL with new drawBuffer and clearBuffer[fuiv] functions.
  • Update GL with new getActiveAttrib and getActiveUniform related functions.
  • Optimize WebGL to prevent creating a new array on certain GL calls.
  • Update ShaderProgram to handle finding and setting active uniforms and attributes instead relying on
    the ShaderParameter to do so.
  • Update AGP to 8.2.0.
  • Update Kotlin to 1.9.23.
  • Update kotlinx-coroutines to 1.8.0.
  • Update Dokka gradle plugin to 1.9.20.

Commit Details

  • Update InputQueueProcessor to clear events pool even if no InputProcessor exists by @LeHaine in #225
  • Update ShaderProgram to handle fetching all active uniforms and attribs and remove the create(ShaderProgram) function from ShaderParameter by @LeHaine in #226
  • Update FrameBuffer to handle multiple color attachments by @LeHaine in #227
  • Add ability to reuse GlFrameBuffer and optimize FrameBuffer to not create a GlFrameBuffer object per begin() & end() call by @LeHaine in #228
  • Rename FrameBuffer.ColorAttachment to TextureAttachment and add depth & stencil support by @LeHaine in #229
  • Remove FrameBuffer nestability due to poor performance. by @LeHaine in #230
  • Remove ShaderProgram getAttrib() and getUniform() from throwing an IllegalStateException by @LeHaine in #231
  • sprite batch: update default size to 1000 instead of 8191 by @LeHaine in #232
  • gradle: update to kotlin 1.9.23 and dokka to 1.9.20 by @LeHaine in #234
  • Add WASM Platform by @LeHaine in #216

Full Changelog: v0.8.1...v0.9.0