Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsmock/lwjgl
https://github.com/tsmock/lwjgl
josm josm-plugin
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tsmock/lwjgl
- Owner: tsmock
- License: gpl-3.0
- Created: 2024-03-27T13:29:50.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-05-16T17:18:58.000Z (8 months ago)
- Last Synced: 2024-05-16T18:34:47.947Z (8 months ago)
- Topics: josm, josm-plugin
- Language: Java
- Size: 9.74 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# README
A plugin which provides lwjgl libraries for plugins.
The plugin source code is under the GPL v2 or later.It is "split" into platform-specific plugins:
* Each platform has its own "native" jar (if a
platform supports more than one architecture,
all architectures are in the jar file)## Adding additional LWJGL libraries
Open a ticket on [JOSM Trac](https://josm.openstreetmap.de/newticket?cc=taylor.smock&keywords=lwjgl&component=Plugin)
with a request for the LWJGL library (note: to be eligible for this plugin, it
must be something recommended by LWJGL).While not necessary, it would be nice to have a use case for the LWJGL that is
being added.## Debugging
Depending upon what needs to be debugged, you can either start JOSM with the `--debug` flag _or_ you can start JOSM
with the VM argument `-javaagent:lwjglx-debug-1.0.0.jar` (see [lwjglx-debug](https://github.com/LWJGLX/debug)),
assuming you've customized the JOSM build process to include the `lwjgl` core module, like so:
```xml
```
Replace `${lwjgl.version}` with the version in ivy\_settings.xml. This is due to the javaagent requiring
`org.lwjgl.system.Configuration` to be available immediately, which it is not until JOSM loads the `lwjgl` plugin.You will most likely encounter issues where the application fails due to
`No OpenGL context has been made current through recognized API methods (glfwMakeContextCurrent).`See [LWJGLX debug #29](https://github.com/LWJGLX/debug/issues/29#issuecomment-985176717) for a workaround.
It pretty much comes down to manually setting the context.