Skip to content

Commit 80c6473

Browse files
committed
notes about JOGL/LWJGL
1 parent dab1ec3 commit 80c6473

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

core/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,22 @@ This is one of many unfortunate tradeoffs I'm trying to sort through as we try t
4747
The current source starts putting AWT (and Swing, if any) calls on the [EDT](https://docs.oracle.com/javase/tutorial/uiswing/concurrency/dispatch.html), per Oracle's statements in Java's documentation. Actual rendering in the default renderer happens off the EDT, but the EDT is used to blit the image to the screen (or resize windows, etc). Looking for more consistent cross-platform results by doing this.
4848

4949

50+
## OpenGL
51+
52+
During the alpha 6, 7, and 8 release process we did some juggling with what OpenGL library we should use.
53+
54+
The short version of how it played out (written 15 May 2015)
55+
* JOGL had some major bugs and development seemed to have stopped (summer/fall 2014)
56+
* @codeanticode had been trying out LWJGL2 to see how it fared (last fall 2014)
57+
* The LWJGL project has moved all their development effort to LWJGL3 (since then)
58+
* Andrés spent the week rewriting OpenGL to use LWJGL3
59+
* LWJGL3 is simply too unstable for us to use, would require major reworking of PApplet to remove *all* uses of AWT, and they seem to be still struggling with many fundamental issues (this week)
60+
* Andrés went back to JOGL (last 48 hours) to find that many bugs had been fixed and development was continuing.
61+
* For 3.0a8, we dropped LWJGL since JOGL is performing much better, and we're 99% sure that's the final decision for 3.0 (yesterday).
62+
63+
LWJGL and JOGL are both great projects and we're thankful for all the work that they put in, and our own experience with Processing means that we couldn't be more sympathetic to the difficulty they face in maintaining their cross-platform, cross-chipset, cross-everything code. Like Processing, both projects are open source and created by volunteers who give their work away for free. We're enormously appreciative of their efforts.
64+
65+
5066
## The Mess
5167

5268
The rest of this document are my notes while I'm making changes.

0 commit comments

Comments
 (0)