summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Android manifest add uses es2Rami Santina2011-09-301-0/+2
|
* Merge branch 'android-tegra-playground' of git://github.com/sgothel/jogl ↵Rami Santina2011-09-3011-209/+121
|\ | | | | | | into android-tegra-playground
| * Android/JogAmp ClassLoader: Split CL JogAmp + User-APK, reuse JogAmp CL if ↵Sven Gothel2011-09-301-33/+54
| | | | | | | | in same ClassLoader
| * Android: Use standard launch mode; Add default actions to NewtBaseActivity; ↵Sven Gothel2011-09-309-180/+67
| | | | | | | | Add RedSquare ES1 + ES2
| * scriptsSven Gothel2011-09-301-0/+4
| |
* | Allow Android activity launch from another app.Rami Santina2011-09-301-4/+8
|/ | | | | | | android:exported tag allows activity to be launched from another applications and other user id. launch mode standard allows multiple instances.
* test scriptSven Gothel2011-09-301-2/+2
|
* NEWT/Android: More ANativeWindow coop;Sven Gothel2011-09-302-48/+129
| | | | | | | | | | | | | | | | Note: surface's format _is_ the nativeVisualID of EGL. More ANativeWindow (ANW) coop: - add acquire/release for ANW - validate ANW format - Add fixCaps: 'format -> GLCaps' validation Test: - Constructor: Start w/ surface format RGB_565 (default) - createNative: Filter EGLConfig w/ surface format - Move surfaceHandle fetching from surfaceCreated -> surfaceChanged, where the format is available. - surfaceChanged: use fixedCaps validation
* EGL: eglSwapBuffers() show failure in DEBUG modeSven Gothel2011-09-301-1/+6
|
* ES Library lookup order - Favor spec lib nameSven Gothel2011-09-302-11/+17
|
* EGL: chooseGraphicsConfigurationStatic() public and w/ optional visualIDSven Gothel2011-09-302-14/+35
|
* Graph GLSL: Use global precicision settings enhancing readabilitySven Gothel2011-09-307-60/+54
|
* Android Launcher Demos: Adept to df6021f9ef50623e6ac8f0822e827fd31a0a0cf2Sven Gothel2011-09-304-11/+43
|
* Android Launcher: Generalize ClassLoaderUtil. Use local TempFileCacheSven Gothel2011-09-302-8/+506
|
* demo: es2 shaders: use default precisionSven Gothel2011-09-282-113/+106
|
* Android/Demos: Add ElektronenMultiplizierer (fix shader and keylistener ↵Sven Gothel2011-09-289-26/+43
| | | | add/remove)
* Android: Add jogl-test manifest. APK scriptsSven Gothel2011-09-283-0/+25
|
* GearsES1/ES2 demos: remove junit assertionsSven Gothel2011-09-282-15/+1
|
* NEWT DisplayImpl: Check for null event in taskSven Gothel2011-09-281-0/+6
|
* NewtBaseActivity: Enable 'slave' mode, ie as a downstream for external ↵Sven Gothel2011-09-282-94/+88
| | | | launched Activity, see NewtLauncherActivity
* NEWT/Android: Send MouseClicked event, MouseEvent enhancement, Demo: real 2 ↵Sven Gothel2011-09-285-32/+155
| | | | | | | | finger zoom MouseEvent: Check array sizes at cstr. Enhance 'toString()', pointer arrays added. GPUUISceneGLListener0A now uses 2 finger distance for zoom
* TypecastFontConstructor: Use IOUtil's createTempFile() to comfort AndroidSven Gothel2011-09-281-4/+2
|
* Fix ES2 shadersSven Gothel2011-09-285-7/+9
| | | | | | | | | | | Add missing floating point precision qualifiers. '#extension OES_standard_derivatives : require' somehow doesn't pass the GLSL compiler, however '#extension GL_OES_standard_derivatives : enable' does. Currently works on ARM's Mali-400 MP, NV Tegra still don't show a picture. TODO: More in depth evaluation.
* Fix GLProfile ES2: Component numbers can't be validated (??)Sven Gothel2011-09-281-5/+3
|
* Android Activity Launching (jogl.test)Sven Gothel2011-09-2812-97/+483
| | | | | | | | | | | | | | | | Launching activity is in: jogl.android-launcher.apk and directly derives from NewtLauncherActivity. It daisy chains apk's via ClassLoaderUtil: - gluegen-rt.apk - jogl.all-android.apk - jogl.test.apk (*) (*) This has to made configurable so the generic NewtLauncherActivity can be reused by any user application. After preparing the ClassLoader (see above), NewtLauncherActivity instanciates the configurable user Activity and passes all it's activity calls down to it.
* NEWT/OSX: Enable OSXSven Gothel2011-09-271-4/+3
|
* NEWT/OSX: 'Better' child window positioning, still, after reparenting into ↵Sven Gothel2011-09-276-11/+31
| | | | | | | | | parent, a white window rectangle remains. .. we also need to understand the absolute screen position better, ie. when required and when not (at window creation currently).
* test script ..Sven Gothel2011-09-271-4/+7
|
* GLContextImpl: Fix bug: Surface was not unlocked in case new context ↵Sven Gothel2011-09-271-7/+9
| | | | creation failed.
* tests: added some commented out 'wait for press enter' startups, reduce ↵Sven Gothel2011-09-273-6/+13
| | | | getCurrentScreenMode() loop to 100
* NEWT/Threading: MainThread / DefaultEDTUtilSven Gothel2011-09-275-224/+94
| | | | | | | | | | | | | | | | | | | | | | | - MainThread: This class no more implements EDTUtil! This class just provides a main-thread utility, forking of a main java class on another thread while being able to continue doing platform specific things on the main-thread. The latter is essential for eg. MacOSX, where we continue to run NSApp.run(). - DefaultEDTUtil: - if Lock.DEBUG validate that no recursive locks are being hold, where it shall not (EDT: startup and return from task execution) - If task execution's result wasn't waited for (checked), at least dump exeception's stack trace if i happened. - MacDisplay: Just use DefaultEDTUtil - MacWindow: - No more need of special locking -> removed nsViewLock, since: - using proper EDT - capability to run from multiple threads (native Java thread attachment)
* NEWT: Adapt to GlueGen's Lock ChangeSet, all java callbacks for native have ↵Sven Gothel2011-09-2715-132/+193
| | | | | | | | | | | | | | 'defer' 1st argument - Adapt to GlueGen's Lock ChangeSet: e4baba27507ce78e64a150ec6f69fb96f5721a34 - All java callbacks for native have 'defer' 1st argument. This allows enqueuing resulting events to the EDT if required, ie. the native thread may not be 'compatible' (MacOSX). - MacOSX-Native: enqueue key/mouse events and defer:=true for all java callbacks Since we are comming from a 3rd-party thread (AWT/NSApp-MainThread) we shall not abuse it.
* Adapt to GlueGen's Lock ChangeSet: e4baba27507ce78e64a150ec6f69fb96f5721a34 ↵Sven Gothel2011-09-277-40/+40
| | | | ; Use generics
* NEWT/JOGL: MacOSX UpdateSven Gothel2011-09-2517-514/+618
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Feature related: - Added always-on-top - Added translucency - Child Window Position - AWT parent: manual traverse up the tree and calc position on screen (Problem: the parent view rect is not at the proper position, but covers the whole frame) EDTUtil related: - Works now w/ AWT ot headless (again) - OSX native JNI callbacks gathering JNIEnv properly and attaches/detaches thread. - AWT case: using AWT-Event which properly dispatches our cocoa events - MainThread (headless) case: Fork off thread w/ main class and kick off NSApp run(). This leads to same behavior as w/ AWT case. - Using DefaultEDTUtil - Cleanup MainThread (implements EDTUtil) - Currently not used as EDTUtil (osx), just as launcher - Removed EDTUtil impl code, reuse DefaultEDTUtil - Cleanup AWTEDTUtil (implements EDTUtil) - Currently not used as EDTUtil (osx)
* NativeWindow/OSX: Add nativewindow_macosx lib and nativewindow.os.macosx.jar ↵Sven Gothel2011-09-256-5/+191
| | | | for 'GetLocationOnScreen()'
* test scriptsSven Gothel2011-09-241-2/+7
|
* CreateWindow set visible; lockSurface: lock AWT if availableSven Gothel2011-09-241-11/+15
|
* OSX: Sync MainThread w/ DefaultEDTUtil and proper deledation AWT EDT, ↵Sven Gothel2011-09-242-77/+176
| | | | MacWindow: create/visible at native creation
* Cleanup DefaultEDTUtil: Generics and DEBUGSven Gothel2011-09-241-32/+22
|
* Use new JNILIbLoaderBase addNativeJarLibs(all, atomic) for JOGL, ↵Sven Gothel2011-09-244-28/+22
| | | | NativeWindow and NEWT; no more LD_LIB_.. in setenv.sh for test scripts
* Add NApplet launch variant to all appletsSven Gothel2011-09-236-0/+341
|
* Adding html launch type and page for new 'NApplet', using new TempJarCache ↵Sven Gothel2011-09-234-2/+114
| | | | for native libs.
* test scripts: use build/lib for JOGL native lib access (will be removed though)Sven Gothel2011-09-232-10/+11
|
* Use Platform's initSingleton() instead of JVMUtil's (private package) ; Use ↵Sven Gothel2011-09-234-21/+53
| | | | TempJarCache if used.
* Remove native lib cg from jogl native lib jarSven Gothel2011-09-212-0/+2
|
* Proper usage of loadLibrarySven Gothel2011-09-212-9/+4
|
* remove jogl.cg.jar from jogl.all*.jarSven Gothel2011-09-211-3/+2
|
* Add jogamp-next test applets to www indexSven Gothel2011-09-211-0/+1
|
* Added NVidia License for CG header; Fixed intendationSven Gothel2011-09-211-37/+87
|
* Remove obsolete WinCE .lib filesSven Gothel2011-09-216-0/+0
|