Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 21:53

Added

  • Utilities for rendering HUD-style 2D elements on top of 3D scene
  • Build TextureImageSource from BufferedImage
  • Build TextureImageSource containing text
  • Properties width and height in TextureImageSource and Texture
  • @Sampler2D annotation that can be used to annotate shader parameters
    properties of types:
    • Texture
    • Array<Texture>
    • Iterable<Texture>
  • Method GlimpseAdapter.glVSync(VSync), setting V-sync mode (if supported)
  • Automatic module names for Java 9 (desktop and processor)

Changed

  • @Uniform can no longer be used to annotate properties of type Texture
    (@Sampler2D should be used instead)
  • Upgrade Gradle Wrapper to 7.5
  • Dependencies:
    • Upgrade Kotlin to 1.7.20
    • Upgrade KSP to 1.7.20-1.0.8
    • Upgrade JetBrains Compose for Desktop to 1.2.1
    • Upgrade Android Gradle Plugin to 7.2.1
    • Upgrade kotlinx-coroutines-android to 1.6.3-native-mt
    • Upgrade androidx.appcompat:appcompat to 1.5.1
    • Upgrade com.google.android.material:material to 1.7.0
    • Upgrade androidx.annotation:annotation to 1.5.0
    • Upgrade activity-compose to 1.5.0
    • Upgrade kotlinpoet to 1.12.0
    • Upgrade slf4j-api to 2.0.3
    • Upgrade logback-core to 1.4.4
    • Upgrade logback-classic to 1.4.4
    • Upgrade mockk to 1.13.2
    • Upgrade detekt-gradle-plugin to 1.21.0
    • Upgrade org.jetbrains.dokka to 1.7.10

Deprecated

  • Usage of method ProgramExecutor.dispose() without parameters will be reported as an error

Removed

  • Remove Kapt processors (glimpse-processor-java and glimpse-processor-kotlin).
    Use KSP processor instead (glimpse-processor-ksp)

Fixed

  • Apply correct unpack pixel alignment for texture data before calling glTexImage2D()
  • Remove misleading error after deleting program or shader