From be38429ef53b6108dff70855efaaadcab47fdd90 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Sat, 22 Jan 2022 18:34:02 -0500 Subject: [PATCH] move JOGL libraries to platform-specific subfolders --- core/build.xml | 74 ++++++++++++++++++++++++++++++++++++++--- core/library/.gitignore | 7 ++++ core/library/export.txt | 10 ------ core/todo.txt | 14 ++++---- 4 files changed, 84 insertions(+), 21 deletions(-) delete mode 100644 core/library/export.txt diff --git a/core/build.xml b/core/build.xml index 21e7bc4bc..1e26264b3 100644 --- a/core/build.xml +++ b/core/build.xml @@ -25,13 +25,19 @@ + + + @@ -42,17 +48,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/library/.gitignore b/core/library/.gitignore index 858865596..46a6dd5bc 100644 --- a/core/library/.gitignore +++ b/core/library/.gitignore @@ -1,3 +1,10 @@ core.jar + jogl-all-src.jar +/macos-aarch64 +/linux-arm +/linux-aarch64 +/macos-x86_64 +/linux-amd64 +/windows-amd64 diff --git a/core/library/export.txt b/core/library/export.txt deleted file mode 100644 index 58d0cd877..000000000 --- a/core/library/export.txt +++ /dev/null @@ -1,10 +0,0 @@ -# If you want to support more platforms, visit jogamp.org to get the -# natives libraries for the platform in question (i.e. Solaris). - -name = Core - -application.macosx=core.jar,jogl-all.jar,gluegen-rt.jar,jogl-all-natives-macosx-universal.jar,gluegen-rt-natives-macosx-universal.jar - -application.windows64=core.jar,gluegen-rt-natives-windows-amd64.jar,gluegen-rt.jar,javafx.base.jar,javafx.controls.jar,javafx.fxml.jar,javafx.graphics.jar,javafx.media.jar,javafx.swing.jar,jogl-all-natives-windows-amd64.jar,jogl-all.jar - -application.linux64=core.jar,jogl-all.jar,gluegen-rt.jar,jogl-all-natives-linux-amd64.jar,gluegen-rt-natives-linux-amd64.jar diff --git a/core/todo.txt b/core/todo.txt index ce0f1dad7..69a59e57d 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,4 +1,11 @@ 1279 (4.0b4) +X put opengl libs for core into platform-specific subfolders +X get us ready for other platforms (M1 in particular) +_ fixes Windows antivirus slowdowns +_ https://github.com/processing/processing/issues/4783#issuecomment-269328168 +_ https://github.com/processing/processing/issues/4239 +_ https://jogamp.org/bugzilla/show_bug.cgi?id=1301 +_ https://stackoverflow.com/a/51100411 api changes (in previous releases) X static versions of selectInput/selectOutput/selectFolder removed from PApplet @@ -37,16 +44,9 @@ _ could implement this for the default, but also, SansSerif sucks _ https://stackoverflow.com/a/9482676 _ in addition, it would need to be implemented for textWidth() -_ put opengl libs for core into platform-specific subfolders? -_ should fix Windows antivirus slowdowns -_ https://github.com/processing/processing/issues/4783#issuecomment-269328168 -_ https://github.com/processing/processing/issues/4239 -_ https://jogamp.org/bugzilla/show_bug.cgi?id=1301 -_ https://stackoverflow.com/a/51100411 _ would really be nice to pull out the OpenGL stuff _ though would require just a single PShader class in .opengl package _ way too messy, just need to stick with our base platforms -_ also move the libs to their own folders? (instead of unpacking from jar) _ Better solution for frame/surface methods _ should it be requestSize() because the change is not immediate?