Jogamp
jogl.git
7 years agoAdd AndroidWindow implementation
Sven Gothel [Tue, 9 Aug 2011 18:54:13 +0000 (20:54 +0200)]
Add AndroidWindow implementation

7 years agoMerge remote-tracking branch 'rsantina/master'
Sven Gothel [Tue, 9 Aug 2011 18:22:34 +0000 (20:22 +0200)]
Merge remote-tracking branch 'rsantina/master'

7 years agoAndroid: Demo NewtVersionActivity
Sven Gothel [Tue, 9 Aug 2011 18:21:36 +0000 (20:21 +0200)]
Android: Demo NewtVersionActivity

7 years agoNEWT: Make AndroidNewtEventFactory public / accessible
Sven Gothel [Tue, 9 Aug 2011 18:20:59 +0000 (20:20 +0200)]
NEWT: Make AndroidNewtEventFactory public / accessible

7 years agoTest OneTriangle generalization cleanup
Sven Gothel [Tue, 9 Aug 2011 18:20:35 +0000 (20:20 +0200)]
Test OneTriangle generalization cleanup

7 years agoNEWT Android Display/Screen driver implementation
Sven Gothel [Tue, 9 Aug 2011 18:20:04 +0000 (20:20 +0200)]
NEWT Android Display/Screen driver implementation

7 years agoComplete Android driver reloc (constructor)
Sven Gothel [Tue, 9 Aug 2011 18:19:30 +0000 (20:19 +0200)]
Complete Android driver reloc (constructor)

7 years agoEGL Fixes ...
Sven Gothel [Tue, 9 Aug 2011 18:17:11 +0000 (20:17 +0200)]
EGL Fixes ...

- EGLDrawableFactory: createProxySurfaceImpl: add proper config choosing
- EGLCapabilities/EGLGraphicsConfiguration: Add nativeVisualID
- All: Avoid critical array access -> use NIO

7 years agodebug: remove tracker from jogl.debug=all
Sven Gothel [Tue, 9 Aug 2011 18:12:28 +0000 (20:12 +0200)]
debug: remove tracker from jogl.debug=all

7 years agoAdapt to DynamicLibraryBundleInfo API change ; Remove non std EGL/ES libs (Android)
Sven Gothel [Tue, 9 Aug 2011 18:12:00 +0000 (20:12 +0200)]
Adapt to DynamicLibraryBundleInfo API change ; Remove non std EGL/ES libs (Android)

7 years agoGraph UI and Text demo using UIcontroller.
Rami Santina [Tue, 9 Aug 2011 18:11:38 +0000 (21:11 +0300)]
Graph UI and Text demo using UIcontroller.

7 years agoset env TARGET_PLATFORM_LIBS (linux arm cross)
Sven Gothel [Tue, 9 Aug 2011 18:10:42 +0000 (20:10 +0200)]
set env TARGET_PLATFORM_LIBS (linux arm cross)

7 years agoGraph UI: Added scene controller and general scenegraph behavior.
Rami Santina [Tue, 9 Aug 2011 18:10:12 +0000 (21:10 +0300)]
Graph UI: Added scene controller and general scenegraph behavior.

User can implement onClick, onPressed, onReleased for selected
UIShape called by the controller. Selection done using
color coding indexes.
Controller also provides a default generic InputEventListener and GlEventListener

7 years agoAndroid: Add android/EGL lib for linkage
Sven Gothel [Tue, 9 Aug 2011 18:10:08 +0000 (20:10 +0200)]
Android: Add android/EGL lib for linkage

7 years agoreloc files: NEWT Android driver, demos OneTriangle
Sven Gothel [Tue, 9 Aug 2011 18:09:38 +0000 (20:09 +0200)]
reloc files: NEWT Android driver, demos OneTriangle

7 years agoGLRunnable API Change: Return boolean indicating whether the back buffer shall be...
Rami Santina [Tue, 9 Aug 2011 17:51:12 +0000 (20:51 +0300)]
GLRunnable API Change: Return boolean indicating whether the back buffer shall be updated before swap.

This allows color selection GLRunnables, executed after the GLEventListener.

7 years agoEGLPBuffer: remove 'ownEGLDisplay=true' (just wrong), add destroyImpl()
Sven Gothel [Sun, 7 Aug 2011 05:57:07 +0000 (07:57 +0200)]
EGLPBuffer: remove 'ownEGLDisplay=true' (just wrong), add destroyImpl()

7 years agoEGLDrawable.setRealized(true) - no update gfx-config if we already have proper EGL...
Sven Gothel [Sun, 7 Aug 2011 05:56:09 +0000 (07:56 +0200)]
EGLDrawable.setRealized(true) - no update gfx-config if we already have proper EGL type.

7 years agopbuffer caps fix: offscreen -> false
Sven Gothel [Sun, 7 Aug 2011 05:54:50 +0000 (07:54 +0200)]
pbuffer caps fix: offscreen -> false

7 years agono GL_VERSION_X extensions for ES profiles
Sven Gothel [Sun, 7 Aug 2011 05:54:18 +0000 (07:54 +0200)]
no GL_VERSION_X extensions for ES profiles

7 years agoGLProfile / eager init: Use relaxed query, if context was created while initialize...
Sven Gothel [Sun, 7 Aug 2011 05:53:46 +0000 (07:53 +0200)]
GLProfile / eager init: Use relaxed query, if context was created while initialize shared

7 years agoDon't enable DebugGL/TraceGL with jogl.debug=all
Sven Gothel [Sun, 7 Aug 2011 05:51:57 +0000 (07:51 +0200)]
Don't enable DebugGL/TraceGL with jogl.debug=all

7 years agoincr. debug output (tests)
Sven Gothel [Sun, 7 Aug 2011 05:51:08 +0000 (07:51 +0200)]
incr. debug output (tests)

7 years agoAndroid: cosmetics
Sven Gothel [Sat, 6 Aug 2011 08:08:01 +0000 (10:08 +0200)]
Android: cosmetics

7 years agoEGL Fix: Use config-id value, bug override it w/ renderable type
Sven Gothel [Sat, 6 Aug 2011 08:07:47 +0000 (10:07 +0200)]
EGL Fix: Use config-id value, bug override it w/ renderable type

7 years agoEGL/Android: Favor driver's EGL/ES native library - Using Android's fails
Sven Gothel [Sat, 6 Aug 2011 08:07:05 +0000 (10:07 +0200)]
EGL/Android: Favor driver's EGL/ES native library - Using Android's fails

FIXME: find proper solution, instead of using hardcoded and non-std lib names

7 years agoAndroid hacks: ClassLoaderUtil (vie Dex.., w/ native libs) ; Merged big jar ; eglGetD...
Sven Gothel [Fri, 5 Aug 2011 20:13:11 +0000 (22:13 +0200)]
Android hacks: ClassLoaderUtil (vie Dex.., w/ native libs) ; Merged big jar ; eglGetDevice(0) fails

7 years agodebug verbosity ; adaption of gluegen fix of DynamicLibraryBundle
Sven Gothel [Fri, 5 Aug 2011 15:46:56 +0000 (17:46 +0200)]
debug verbosity ; adaption of gluegen fix of DynamicLibraryBundle

fix debug log in case no device has been initialized

use gluegen's fix of DynamicLibraryBundle.isGlueLibComplete()
- see gluegen commit 6281499e53555fd8ab26345ffce4c4d09bf57a09

7 years agoadd/fix: cross/egl test scripts
Sven Gothel [Fri, 5 Aug 2011 15:44:35 +0000 (17:44 +0200)]
add/fix: cross/egl test scripts

7 years agodue to JAR *all* merge, merge *-java-src.zip -> jogl-java-src.zip as well
Sven Gothel [Fri, 5 Aug 2011 12:57:02 +0000 (14:57 +0200)]
due to JAR *all* merge, merge *-java-src.zip -> jogl-java-src.zip as well

7 years agofix jogl.all-mobile.jar/jogl_mobile configuration
Sven Gothel [Fri, 5 Aug 2011 12:38:16 +0000 (14:38 +0200)]
fix jogl.all-mobile.jar/jogl_mobile configuration

7 years agoMerge branch 'master' of http://github.com/sgothel/jogl
Rami Santina [Fri, 5 Aug 2011 09:35:22 +0000 (12:35 +0300)]
Merge branch 'master' of github.com/sgothel/jogl

7 years agoFix: event mapping mismatch
Rami Santina [Fri, 5 Aug 2011 09:35:10 +0000 (12:35 +0300)]
Fix: event mapping mismatch

7 years agoAdd missing incl of gluegen's stdint (win32 failed)
Sven Gothel [Fri, 5 Aug 2011 07:52:06 +0000 (09:52 +0200)]
Add missing incl of gluegen's stdint (win32 failed)

7 years agoComplete Android cleanup (compile/apk launch)
Sven Gothel [Fri, 5 Aug 2011 03:35:40 +0000 (05:35 +0200)]
Complete Android cleanup (compile/apk launch)

7 years agodeployment resturcturing: combine nativewindow/jogl/newt ; newt: 'driver' separation...
Sven Gothel [Fri, 5 Aug 2011 03:32:15 +0000 (05:32 +0200)]
deployment resturcturing: combine nativewindow/jogl/newt ; newt: 'driver' separation ; android cleanup

remaining all-in-one jnlp's / jars:
  jogl-all-awt.jnlp    -> jogl.all.jar
  jogl-all-noawt.jnlp  -> jogl.all-noawt.jar
  jogl-all-mobile.jnlp -> jogl.all-mobile.jar
  native for all above:   jogl-all-natives-linux-amd64.jar

  jogl.all-android.apk    jogl.all-android.jar

  more may follow for each supported platfrom

++++

- newt: proper 'driver' separation
  - all drivers reside now in jogamp.newt.driver.*

- remove intptr.cfg / use gluegen's

7 years agoMerge branch 'master' of http://github.com/sgothel/jogl
Rami Santina [Thu, 4 Aug 2011 14:14:33 +0000 (17:14 +0300)]
Merge branch 'master' of github.com/sgothel/jogl

7 years agoadd multitouch getPointerId data
Rami Santina [Thu, 4 Aug 2011 14:08:55 +0000 (17:08 +0300)]
add multitouch getPointerId data

7 years agoAdd android src zip to eclipse classpath
Sven Gothel [Wed, 3 Aug 2011 14:23:19 +0000 (16:23 +0200)]
Add android src zip to eclipse classpath

7 years agotest: remove bug 502 workaround flag
Sven Gothel [Tue, 2 Aug 2011 22:30:14 +0000 (00:30 +0200)]
test: remove bug 502 workaround flag

7 years agoRenamed jogamp.newt.opengl -> jogamp.newt.egl, properly reflecting EGL dependency...
Sven Gothel [Tue, 2 Aug 2011 22:16:03 +0000 (00:16 +0200)]
Renamed jogamp.newt.opengl -> jogamp.newt.egl, properly reflecting EGL dependency, not OpenGL

The native impl packages utilize EGL, not opengl, to query the proper pixelformat.

7 years agoHide NEWT AWT Event implementation details to jogamp.newt.awt.event
Sven Gothel [Tue, 2 Aug 2011 16:37:23 +0000 (18:37 +0200)]
Hide NEWT AWT Event implementation details to jogamp.newt.awt.event

7 years agoIsolate android implementation details to newt/classes/jogamp/newt/opengl/android
Sven Gothel [Tue, 2 Aug 2011 15:55:18 +0000 (17:55 +0200)]
Isolate android implementation details to newt/classes/jogamp/newt/opengl/android

7 years agosolve conflict ; use gluegen's android.jar for Eclipse classpath
Sven Gothel [Tue, 2 Aug 2011 15:51:00 +0000 (17:51 +0200)]
solve conflict ; use gluegen's android.jar for Eclipse classpath

7 years agoAdded accessibility events mapping to newt
Rami Santina [Tue, 2 Aug 2011 14:33:26 +0000 (17:33 +0300)]
Added accessibility events mapping to newt

mapped gained focus event.
used 0xFFFFFFFF for unmapped events

7 years agoandroid map motion pressure to newt
Rami Santina [Tue, 2 Aug 2011 14:05:04 +0000 (17:05 +0300)]
android map motion pressure to newt

7 years agoInitial android newt input event transformation
Rami Santina [Tue, 2 Aug 2011 13:52:56 +0000 (16:52 +0300)]
Initial android newt input event transformation

7 years agoEclipse Classpath: Add android.jar
Sven Gothel [Tue, 2 Aug 2011 12:40:56 +0000 (14:40 +0200)]
Eclipse Classpath: Add android.jar

7 years agomerge with sgothel multitouch
Rami Santina [Tue, 2 Aug 2011 12:36:43 +0000 (15:36 +0300)]
merge with sgothel multitouch

7 years agoMultitouch proposal MouseEvent
Rami Santina [Tue, 2 Aug 2011 12:35:09 +0000 (15:35 +0300)]
Multitouch proposal MouseEvent

7 years agoProposal for multi touch
Sven Gothel [Tue, 2 Aug 2011 12:17:43 +0000 (14:17 +0200)]
Proposal for multi touch

7 years agoAdapt latest gluegen changes for crossplatform.
Sven Gothel [Tue, 2 Aug 2011 11:31:23 +0000 (13:31 +0200)]
Adapt latest gluegen changes for crossplatform.

7 years agoCont. fix 'Allow VBO/Texture Name (int) < 0'
Sven Gothel [Mon, 1 Aug 2011 20:45:24 +0000 (22:45 +0200)]
Cont. fix 'Allow VBO/Texture Name (int) < 0'

Refines spec GLArrayData and it's implementations.

see commit 76f7552c4a219b116e86949f271e613ba0f6f160
see commit 4d33a2df1e991ab75817dcb44061d88d3c499cdb
see commit 2dbd16fc3edf29b39ba37a11b9fbf1b2aad75c45

7 years agoTest Gears GL2ES1: Favor native ES1 if available.
Sven Gothel [Mon, 1 Aug 2011 20:09:43 +0000 (22:09 +0200)]
Test Gears GL2ES1: Favor native ES1 if available.

7 years agoGLProfile: Allow EGL besides desktop; Desktop factories restricted to desktop profiles
Sven Gothel [Mon, 1 Aug 2011 20:08:55 +0000 (22:08 +0200)]
GLProfile: Allow EGL besides desktop; Desktop factories restricted to desktop profiles

Allow EGL besides desktop
- Initialize EGL for default EGL device, even if desktop is available

Desktop factories restricted to desktop profiles
- Don't use native ES1/ES2 here ..

7 years agoGLContext Impl: Fix Platform 'GLX' ProcAddress Caching, allow multiple types
Sven Gothel [Mon, 1 Aug 2011 20:05:48 +0000 (22:05 +0200)]
GLContext Impl: Fix Platform 'GLX' ProcAddress Caching, allow multiple types

- Add platform type to key

7 years agoEnable EGL/ES1/ES2 detection/test on desktop (using mesa's libraries)
Sven Gothel [Mon, 1 Aug 2011 18:51:22 +0000 (20:51 +0200)]
Enable EGL/ES1/ES2 detection/test on desktop (using mesa's libraries)

Ubuntu:
 sudo apt-get install mesa-utils-extra libegl1-mesa libegl1-mesa-drivers libgles1-mesa libgles2-mesa

7 years agoAWT/X11 Reduce XQueryExtension 'hang' ; Impl. use XineramaIsActive() instead of Xiner...
Sven Gothel [Mon, 1 Aug 2011 18:18:28 +0000 (20:18 +0200)]
AWT/X11 Reduce XQueryExtension 'hang' ; Impl. use XineramaIsActive() instead of XineramaQueryScreens()

- Reenable creating own XDisplay for AWT components, which reduces/removes hang
  in subsequent XQueryExtension call (fetchScreens .. XineramaEnabled())

- Impl. use XineramaIsActive() instead of XineramaQueryScreens()
  Reducing memory allocation, XFree call (which was missing anyways)

7 years agoFix glDebugMessageInsert: Pass string length to native method instead of -1/0, avoid...
Sven Gothel [Mon, 1 Aug 2011 18:15:35 +0000 (20:15 +0200)]
Fix glDebugMessageInsert: Pass string length to native method instead of -1/0, avoid driver bug.

7 years agoCont. fix 'Allow VBO/Texture Name (int) < 0'
Sven Gothel [Mon, 1 Aug 2011 18:14:26 +0000 (20:14 +0200)]
Cont. fix 'Allow VBO/Texture Name (int) < 0'

Refines spec GLArrayData and it's implementations.

see commit 4d33a2df1e991ab75817dcb44061d88d3c499cdb
see commit 2dbd16fc3edf29b39ba37a11b9fbf1b2aad75c45

7 years agoRevert commit 96cbe03a943f3189531a7ec9baf680bdf1417929: Capabilities: default rgb...
Sven Gothel [Mon, 1 Aug 2011 13:35:50 +0000 (15:35 +0200)]
Revert commit 96cbe03a943f3189531a7ec9baf680bdf1417929: Capabilities: default rgb 555 -> 888 ; Turns out such a default value change would cause too many regressions

7 years agotest script cleanup
Sven Gothel [Mon, 1 Aug 2011 13:29:27 +0000 (15:29 +0200)]
test script cleanup

7 years agoCross Test linux/armv7 script: Use es1 and es2 classes
Sven Gothel [Mon, 1 Aug 2011 13:29:05 +0000 (15:29 +0200)]
Cross Test linux/armv7 script: Use es1 and es2 classes

7 years agoUse GL2ES1 profile (no emul) - complete commit a7fcfad44545e7b3f7e2f4176349588dc26d9070
Sven Gothel [Mon, 1 Aug 2011 13:28:17 +0000 (15:28 +0200)]
Use GL2ES1 profile (no emul) - complete commit a7fcfad44545e7b3f7e2f4176349588dc26d9070

7 years agoGearsGL2ES1: Fix ES1 usage FRONT -> FRONT_AND_BACK ; Use GL2ES1 profile (no emul)
Sven Gothel [Mon, 1 Aug 2011 13:23:38 +0000 (15:23 +0200)]
GearsGL2ES1: Fix ES1 usage FRONT -> FRONT_AND_BACK ; Use GL2ES1 profile (no emul)

7 years agoNEWT test: rgb == 555 is ok
Sven Gothel [Mon, 1 Aug 2011 13:18:54 +0000 (15:18 +0200)]
NEWT test: rgb == 555 is ok

7 years agoAWTNewtEvent Mapping: Unmapped value -1 -> 0xffffffff
Sven Gothel [Mon, 1 Aug 2011 13:17:58 +0000 (15:17 +0200)]
AWTNewtEvent Mapping: Unmapped value -1 -> 0xffffffff

7 years agoRefine some DEBUG code (verbosity)
Sven Gothel [Mon, 1 Aug 2011 13:17:20 +0000 (15:17 +0200)]
Refine some DEBUG code (verbosity)

7 years agoVBO and Texture Names: Allos (int) < 0 - unusual valid names for some GL impl.
Sven Gothel [Mon, 1 Aug 2011 13:16:14 +0000 (15:16 +0200)]
VBO and Texture Names: Allos (int) < 0 - unusual valid names for some GL impl.

Turns out some GL impl. use VBO names like 0xa2d67443, which is (int) < 0.

7 years agoStateTracker: Map's KeyNotFound value -1 -> 0xffffffff... allowing unusual values...
Sven Gothel [Mon, 1 Aug 2011 13:14:39 +0000 (15:14 +0200)]
StateTracker: Map's KeyNotFound value -1 -> 0xffffffff... allowing unusual values. Impl -> final.

Map's KeyNotFound value -1 -> 0xffffffff
  Turns out some GL impl. use VBO names like 0xa2d67443, which is (int) < 0.
  This is now handled in GLBufferStateTracker as well as for the others.

Make methods final to restrict 'em.

7 years agoFixed regression of commit 360b86f4b5d0e440863c1749fe990e39fbabc51c
Sven Gothel [Mon, 1 Aug 2011 06:38:14 +0000 (08:38 +0200)]
Fixed regression of commit 360b86f4b5d0e440863c1749fe990e39fbabc51c

7 years agograph es2 glsl: #extension OES_standard_derivatives : require
Sven Gothel [Sun, 31 Jul 2011 19:19:36 +0000 (21:19 +0200)]
graph es2 glsl: #extension OES_standard_derivatives : require

7 years agoTAB -> SPACE
Sven Gothel [Sun, 31 Jul 2011 19:04:01 +0000 (21:04 +0200)]
TAB -> SPACE

7 years agoAdd egl es test script for host (emu)
Sven Gothel [Sun, 31 Jul 2011 18:51:26 +0000 (20:51 +0200)]
Add egl es test script for host (emu)

7 years agoAdd crosstest script for linux/arm
Sven Gothel [Sun, 31 Jul 2011 18:48:42 +0000 (20:48 +0200)]
Add crosstest script for linux/arm

7 years agoES1 Gears: Don't force fixed function emulation
Sven Gothel [Sun, 31 Jul 2011 18:47:51 +0000 (20:47 +0200)]
ES1 Gears: Don't force fixed function emulation

7 years agoAdd ES1 Gears (w/ NEWT startup)
Sven Gothel [Sun, 31 Jul 2011 18:46:28 +0000 (20:46 +0200)]
Add ES1 Gears (w/ NEWT startup)

7 years agoetc/profile.jogl: remove GL2ES12 config (impl. removed a long time ago)
Sven Gothel [Sun, 31 Jul 2011 18:45:40 +0000 (20:45 +0200)]
etc/profile.jogl: remove GL2ES12 config (impl. removed a long time ago)

7 years agoNativeWindow Capabilities: rgb -> 555, allows using low profile devices
Sven Gothel [Sun, 31 Jul 2011 18:45:06 +0000 (20:45 +0200)]
NativeWindow Capabilities: rgb -> 555, allows using low profile devices

All GLCaps chooser will pick the highest available pixelformat,
so if 32bpp is available rgba8888 will be used anyways.

7 years agoGraph Shader: def. GRAPHP to easily change precision, set to mediump; Add precision...
Sven Gothel [Sun, 31 Jul 2011 18:43:41 +0000 (20:43 +0200)]
Graph Shader: def. GRAPHP to easily change precision, set to mediump; Add precision for all vars.

7 years agoruler.fp: Use es2 precision for all variables, otherwise es2 glsl compiler fails
Sven Gothel [Sun, 31 Jul 2011 18:41:49 +0000 (20:41 +0200)]
ruler.fp: Use es2 precision for all variables, otherwise es2 glsl compiler fails

7 years agoFixedFuncUtil: Name/Fix getFixedFuncImpl() -> wrapFixedFuncEmul()
Sven Gothel [Sun, 31 Jul 2011 18:40:56 +0000 (20:40 +0200)]
FixedFuncUtil: Name/Fix getFixedFuncImpl() -> wrapFixedFuncEmul()

Fix wrapFixedFuncEmul():
  - only wrap if ES2 and (!ES1 || force)
  - return same profile if ES1
  - otherwise throw exception

7 years agoGLWindow::main(): show requested/chosen GLCaps
Sven Gothel [Sun, 31 Jul 2011 18:38:09 +0000 (20:38 +0200)]
GLWindow::main(): show requested/chosen GLCaps

7 years agoGLProfile usage getMinDesktop() -> getMinimum(); WGL/X11 GLCaps: make attributes...
Sven Gothel [Sun, 31 Jul 2011 18:37:39 +0000 (20:37 +0200)]
GLProfile usage getMinDesktop() -> getMinimum(); WGL/X11 GLCaps: make attributes final

7 years agoEGL: Set CTX_PROFILE_ES2_COMPAT if ES2; Allow any native device; Don't use libGL...
Sven Gothel [Sun, 31 Jul 2011 18:35:55 +0000 (20:35 +0200)]
EGL: Set CTX_PROFILE_ES2_COMPAT if ES2; Allow any native device; Don't use libGL.so; Cosmetics

EGL: Set CTX_PROFILE_ES2_COMPAT if ES2;

Allow any native device for EGL
  - EGLDrawableFactory::getIsDeviceCompatible() -> true always,
    impl. shall handle all native windowing toolkit layers, if available.

Don't use libGL.so
  - desktop GL library is exclusive for desktop bindings

7 years agoGLProfile: Fix exception; Minor Changes
Sven Gothel [Sun, 31 Jul 2011 18:31:12 +0000 (20:31 +0200)]
GLProfile: Fix exception; Minor Changes

- GL_PROFILE_LIST_MIN_DESKTOP -> GL_PROFILE_LIST_MIN
- Fix exception in glAvailabilityToString(), if no profile is available
- getMinDesktop() -> getMinimum()

7 years agoEGL: Collect all avail EGL caps w/o GLProfile preset ; Tolerate failing EGL.eglChoose...
Sven Gothel [Sun, 31 Jul 2011 18:18:06 +0000 (20:18 +0200)]
EGL: Collect all avail EGL caps w/o GLProfile preset ; Tolerate failing EGL.eglChooseConfig() ; Cosmetics

Collect all avail EGL caps w/o GLProfile preset
  - pass GLProfile null for collecting all available EGL GLCapabilities,
    allowing EGLGLCapabilities to set the GLProfile regarding EGLConfig's renderableType.

Tolerate failing EGL.eglChooseConfig()
  - use chooser algo, trying to pick one EGLConfig manually

Cosmetic toHexString change

7 years agoEGL: Query EGL_RENDERABLE_TYPE, store it in EGLGLCapabilities and test w/ GLProfile...
Sven Gothel [Sun, 31 Jul 2011 18:10:16 +0000 (20:10 +0200)]
EGL: Query EGL_RENDERABLE_TYPE, store it in EGLGLCapabilities and test w/ GLProfile compatibility

EGLConfig's EGL_RENDERABLE_TYPE determines ES1, ES2 or VG usage (bitfield).
We have to store and compare it's value w/ the desired GLProfile to choose a valid one,
or just store it.

7 years agoGLDrawableFactory::getFactoryImpl(): Only return the EGL factory if profile is native ES
Sven Gothel [Sun, 31 Jul 2011 17:33:04 +0000 (19:33 +0200)]
GLDrawableFactory::getFactoryImpl(): Only return the EGL factory if profile is native ES

7 years agoNEWT ScreenModes: Add current ScreenMode if none could be collected.
Sven Gothel [Sun, 31 Jul 2011 17:32:02 +0000 (19:32 +0200)]
NEWT ScreenModes: Add current ScreenMode if none could be collected.

On Linux/ARMv7 (Ubuntu 11.04) it appears that the native RnR methods could not collect
ScreenModes. In such case, at least we add the current mode as a fallback.
This allows using the current mode information.

7 years agoJoglVersion: Add info whether shader-compiler exists or not
Sven Gothel [Sun, 31 Jul 2011 17:29:27 +0000 (19:29 +0200)]
JoglVersion: Add info whether shader-compiler exists or not

7 years agoES Native Libraries: Add missing GLDebugMessageHandler code ..
Sven Gothel [Sun, 31 Jul 2011 17:28:23 +0000 (19:28 +0200)]
ES Native Libraries: Add missing GLDebugMessageHandler code ..

7 years agoJOGL: Add GLBase::isGLES2Compatible()
Sven Gothel [Sun, 31 Jul 2011 17:25:13 +0000 (19:25 +0200)]
JOGL: Add GLBase::isGLES2Compatible()

Indicates whether this GL object is compatible with OpenGL ES2,
i.e. has the extension <code>GL_ARB_ES2_compatibility</code>

7 years agoNEW unit test, use bug 502 workaround property until fixed otherwise
Sven Gothel [Fri, 29 Jul 2011 10:05:43 +0000 (12:05 +0200)]
NEW unit test, use bug 502 workaround property until fixed otherwise

7 years agoadd linux/armv7 scripts [[cross] compile clean]
Sven Gothel [Thu, 28 Jul 2011 14:48:47 +0000 (16:48 +0200)]
add linux/armv7 scripts [[cross] compile clean]

7 years agotest case GLWindow
Sven Gothel [Thu, 28 Jul 2011 14:23:52 +0000 (16:23 +0200)]
test case GLWindow

7 years agoscript: no need for custom linux-x86 on multilib platform
Sven Gothel [Thu, 28 Jul 2011 14:23:32 +0000 (16:23 +0200)]
script: no need for custom linux-x86 on multilib platform

7 years agogl header cfg: use __unix__ define, instead of all avail variations (linux, sun, ..)
Sven Gothel [Thu, 28 Jul 2011 14:23:05 +0000 (16:23 +0200)]
gl header cfg: use __unix__ define, instead of all avail variations (linux, sun, ..)

7 years agobuild: add linux/armv7 support ; only add resources once w/o java source
Sven Gothel [Thu, 28 Jul 2011 14:22:13 +0000 (16:22 +0200)]
build: add linux/armv7 support ; only add resources once w/o java source

7 years agoadapt to gluegen Platform change
Sven Gothel [Thu, 28 Jul 2011 14:20:43 +0000 (16:20 +0200)]
adapt to gluegen Platform change

http://JogAmp.org git info: FAQ, tutorial and man pages.