aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render
Commit message (Collapse)AuthorAgeFilesLines
* Mesh.GL_DrawAliasFrameLerp() / Main.R_DrawParticles(): Re-enable ↵Sven Gothel2012-10-232-4/+4
| | | | | | | EnableClientState(GL_VERTEX_ARRAY) Jake2 authors commented out enabling the VERTEX_ARRAY client state since originally it won't get disabled. However, using the ImmModeSink will disable it and hence missing objects will be the results.
* JoglGL2ES1: Remove ctor arg hasPointExt, since it's impl. in FFP Emul.Sven Gothel2012-10-234-30/+11
|
* Cleanup: Revert minor (semantic) differences introduced in ↵Sven Gothel2012-10-232-1/+1
| | | | f5612e7dfc635359f15b402c2ee9022a5e703a9d, in search of regression introduced w/ same commit
* Fix/Enhance NEWT ScreenMode (FS) integration, simplify NEWTWin creationSven Gothel2012-10-1912-186/+162
| | | | | | | | | - Only list unique resolutions - Use List<ScreenMode> - Properly deactivateGLContext()/activateGLContext() for setMode(..) Further: - JoglES2Driver: Claim to have pointExt (FFP emul will follow up)
* Added JOGL2 Flags (README/Jake2.sh), New JOGL Renderer Order, ..Sven Gothel2012-10-1910-32/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* NEWTWin: Fix NPE if Screen is not initialized yet (fullscreen mode)Sven Gothel2012-10-181-1/+4
|
* NEWTWin: FPS dump on ARM more frequently :)Sven Gothel2012-10-181-2/+13
|
* JoglGL2ES1: Comment out GL_QUADS (not used), Remove ext ↵Sven Gothel2012-10-181-5/+15
| | | | GL_EXT_point_parameters if not claimed, ImmModeSink: setResizeElementCount(..) lower than initial value, if no pointExt.
* JoglGL2ES1: Regard 'hasPointExt' (diff ImmModeSink w/ more elements and ↵Sven Gothel2012-10-185-21/+34
| | | | ubytes for particle sim), use new ImmModeSink value conversion.
* Fix QGL for ES1/ES2: Use ushort indices, since uint is n/a on ES1/ES2 profileSven Gothel2012-10-167-16/+17
| | | | glDrawElements(int mode, IntBuffer indices) -> glDrawElements(int mode, ShortBuffer indices)
* Jogl*Driver.shutdown(): Release hold ctx before killing window offthread ↵Sven Gothel2012-10-164-21/+37
| | | | (required since we don't release ctx after each frame)
* GL2ES1: Add GL_EXT_point_parameters caps for ES1 GL driverSven Gothel2012-10-161-2/+4
|
* JoglGL2ES1: ImmModeSink: Drop color components (not used), ↵Sven Gothel2012-10-161-3/+11
| | | | initialElementSize == 4 (max in jake2, save memory); DrawElements w/ indices: Add GL_QUADS case
* Adding jogldummy (dummy GL driver (no calls), but w/ NEWT and actual ↵Sven Gothel2012-10-158-7/+419
| | | | [not-used] GL context), remove GL ctx switch for GL2, ES2 and ES1
* JoglES2Driver: Use FFP COLOR_TEXTURE2, restrict shader resources for mobileSven Gothel2012-10-131-1/+1
|
* Renderer: Catch all exceptions (Throwables) .. to cont. w/ avail driver ↵Sven Gothel2012-10-131-6/+9
| | | | (i.e. no GL2 on mobile)
* Renderer: Remove LwjglRenderer (doesn't exist anymore), New Jogl Renderer ↵Sven Gothel2012-10-121-10/+4
| | | | default order 1) GL2ES2 2) GL2ES1 3) GL2 (to please mobile)
* Enabling GL2ES1 and GL2ES2 driver, using JOGL's ImmModeSink and ↵jogl2_es2Sven Gothel2012-10-1210-1559/+2084
| | | | | | | | | FixedFunctionPipeline to complete each profile GL2ES1 uses ImmModeSink GL2ES2 uses ImmModeSink and FixedFunctionPipeline TODO: Updated JOGL contained binaries w/ next aggregated build (please use the source until then)
* Simple NEWT port: Remove AWT dependencies in Jake2 / JOGL / Fast (default ↵NEWTSven Gothel2012-10-0818-500/+1129
| | | | | | | | | | | | | | | mode) - Prepare for ES2 - Removed AWT init dialog, replaced w/ UI less auto install if n/a @ default location: $HOME/Jake2/baseq2 - JOGL GL2 Renderer 'joglgl2' - JOGL ES2 Renderer 'jogles2' (TBD) - Replaced JOGLKBD (AWT) w/ NEWTKBD - JOGL* Renderer using NEWT
* Remove lwjglSven Gothel2012-10-083-886/+0
|
* JoglDriver: Add FPSCounter (all 60*5 frames) ; Remove glFlush() @ endFrame, ↵jogl2_gl2Sven Gothel2012-10-081-1/+6
| | | | doing swapBuffer already
* Simple JOGL2 port: Disable autoSwapBufferMode of GLCanvas (double swap == ↵Sven Gothel2012-10-071-3/+6
| | | | flicker); force display() when displayable (otherwise GL resources are not realized on windows)
* Simple JOGL2 portSven Gothel2012-10-077-1611/+554
| | | | | | | | | | - Remove _very_ old JOGL port (net.java.games.jogl.GL) - Rename Jsr231* -> Jogl* - Port Jsr231 to Jogl2: - package rename of jogl/joal - use AWT GLCanvas derivation instead of partially reimplementing it in JoglDriver - drop some EXT suffixes - name driver 'jogl2'
* Changes to enable Jake2 to run well as an applet inside the Kenneth B. Russell2008-03-021-82/+137
| | | | | | | | | | | | | | | | | | | | | next-generation Java Plug-In. Added Globals.appletMode, Globals.applet and Globals.sizeChangeListener to be able to easily pass around the knowledge that the system is running in applet mode, and the applet itself, which becomes the parent container for the output. Most changes were in Jsr231Driver to support putting the Display into a preexisting parent container rather than a new Frame each time. Changed JOGLKBD to allow manual initialization of the parent container rather than obtaining it from a CreateNotify or ConfigureNotify event since these will never be generated in the applet case. Removed various calls to System.exit(), although strictly speaking this is no longer necessary because it is expected that the separate_jvm parameter will be used in conjunction with the new Java Plug-In to create a fresh JVM instance for each run of Jake2. Video mode switching in applet mode is working; the applet resizes (via JavaScript) to accommodate the newly selected resolution. Full screen mode when running as an applet is not implemented at this point, as the intent was to show this inside the browser, though support could be added very straightforwardly.
* formattedCarsten Weisse2008-03-022-85/+92
|
* the callback renderer is never usedCarsten Weisse2008-03-023-701/+4
|
* changes to handle resizable screens.Carsten Weisse2008-03-021-10/+31
| | | | GridBagLayout is used to resize the GL canvas together with the frame
* use getters and setters of modified viddef_tCarsten Weisse2008-03-027-53/+57
|
* makes the reference constantCarsten Weisse2008-03-011-1/+1
|
* set new window location only in fullscreen modeCarsten Weisse2007-11-033-6/+4
|
* "pics/" + name + ".pcx" removed;Carsten Weisse2007-05-122-10/+12
| | | | | do this only on loading and put the short name into the hash map (much lesser String garbage)
* clean upCarsten Weisse2007-02-274-40/+14
|
* clean upCarsten Weisse2007-02-272-19/+11
|
* clean upCarsten Weisse2007-02-271-6/+3
|
* clean upCarsten Weisse2007-02-271-5/+6
|
* clean upCarsten Weisse2007-02-271-2/+0
|
* shared usage of Anorms; moved to jake2.render packageCarsten Weisse2007-02-274-813/+603
|
* clean upCarsten Weisse2007-02-151-16/+11
|
* clean upCarsten Weisse2007-02-151-7/+3
|
* a better display mode selection (can handle strange frequencies)Carsten Weisse2007-02-141-2/+4
|
* add setSwapInterval() for vsync (works on Win32 and Mac OS X) turn it off ↵Carsten Weisse2007-01-118-12/+53
| | | | on console: gl_swapinterval 0 turn it on: gl_swapinterval 1
* cleanupCarsten Weisse2007-01-111-7/+3
|
* add glHint(int target, int mode) e.g. for perspective correction hintCarsten Weisse2007-01-107-66/+90
|
* original texture resampling (lesser memory garbage)Carsten Weisse2007-01-101-60/+50
|
* update to lwjgl 1.0 rc1 (org.lwjgl.util.GL was removed)Carsten Weisse2007-01-101-71/+69
|
* add a better multitexturing checkCarsten Weisse2006-12-121-5/+13
|
* format onlyCarsten Weisse2006-12-121-40/+40
|
* simplifies the callback parameters (final values)Carsten Weisse2006-12-121-92/+64
|
* simplifies the callback parameters (final values)Carsten Weisse2006-12-121-90/+63
|
* NPE bugCarsten Weisse2006-12-111-2/+2
|