Jogamp
Add Applet Feature incl. required fixes.
authorSven Gothel <sgothel@jausoft.com>
Fri, 28 Jun 2013 17:06:14 +0000 (19:06 +0200)
committerSven Gothel <sgothel@jausoft.com>
Fri, 28 Jun 2013 17:06:14 +0000 (19:06 +0200)
commit54bbd1a726e73841f0bd4cc79e5b12e83a88ba18
tree6e71430ad8217e1fce810b5310ec0b5b2766340c
parent28ed823b1a804145b4dd741807a83570abc139e1
Add Applet Feature incl. required fixes.

- Jake2Applet
  - Reenable JavaScript Bridge to resize Applet
  - Pass through 4:3 aspect custom video mode (Jake2 args)
  - Pass through applet parameter 'jake_args' (Jake2 args)
  - OSX Hack: Re-create Game at init, otherwise flickering appears (??)

- Fix VID.init: Set vid_ref.modifier = true, otherwise not guaranteed VID creation

- BeginFrame, R_BeginFrame, beginFrame, activateGLContext:
  Return 'true', if ctx is available, otherwise false to skip frame.

- NEWTWin:
  - Applet mode (in Applet container): Always release GL ctx

  - Use GLAnimatorControl impl, to state whether we are animating or not
    and to tell us, whether we have to release the GL ctx.

  - Add HOME -> Reparent feature for Applets
    - Workaround for NEWT/Windows Bug 798

- NEWT Key Handling:
  - Ignore auto-repeat
  - Workaround for NEWT/Windows Bug 798

- Add HTML page
  - normal
  - debug mode
26 files changed:
src/jake2/Jake2Applet.java
src/jake2/client/SCR.java
src/jake2/client/VID.java
src/jake2/client/refexport_t.java
src/jake2/render/DummyRenderer.java
src/jake2/render/JoglDummyRenderer.java
src/jake2/render/JoglES1Renderer.java
src/jake2/render/JoglES2Renderer.java
src/jake2/render/JoglGL2Renderer.java
src/jake2/render/RenderAPI.java
src/jake2/render/basic/Main.java
src/jake2/render/fast/Main.java
src/jake2/render/opengl/GLDriver.java
src/jake2/render/opengl/JoglDummyDriver.java
src/jake2/render/opengl/JoglES1Driver.java
src/jake2/render/opengl/JoglES2Driver.java
src/jake2/render/opengl/JoglGL2Driver.java
src/jake2/render/opengl/NEWTWin.java
src/jake2/sys/InputListener.java
src/jake2/sys/NEWTKBD.java
src/jake2/sys/Sys.java
webstart/jake2-napplet01.html [new file with mode: 0644]
webstart/jake2-napplet01_dbg.html [new file with mode: 0644]
webstart/jake2_online.jnlp
webstart/old/jake2_jogl11.jnlp [moved from webstart/jake2_jogl11.jnlp with 100% similarity]
webstart/old/jake2_lwjgl.jnlp [moved from webstart/jake2_lwjgl.jnlp with 100% similarity]
http://JogAmp.org git info: FAQ, tutorial and man pages.