| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Use MouseEvent getRotation
JogAmp jogl: ded080fd890c21b54ba1f96d84f9e355711dc88a
Use UTF-16 UniCode VK key names
JogAmp jogl: b13868b612689307ebf4e46ee4ede2fd0560e504
Singed-off-by: Xerxes Rånby <[email protected]>
|
|
|
|
|
|
|
| |
Negative sourceId is ok.
Use alGetError to detect failed initialization.
Signed-off-by: Xerxes Rånby <[email protected]>
|
|
|
|
| |
Signed-off-by: Xerxes Rånby <[email protected]>
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
f5612e7dfc635359f15b402c2ee9022a5e703a9d, in search of regression introduced w/ same commit
|
|
|
|
|
|
|
|
|
| |
- Only list unique resolutions
- Use List<ScreenMode>
- Properly deactivateGLContext()/activateGLContext() for setMode(..)
Further:
- JoglES2Driver: Claim to have pointExt (FFP emul will follow up)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
GL_EXT_point_parameters if not claimed, ImmModeSink: setResizeElementCount(..) lower than initial value, if no pointExt.
|
|
|
|
| |
ubytes for particle sim), use new ImmModeSink value conversion.
|
|
|
|
| |
glDrawElements(int mode, IntBuffer indices) -> glDrawElements(int mode, ShortBuffer indices)
|
|
|
|
| |
(required since we don't release ctx after each frame)
|
| |
|
| |
|
|
|
|
| |
initialElementSize == 4 (max in jake2, save memory); DrawElements w/ indices: Add GL_QUADS case
|
|
|
|
| |
[not-used] GL context), remove GL ctx switch for GL2, ES2 and ES1
|
| |
|
|
|
|
| |
(i.e. no GL2 on mobile)
|
|
|
|
| |
default order 1) GL2ES2 2) GL2ES1 3) GL2 (to please mobile)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
doing swapBuffer already
|
|
|
|
| |
flicker); force display() when displayable (otherwise GL resources are not realized on windows)
|
|
|
|
|
|
|
|
|
|
| |
- 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'
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
GridBagLayout is used to resize the GL canvas together with the frame
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|