aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/JoglDummyDriver.java
Commit message (Collapse)AuthorAgeFilesLines
* Add Applet Feature incl. required fixes.Sven Gothel2013-06-281-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Fix Window destroyNotify() -> QUITSven Gothel2013-06-271-2/+2
|
* Adapt to JOGL/NEWT Changed up to v2.0.2-c12 ..Sven Gothel2013-06-271-2/+2
| | | | | | - NEWT ScreenMode -> MonitorMode - NEWT Window: Don't issue Game.Quit() if already in shutdown (could be screen mode change) - NEWT KeyEvents: No keyTyped, adapt to new KeyCodes.
* Fix/Enhance NEWT ScreenMode (FS) integration, simplify NEWTWin creationSven Gothel2012-10-191-14/+8
| | | | | | | | | - Only list unique resolutions - Use List<ScreenMode> - Properly deactivateGLContext()/activateGLContext() for setMode(..) Further: - JoglES2Driver: Claim to have pointExt (FFP emul will follow up)
* Jogl*Driver.shutdown(): Release hold ctx before killing window offthread ↵Sven Gothel2012-10-161-5/+9
| | | | (required since we don't release ctx after each frame)
* Adding jogldummy (dummy GL driver (no calls), but w/ NEWT and actual ↵Sven Gothel2012-10-151-0/+140
[not-used] GL context), remove GL ctx switch for GL2, ES2 and ES1