Skip to content

v1.1.0-ALPHA1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Jan 20:53

Added

  • Support for Boolean uniform shader parameters
    (uniform value in shader is still an Int, with a value of GL_TRUE or GL_FALSE):
    • Method GlimpseAdapter.glUniform(Int, Boolean)
    • Method BaseProgramExecutor.glUniform(GlimpseAdapter, String, Boolean)
  • Method ProgramExecutor.dispose(GlimpseAdapter), disposing also referenced Program
  • Support for framebuffers
  • Additional parameters in composable GlimpseView:
    • modifier – the modifier to be applied to the layout
    • onClick – called when the view has been clicked
    • update – the callback to be invoked after the layout is inflated
  • Composable GlimpseView function with separate functional parameters instead of callback
  • Utility functions for creating Vec3 and Vec4 from Jetpack Compose Color
  • KSP processor for shader parameters

Changed

  • Make Kapt processors incremental (isolating)
  • Change target JVM to Java 11
  • Upgrade Gradle Wrapper to 7.3.2
  • Dependencies:
    • Upgrade Kotlin to 1.6.10
    • Upgrade JetBrains Compose for Desktop to 1.0.1
    • Upgrade Android Gradle Plugin to 7.0.4
    • Upgrade org.jetbrains.dokka to 1.6.0
    • Upgrade kotlinpoet to 1.10.2
    • Upgrade androidx.annotation:annotation to 1.3.0
    • Upgrade mockk to 1.12.2
    • Upgrade activity-compose to 1.4.0
    • Upgrade kotlinx-coroutines-android to 1.6.0-native-mt
    • Upgrade slf4j-api to 1.7.32
    • Upgrade logback-core to 1.2.10
    • Upgrade logback-classic to 1.2.10
    • Upgrade androidx.appcompat:appcompat to 1.4.0
    • Upgrade com.google.android.material:material to 1.4.0
    • Upgrade detekt-gradle-plugin to 1.19.0
    • Upgrade org.jetbrains.changelog to 1.3.1

Deprecated

  • Method ProgramExecutor.dispose() without parameters

Removed

  • BREAKING CHANGE: Remove zOrderOnTop from GlimpseView composable function.
    Call zOrderOnTop = … inside update block instead.