LWJGL / lwjgl3-osgi

OSGi support for LWJGL 3
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

lwjgl3-osgi

This project is now obsolete, please use the standard Maven artifacts. See #13 for more information.


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

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