diff options
author | Sven Gothel <[email protected]> | 2012-10-19 10:11:59 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-19 10:11:59 +0200 |
commit | 4c41dbb44670b0420e5f804911e1f729662598b7 (patch) | |
tree | 2a538c21dc468e93e4fddbcde48b59aedb4e9608 /Jake2.sh | |
parent | 5c21146b8fc75481b9ae164c2e9f5cfbfb8897a1 (diff) |
Added JOGL2 Flags (README/Jake2.sh), New JOGL Renderer Order, ..
New JOGL Renderer Order, last comes first if not defined by 'vid_ref':
- jogldummy
- joglgl2
- jogles2
- jogles1
+++
README JOGL2 Flags:
JOGL Renderer can be set via 'vid_ref', i.e. '+set vid_ref jogles2'
- jogles1 ES1 renderer, may use GL2ES1 w/ 'jogl_gl2es1 1'
- jogles2 ES1 renderer, may use GL2ES2 w/ 'jogl_gl2es2 1'
- joglgl2 GL2 renderer, maybe disabled w/ 'jogl_gl2 0'
- jogldummy NOP GL renderer to measure performance w/o GL costs
Special GLProfile selection flags:
- jogl_gl2 0 disable joglgl2, default enabled '1'
- jogl_gl2es1 1 allow desktop GL2ES1 for jogles1 renderer, default disabled '0'
- jogl_gl2es2 1 allow desktop GL2ES2 for jogles2 renderer, default disabled '0'
Special drawable surface flags:
- jogl_rgb565 1 requesting a RGB565 surface, otherwise request default RGB888 surface
Diffstat (limited to 'Jake2.sh')
-rw-r--r-- | Jake2.sh | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -6,7 +6,7 @@ cd `dirname $0` CP=lib/jogamp/gluegen-rt.jar:lib/jogamp/joal.jar:lib/jogamp/jogl-all.jar:dist/lib/jake2.jar #breaks VM's like avian -#X_ARGS="-Xmx100M" +X_ARGS="-Xmx100M" # should be redundant (AWT not used anyways), however, due to a bug in avian, it's required D0_ARGS="-Djava.awt.headless=true" @@ -21,12 +21,22 @@ D0_ARGS="-Djava.awt.headless=true" #D_ARGS="-Djogl.debug.FixedFuncPipeline" #D_ARGS="-Djogl.debug.GLSLCode" #D_ARGS="-Djogl.debug.ImmModeSink.Buffer" +#D_ARGS="-Dnativewindow.debug.GraphicsConfiguration -Djogl.debug.CapabilitiesChooser" +#D_ARGS="-Djogl.debug.GLDrawable -Djogamp.debug.NativeLibrary -Djogamp.debug.NativeLibrary.Lookup=true" +# +# See README: JOGL2 Port for JOGL flags +# #G_ARGS="+connect 10.1.0.52 +set cl_timeout 12000" #G_ARGS="+set s_impl dummy +set timeout 12000 +set cl_timeout 12000 +set gl_mode 0" -#G_ARGS="+set s_impl dummy +set timeout 12000 +set cl_timeout 12000 +set gl_mode 0 +set vid_ref joglgl2" -#G_ARGS="+set s_impl dummy +set timeout 12000 +set cl_timeout 12000 +set gl_mode 0 +set vid_ref jogles1" -G_ARGS="+set s_impl dummy +set timeout 12000 +set cl_timeout 12000 +set gl_mode 0 +set vid_ref jogles2" #G_ARGS="+set s_impl dummy +set timeout 12000 +set cl_timeout 12000 +set gl_mode 0 +set vid_ref jogldummy" +#G_ARGS="+set s_impl dummy +set timeout 12000 +set cl_timeout 12000 +set gl_mode 0 +set vid_ref joglgl2" +#G_ARGS="+set s_impl dummy +set timeout 12000 +set cl_timeout 12000 +set gl_mode 0 +set vid_ref jogles2" +G_ARGS="+set s_impl dummy +set timeout 12000 +set cl_timeout 12000 +set gl_mode 0 +set vid_ref jogles1" + +# G_ARGS2="+set jogl_gl2 0 +set jogl_gl2es1 1 +set jogl_gl2es2 1 +set jogl_rgb565 1" +# G_ARGS2="+set gl_texturemode GL_LINEAR_MIPMAP_NEAREST" +# G_ARGS2="+set r_shadows 0 +set gl_shadows 0 +set gl_dynamic 0" +# G_ARGS2="+connect 10.1.0.52" -exec java $X_ARGS -cp $CP $D0_ARGS $D_ARGS jake2.Jake2 $G_ARGS $* +exec java $X_ARGS -cp $CP $D0_ARGS $D_ARGS jake2.Jake2 $G_ARGS $G_ARGS2 $* |