Add Hardware rendering to options

Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com>
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
sigonasr2, Sig, Sigo 2022-06-10 19:09:27 +00:00
parent 2e9be3bf1b
commit 7f2bbb855b
5 changed files with 7 additions and 5 deletions

View File

@ -69,3 +69,5 @@ Storyboarding / Event Systems
`resource` to suppress warnings relative to usage of resources of type Closeable
`sync-override` to suppress warnings because of missing synchronize when overriding a synchronized method
http://www.magicandlove.com/blog/2012/05/01/opencl-particles-system-example-in-processing/

View File

@ -1,3 +1,3 @@
cd bin
java -Djava.library.path="../lib" -Xms2G -Xmx2G -jar RabiClone.jar
java -Djava.library.path="../lib" -Dsun.java2d.opengl=true -Xms2G -Xmx2G -jar RabiClone.jar
cd ..

View File

@ -1,3 +1,3 @@
cd bin
java "-Djava.library.path=../lib" -Xms2G -Xmx2G -jar RabiClone.jar
java "-Djava.library.path=../lib" "-Dsun.java2d.opengl=true" -Xms2G -Xmx2G -jar RabiClone.jar
cd ..

View File

@ -1,3 +1,3 @@
cd bin
java -Djava.library.path="../lib" -Xms2G -Xmx2G -jar RabiClone.jar
java -Dsun.java2d.opengl=true -Djava.library.path="../lib" -Xms2G -Xmx2G -jar RabiClone.jar
cd ..

2
sig
View File

@ -8,7 +8,7 @@ define MAIN_CLASS "sig.${PROJECT_NAME}"
define OUT_DIR "bin"
define LIBRARY_PATH "../lib"
define CLASS_PATH "${PROJECT_DIR}/..:lib/bin"
define CUSTOM_PARAMS "-Xmx2G -Xms2G"
define CUSTOM_PARAMS "-Xmx2G -Xms2G -Dsun.java2d.opengl=true"
define LANGUAGE "Java"
source utils/main.sh