aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl
Commit message (Collapse)AuthorAgeFilesLines
* JoglGL2ES1: Regard 'hasPointExt' (diff ImmModeSink w/ more elements and ↵Sven Gothel2012-10-184-20/+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-165-11/+11
| | | | 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-155-6/+156
| | | | [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
|
* Enabling GL2ES1 and GL2ES2 driver, using JOGL's ImmModeSink and ↵jogl2_es2Sven Gothel2012-10-125-97/+345
| | | | | | | | | 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-087-454/+811
| | | | | | | | | | | | | | | 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-082-642/+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-074-1068/+341
| | | | | | | | | | - 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.
* the callback renderer is never usedCarsten Weisse2008-03-021-363/+0
|
* changes to handle resizable screens.Carsten Weisse2008-03-021-10/+31
| | | | GridBagLayout is used to resize the GL canvas together with the frame
* set new window location only in fullscreen modeCarsten Weisse2007-11-033-6/+4
|
* 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-116-1/+39
| | | | on console: gl_swapinterval 0 turn it on: gl_swapinterval 1
* add glHint(int target, int mode) e.g. for perspective correction hintCarsten Weisse2007-01-107-66/+90
|
* update to lwjgl 1.0 rc1 (org.lwjgl.util.GL was removed)Carsten Weisse2007-01-101-71/+69
|
* format onlyCarsten Weisse2006-12-121-40/+40
|
* NPE bugCarsten Weisse2006-12-111-2/+2
|
* exit thread removed because of linuxCarsten Weisse2006-12-111-35/+26
|
* hope this helps on win32 screen mode switchingCarsten Weisse2006-12-111-1/+7
|
* hope this helps on win32 screen mode switchingCarsten Weisse2006-12-111-8/+9
|
* hope this helps on win32 screen mode switchingCarsten Weisse2006-12-111-21/+33
|
* hope this helps on win32 screen mode switchingCarsten Weisse2006-12-111-27/+49
|
* destroy gl context in the canvas removeNotifyCarsten Weisse2006-12-111-9/+4
|
* destroy window in the main threadCarsten Weisse2006-12-111-5/+5
|
* destroy window in the awt event dispatcher threadCarsten Weisse2006-12-111-12/+21
|
* typoCarsten Weisse2006-12-111-1/+1
|
* add a new renderer which uses the jsr231 callback interface (GLEventListener)Carsten Weisse2006-12-111-0/+364
|
* unused resize removedCarsten Weisse2006-12-071-5/+1
|
* not compatible with java 1.4Carsten Weisse2006-11-301-2/+1
|
* hope this solves the pixel displacement problem on some Win32 systemsCarsten Weisse2006-11-301-2/+3
|
* hope this solves the pixel displacement problem on some Win32 systemsCarsten Weisse2006-11-301-2/+8
|
* clear first and second buffer of GLContextCarsten Weisse2006-11-291-1/+7
|
* hope this solves the pixel flicker problem on some Win32 systemsCarsten Weisse2006-11-291-5/+11
|
* hope this solves the pixel flicker problem on some Win32 systemsCarsten Weisse2006-11-291-1/+8
|
* hope this solves the pixel flicker problem on some Win32 systemsCarsten Weisse2006-11-291-4/+14
|
* use a java.awt.Frame instead of swing JFrame (hope this solves the 2 Pixel ↵Carsten Weisse2006-11-231-5/+4
| | | | border flickering problem)
* add some context init code from jogl-demosCarsten Weisse2006-11-231-6/+13
|
* format clean upCarsten Weisse2006-11-221-6/+6
|
* better driver dependent screenshot handlingCarsten Weisse2006-11-224-13/+15
|
* clean up: unused declarations removedCarsten Weisse2006-11-211-1/+0
|
* merge render-refactoring branch into the HEADCarsten Weisse2006-11-2111-0/+3059