Skip to content

LWJGL/lwjgl3-osgi

develop
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

lwjgl3-osgi

Maven Central

This project produces a set of OSGi bundles for the LWJGL library.

JVM Platform Status
OpenJDK LTS Linux Build (OpenJDK LTS, Linux)
OpenJDK Current Linux Build (OpenJDK Current, Linux)
OpenJDK Current Windows Build (OpenJDK Current, Windows)

Usage

Use dependencies in the org.lwjgl.osgi groupId as you would with the ordinary LWJGL libraries:

<dependency>
  <groupId>org.lwjgl.osgi</groupId>
  <artifactId>org.lwjgl.glfw</artifactId>
  <version>${latestVersion}</version>
</dependency>
<dependency>
  <groupId>org.lwjgl.osgi</groupId>
  <artifactId>org.lwjgl.opengl</artifactId>
  <version>${latestVersion}</version>
</dependency>

See the com.io7m.lwjgl.examples project for some example OSGi components using each of the various libraries.

Limitations

Allocator

Currently, when running in an OSGi container LWJGL will use the platform's default allocator instead of the (typically preferred) jemalloc. This isn't likely to be a problem for the majority of users. A workaround if it is a problem for you is to manually set the allocator using the Configuration class prior to doing anything else with LWJGL.

Available Bundles

groupId Artifact
org.lwjgl.osgi org.lwjgl.assimp
org.lwjgl.osgi org.lwjgl.bgfx
org.lwjgl.osgi org.lwjgl.cuda
org.lwjgl.osgi org.lwjgl.egl
org.lwjgl.osgi org.lwjgl.glfw
org.lwjgl.osgi org.lwjgl.jawt
org.lwjgl.osgi org.lwjgl.jemalloc
org.lwjgl.osgi org.lwjgl.libdivide
org.lwjgl.osgi org.lwjgl.lmdb
org.lwjgl.osgi org.lwjgl.lwjgl
org.lwjgl.osgi org.lwjgl.lz4
org.lwjgl.osgi org.lwjgl.meow
org.lwjgl.osgi org.lwjgl.nanovg
org.lwjgl.osgi org.lwjgl.nfd
org.lwjgl.osgi org.lwjgl.nuklear
org.lwjgl.osgi org.lwjgl.odbc
org.lwjgl.osgi org.lwjgl.openal
org.lwjgl.osgi org.lwjgl.opencl
org.lwjgl.osgi org.lwjgl.opengl
org.lwjgl.osgi org.lwjgl.opengles
org.lwjgl.osgi org.lwjgl.opus
org.lwjgl.osgi org.lwjgl.ovr
org.lwjgl.osgi org.lwjgl.par
org.lwjgl.osgi org.lwjgl.remotery
org.lwjgl.osgi org.lwjgl.rpmalloc
org.lwjgl.osgi org.lwjgl.sse
org.lwjgl.osgi org.lwjgl.stb
org.lwjgl.osgi org.lwjgl.tinyexr
org.lwjgl.osgi org.lwjgl.tinyfd
org.lwjgl.osgi org.lwjgl.tootle
org.lwjgl.osgi org.lwjgl.vma
org.lwjgl.osgi org.lwjgl.vulkan
org.lwjgl.osgi org.lwjgl.xxhash
org.lwjgl.osgi org.lwjgl.yoga
org.lwjgl.osgi org.lwjgl.zstd

About

OSGi support for LWJGL 3

Resources

License

Stars

Watchers

Forks

Packages

No packages published