summaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/JoglGL2ES1.java
Commit message (Collapse)AuthorAgeFilesLines
* JoglGL2ES1: Remove ctor arg hasPointExt, since it's impl. in FFP Emul.Sven Gothel2012-10-231-27/+8
|
* Fix/Enhance NEWT ScreenMode (FS) integration, simplify NEWTWin creationSven Gothel2012-10-191-4/+4
| | | | | | | | | - 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-191-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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-181-17/+31
| | | | 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-161-3/+4
| | | | glDrawElements(int mode, IntBuffer indices) -> glDrawElements(int mode, ShortBuffer indices)
* 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
* Enabling GL2ES1 and GL2ES2 driver, using JOGL's ImmModeSink and ↵jogl2_es2Sven Gothel2012-10-121-0/+410
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)