Barcsik Attila (1): Fixing build errors on Solaris systems. FIX: 481 Michael Bien (1): GLStateTracker code review: - using LinkedList as stack replacement for non index based push/pop - increased initial map size since the default values already exceeds the default mapsize - size()==0 -> isEmpty() (can be significantly faster if the deque impl would change in future) - map copy with initial size - minor other changes Rami Santina (50): Add initial GPU based curve rendering implementation, utilizing TTF fonts and manual shapes Refactored Vertex Point PointTex GraphPoint namings Fix: GPUTextnewtDemo02 showing r2t algo output Fix: RenderingDemo with MULTI_PASS doesnt uses MSAA Demo refactor variable names MSAATool Split dump to CSAA and MSAA Fix: remove TTF imports Added print screen to TGA file to be used in junit Testcase for R2T with two sizes Multiple snapshots r2t; Added test initial MSAA Add debug flag for boundary tri Updated textTextRenderer 3 views each and write to tga file Added inclass comments to OutlineShape Added inclass documentation to AABBox; Misc changes Fix: RegionRenderer TwoPass Renderering, fix methodnames in Renderer Set relative texSize to RegionDemo02 Temp: updated Testcases to onscreen Text Demo listener: Use keycode instead of keychar Fix: Outline over triangulation. Inclass Documentation cleanup of public API Fragment Shader enhancement + clean-up; Fix: removing fragments with w=0 is producing dimples with msaa Fix: p1y region set to 0.5, cleaned shader Added getBounds impl to region, returning AABBox Fix: AABBox setLow/setHigh call resize; removes possible call error TextRenderer - createString exposed; Renderer - added scale(); Added demo GPU Resolution Indep UI - Button; Added headers to graph.ui classes Added nonuniform weight impl; misc enhancements/cleanups Refactor getOutline --> getPaths (actual behaviour) Cleanup nonuniform impl(method params and comments) Fix: glyph outline orientation with the removal of inversion Fix: vertex in loop test; using crossing method Remove implicit for loops reduces temp objects Font and TypecastRender generate array of OutlineShapes instead of Path2D Fix: transform to Quadratic; Refactor method names Add Factory for triangulation with base Interface; misc cleanup Graph: updated inclass documentations Graph: Remove unused imports Added handling for offcurve triangle overlaps. Handle curved triangles overlaps. Multitouch proposal MouseEvent Initial android newt input event transformation android map motion pressure to newt Added accessibility events mapping to newt add multitouch getPointerId data Fix: event mapping mismatch GLRunnable API Change: Return boolean indicating whether the back buffer shall be updated before swap. Graph UI: Added scene controller and general scenegraph behavior. Graph UI and Text demo using UIcontroller. Sven Gothel (463): Add Version Applet/ link Sync Gears (jogl-demos) Fix GLStateTracker PixelStore popAttrib(): Only write new state if corresponding push was of ClientPixelStore type junit Gears: remove AWT GLCanvas from import Fix MemoryObject: Remove unnecessary and slow hash collision action Revert Gears: Remove static main, since junit tries to load references (AWT); Remove static init as well Cleanup JNI/JAWT C Header with copyright statement Add @Override - LinkedList -> ArrayList (using tail) for O(1) operation - Using new IntIntHashMap clone() operation - Comment: Tuning IntIntHashMap capacity to avoid rehash Refine WGL_PIXEL_TYPE_ARB and GLX_RENDER_TYPE: Refine getAvailableGLCapabilitiesImpl (XGL, WGL and EGL): Sort only if size > 1 Fix bug #479 - typo Fix Bug #480 (attempt) - ATI + WinXP: make context current for ARB PFD queries/selection Fix Bug #460 - GLCanvas NPE Import Typecast r106, http://typecast.dev.java.net/ - Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 Minor changes, OTGlyph: remove redundant/errorneous add-on points (origin, advanced). Imported part of Harmony's awt.geom impl. 6.0-r991881, http://harmony.apache.org/ - Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 Fitting of jogamp.graph.geom.plane: double -> float, package location, use PointFactory, GeneralPath -> Path2D, .. Add generic Font and impl TypecastFont. Add com.jogamp.graph.geom types Add LICENSE file Make com.jogamp.graph.geom.plane non public: jogamp.graph.geom.plane, this incl. creating the non public FontInt interface for Path2D access updated file names TextDemos: Dump MSAA values, see what which AA style does .. TextDemo02 multi pass: no MSAA - right sample coverage: no diff to lines TextDemo01 (MSAA): 4 samples TextDemo01 (MSAA): 4 samples (duh) WindowTitle: Add r2t/msaa - Region Demos: Dump MSAA Eclipse: Add swt-debug.jar to .classpath FPSAnimator: Avoid NPE Fix Bug460 test Fix unnecessary NPE in case of unrealized GLCanvas (getRequestedCapabilities()) Promote GLDrawableFactory.getOrCreateSharedContext(..) to public. Common demo gllistener for text; Cleanup HwTextRenderer: Use GL as parameter (matching API), only update data if necessary (uniform), hold data in GLUniform demo: add numbers to rendering text revert to 2nd pass magic fbo size 190 Font: Make font instances size agnostic (remove all size states), size is only a render time parameter. Add missing bounds/width/height queries to TypecastFont FPSAnimator: Poor attempt to wait for threads EOL after pause/stop JAWTUtil: Just use 'sunToolkitClass' in local block Same size for both tests diff technique Refactor / Use font name as file path, if not a java font Refactoring for public: Remove Line ; public/private API cleanup Font Refactoring ; Misc Changes ; Demo/Test Update Import: Ubuntu Font Family 0.71.2, http://font.ubuntu.com/ - Ubuntu Font License, Version 1.0 http://font.ubuntu.com/ufl/ubuntu-font-licence-1.0.txt Relocate Hw*Renderer -> opengl subpackage Renamed Hw*Renderer -> *Renderer Refactor: Public *Renderer / Unify Region Demos / Using own Screenshot (non AWT, plain GL2ES2) Avoid NPE in Screenshot/ReadBufferUtil Demo/Test: Use public API Remove generics notion of Type, since Vertex _is_ the lowest denominator for our implementation and curve API VBORegion2PGL3 -> VBORegion2PES2 ShaderCode: Remove redundant code (Use proper Locator variant) Newt X11: keyPress/Release must use upper case XP_ values to match VK_ ; Set modifier properly. Final core and demo changes for jogl merge Folded turtle2d into jogl folders Folded typecast into jogl folder integrated typecast into jogamp. tree Remove HashCode util and its usage Add graph shaders and fonts .. Font: +getName / +getAllNames / +isPrintableCharacter Load fonts via File or URL . more text in text demos Graph Unit tests must have NEWT in the name / Also added UI locking Font Names: Expose name indices allowing user to pick all names .. archive tga results Rendered: +enable(GL, bool) ; dumpFontNames.. Jogl build: Rebuild jar files if shaders were updated all.ide: add one.dir to update build/jar/ Make FBObject more generic, split FBO/tex and depth/stencil attachements. Allow parametrization of each component. GLContext: Added java.debug.DebugGL and java.debug.TraceGL to enable debug and trace pipeline. ShaderProgram: Add 'init(GL2ES2)', allowing GL program object creation before link stage. This is required to allow proper usage of 'glBindAttribLocation()'. Fix: Use new FBObject; Use shaderProgram.program() instead of shaderProgram.id() Fix: shaderProgram.program(); glBindAttribLocation() call; dispose/disposeImpl sequence; Fix: DEBUG field (regression) FIX: Refactor GLArrayData and all it's implementations/sub-interfaces (VBO target, comments, names) Fix FBObject: Remove double stencil RB generation; Expose data (size, ..) Fix: Cached GlyphString handling Use common constants for shader attributes (needs to be completed) Use GLArrayDataServer to handle shader attributes/data using VBO destroy: clear vertices/triangle arrays resolve conflicts Fix TAB: Replace all TAB with 4 spaces Add com.jogamp.graph disclaimer Add GL: glGetBufferSize(int buffer) - buffer size tracking, and add comments .. ant all.ide target: use all debug flags (+vars) copy all fonts and shader to build folder, allowing ide debugging Texture: Change method signatures: Pass GL context object if required (remove GLContext.getCurrentGL() usage. GLContext changes: Fix GLProfile: Order of profiles Hi -> Low Fix/Add: Locator (Handle JarURLConnection and ..) reflect GLContext changes a5430cf16727fdc7bcfb17ef251018cc479d5f5d simple cleanup/warnings GLBufferSizeTracker/GLBufferStateTracker: Remove Redundancy NEWT GLWindow: Remove context current check for swapBuffer() call GLArrayData API and impl. changes FBObject: Add validation / API cleanup test: reflect GLArrayData changes bf8a54b502f0fcd930e12a8bbda65f9538e8a2f7 ShaderState: Validated impl./state-handling / Added comments Refactored graph: Reduce/remove data copy/recreation; Shader cleanup GLContextImpl: GLContextLock -> RecursiveLock New FPSCounter, impl. by GLWindow and GLAnimatorControl (fps perf related API change) Add unified support for GL_ARB_debug_output and GL_AMD_debug_output. Misc cleanup, strings etc Fixed a few GL method's String parameter (explicit gluegen String declaration) GLDrawableHelper: listener's locking cleaned ; Fix generics (warnings) .. NEWT Event Types: Use final modifier if possible Fix junit tests: Enable FPSCounter (missing from ea819ff768d507c37a981c1ab0bdc0cad32c6a87) Graph: Fix AMD shader complain (version) ; No Attributes in fragment program ; Disable FPS draw at start jogl.debug.DebugGL enables new DebugMessage/Output feature GLContextImpl.createContextARB(..): Use impl. GLProfile to determine requested context test scripts FPSCounter def to 5*60 frames (each 5s at 60Hz) ; Test: each 1s Fix GLSL Shader tests .. graph/glsl: AMD need vertice attrib location 0 .. Use less updated animator fps ShaderState: 'Update' vertexAttribMap on enable NEWT/X11 WindowClosing: End dispatch loop since Display could be destroyed after Java callback NativeWindow/X11: Simple cleanup/generalization .. Newt Window: Remove 'invalidate()' method, only 'destroy()' is required (and makes sense) ShaderState: Add 'ownUniform()/ownAttribute()'; rename glFunction -> function; switch program enh. ; Graph lifecycle Graph Demos: Add F4 key to exit; Proper exit sequence w/ animator.stop() after window is destroyed to exit the JVM test script Newt Window: Missing change of f47230cb4649df13260ac56c5dae6c01dad7c1e7 (remove invalidate()) MacOSX/CGL Add CGLGetShareGroup() Utilize general validation of fbcfg (further validation w/ query), refines f50f40e0fb2789537ecc19f8eaff439b24294a65 GetDebugMessageLogARB/AMD 'messagelog' param is return value, hence can't be of type String ShaderState Switch Program: Only disable current program if no new one; Better toString formating Fix glsl unit tests: NV needs to have explicitly turn off vsync / Fix 'sed' havoc: gcu_ -> mgl_ uniform names Unit Test Framework SingletonInstance: setup file unlock/delete asap GLRunnable Injection Thread Test: Slow down injection to 10Hz GLContext GLDebugMessages: Add synchronous status/dumpStack; Remove length in aliased glDebugMessageInsert. Fix GLDebugMessages synchronous setting 39a8ca392d7302831f5689979c4ce89145b732af, only set if ARB UI Unit Tests: Add test name to log and singleton lock, better log output UI Unit Tests: OO rework of EventCountAdapter UI Tests/Robot: Attempt to stabilize UI tests (focus/input) UITest AWTRobot: Use AWT double click TO Merging OutlineShape.VerticesState enum type (John Pritchard https://github.com/syntelos/jogl/commit/05a7ec92d30e1e688b1eb7cc317cad83a0e8fd60#L0R59) Graph: More std. functionality (equals, clone) / Better in-place transformation (cubic -> quadratic) GlyphShape: Use switch block for PathIterator - adding default (exception) Graph: more clone() cleanup. Graph / Text: Use CharSequence as char/string interface to text rendering Graph: GLSL fix, Adding renderModes bits instead of dedicated booleans, Region/GLRegion, .. Graph: OutlineShape fix, cleanup Graph: RenderState (interface -> abstract) missing commit of e122b2f92b2302362569cdc9a67efd5750f46eb1 Graph/Font: use StringBuilder Graph/JOGL: Avoid NPE JOGL/ShaderCode: Dump proper GLSL source w/ line numbers if GLSLCode debug prop is set Graph VBORegion*: Lazy GL alloc of resources at update(GL, ..) not constructor Graph/GLyph*: Add static factory method for non Renderer creation, separating text->OutlineShape and OutlineShape->Region step. Graph: whitespace .. TypecastRenderer: Avoid -y direction and later y-flipping / FIXME: math must be updated .. Rami ? Graph/Tests: Adapt to latest commits .. Graph/UI-Demo: Use RegionRenderer for region and text, start data/gl separation Graph/UI-Demo: Use RegionRenderer for region and text, start data/gl separation (2) Loop: Fix invert; GlyphString/createRegion: Remove unnecessary on-the-fly object creation Graph/Loop: More readable/verbose invert case; using Winding enum; ttf reader: Adding debug dump of font direction hint Graph: getWinding(ArrayList vertices) test; minor renaming Graph: Add comments 'n questions (FIXME?) build: Query git branch/sha1 and use it if not set and tools are available; Add Java source zip file. Fix ShaderState useProgram() case: on && program not linked (yet) JUnit Tests: Extract utility of creating a NEWT Window w/ GLContext w/o auto drawable (NEWTGLContext) JUnit Test: Add 'ruler' testcase using monitor mode's mm/pixel size. GLSL UnitTest: Reloc Ruler and make local fields final ShaderProgram: useProgram(..) -> public Fix: GLSLArrayHandler (data has no location); Fix ShaderState (switch program: set prev. !inUse) JOGL/GLDebug/GLTrace: Gluegen/BuildComposablePipeline: print arguments in debug pipe; common param print Fix/Extend FBObject (API Change): plain init(GL), support multiple attachTexture2D(..) (MRT) w/ tex units FIX graph FBObject usage - 526ea7a3fb579f88a0c0a1e597387aae29d5aa06 GLSL unit tests: cleanup shader state tests NEWT/GLContext (unit test): Wait for visibility/realized ; Add clean scripts leave java source zip file in build folder (if BUILD_ARCHIVE=true) Add all.debug target Fix ShaderProgram double destroy() create source zip archives per default Using GlueGen IOUtil (dropped StreamUtil, FileUtil); Public GLReadBufferUtil (screenshot etc) and GLPixelStorageModes NEWT unit test util, on/offscreen GLContext/NEWT window separation import cleanup unit test: use class global GLProfile Locator Util: Clarify API doc a bit Locator moved to GlueGen's IOUtil (gluegen a87c56c95099de5b6cbc9bd8bf6f1924a3dd6387) GLBuffers fix ; GL imageSizeInBytes fix / unit tests. Simplify and fix GL2GL3 usage (save/restore) src-zip: no compression to benefit from xz/7z compression windows batch files: bump to 6u26 Utilize GlueGen's platform independent header for stdin.h, gluegen_stdint.h, .. (remove local copy) test bat/sh files edit .. Relocated SingletonInstance to GlueGen (where a ServerSocket impl. is added). Using ServerSocket in UITestCase for SingletonInstance impl. TestGLSLShaderState01 PerfTest: 2min timeout / swapInterval 0 / start counter after warmup Minor editing/cleanups: code/test X11/Newt Locking: Clarify dependency of XInitThreads() hack Minor editing (compile script, X11Window.c - cleanups) X11 Nativewindow/NEWT: X11 Error Handler (JNIEnv query for thread, stack trace), cleanup Woraround for bug 502: X11/NEWT Stalling due to libX11/XCB Multithreading bug (libX11 1.4.2, libXCB 1.7; ubuntu 11.04, ..) Cleanup UITestCase helper, expose test class name via get*TestName() .. add property 'nativewindow.x11.mt-bug' to test script .. Fix NEWT GL ctx/offscreen (GPUMemSec..) tests: Use pbuffer (i.e. hw accel GL driver) main git source location if jogamp GLProfile: Initialization fix and clarifications ( GLExceptions on n/a profiles ) Fix SharedResource (SR) Initialization Fix 'main' invocation Add Documentation: OpenGL-Evolution-And-JOGL Fix UML size add url to opengl and khronos Use GlueGen Platform's OSType enum fix url: .com -> .org updated runtime properties (debug) doc added (c) header adapt to gluegen Platform change build: add linux/armv7 support ; only add resources once w/o java source gl header cfg: use __unix__ define, instead of all avail variations (linux, sun, ..) script: no need for custom linux-x86 on multilib platform test case GLWindow add linux/armv7 scripts [[cross] compile clean] NEW unit test, use bug 502 workaround property until fixed otherwise JOGL: Add GLBase::isGLES2Compatible() ES Native Libraries: Add missing GLDebugMessageHandler code .. JoglVersion: Add info whether shader-compiler exists or not NEWT ScreenModes: Add current ScreenMode if none could be collected. GLDrawableFactory::getFactoryImpl(): Only return the EGL factory if profile is native ES EGL: Query EGL_RENDERABLE_TYPE, store it in EGLGLCapabilities and test w/ GLProfile compatibility EGL: Collect all avail EGL caps w/o GLProfile preset ; Tolerate failing EGL.eglChooseConfig() ; Cosmetics GLProfile: Fix exception; Minor Changes EGL: Set CTX_PROFILE_ES2_COMPAT if ES2; Allow any native device; Don't use libGL.so; Cosmetics GLProfile usage getMinDesktop() -> getMinimum(); WGL/X11 GLCaps: make attributes final GLWindow::main(): show requested/chosen GLCaps FixedFuncUtil: Name/Fix getFixedFuncImpl() -> wrapFixedFuncEmul() ruler.fp: Use es2 precision for all variables, otherwise es2 glsl compiler fails Graph Shader: def. GRAPHP to easily change precision, set to mediump; Add precision for all vars. NativeWindow Capabilities: rgb -> 555, allows using low profile devices etc/profile.jogl: remove GL2ES12 config (impl. removed a long time ago) Add ES1 Gears (w/ NEWT startup) ES1 Gears: Don't force fixed function emulation Add crosstest script for linux/arm Add egl es test script for host (emu) TAB -> SPACE graph es2 glsl: #extension OES_standard_derivatives : require Fixed regression of commit 360b86f4b5d0e440863c1749fe990e39fbabc51c StateTracker: Map's KeyNotFound value -1 -> 0xffffffff... allowing unusual values. Impl -> final. VBO and Texture Names: Allos (int) < 0 - unusual valid names for some GL impl. Refine some DEBUG code (verbosity) AWTNewtEvent Mapping: Unmapped value -1 -> 0xffffffff NEWT test: rgb == 555 is ok GearsGL2ES1: Fix ES1 usage FRONT -> FRONT_AND_BACK ; Use GL2ES1 profile (no emul) Use GL2ES1 profile (no emul) - complete commit a7fcfad44545e7b3f7e2f4176349588dc26d9070 Cross Test linux/armv7 script: Use es1 and es2 classes test script cleanup Revert commit 96cbe03a943f3189531a7ec9baf680bdf1417929: Capabilities: default rgb 555 -> 888 ; Turns out such a default value change would cause too many regressions Cont. fix 'Allow VBO/Texture Name (int) < 0' Fix glDebugMessageInsert: Pass string length to native method instead of -1/0, avoid driver bug. AWT/X11 Reduce XQueryExtension 'hang' ; Impl. use XineramaIsActive() instead of XineramaQueryScreens() Enable EGL/ES1/ES2 detection/test on desktop (using mesa's libraries) GLContext Impl: Fix Platform 'GLX' ProcAddress Caching, allow multiple types GLProfile: Allow EGL besides desktop; Desktop factories restricted to desktop profiles Test Gears GL2ES1: Favor native ES1 if available. Cont. fix 'Allow VBO/Texture Name (int) < 0' Adapt latest gluegen changes for crossplatform. Proposal for multi touch Eclipse Classpath: Add android.jar Isolate android implementation details to newt/classes/jogamp/newt/opengl/android Hide NEWT AWT Event implementation details to jogamp.newt.awt.event Renamed jogamp.newt.opengl -> jogamp.newt.egl, properly reflecting EGL dependency, not OpenGL test: remove bug 502 workaround flag Add android src zip to eclipse classpath deployment resturcturing: combine nativewindow/jogl/newt ; newt: 'driver' separation ; android cleanup Complete Android cleanup (compile/apk launch) Add missing incl of gluegen's stdint (win32 failed) fix jogl.all-mobile.jar/jogl_mobile configuration due to JAR *all* merge, merge *-java-src.zip -> jogl-java-src.zip as well add/fix: cross/egl test scripts debug verbosity ; adaption of gluegen fix of DynamicLibraryBundle Android hacks: ClassLoaderUtil (vie Dex.., w/ native libs) ; Merged big jar ; eglGetDevice(0) fails EGL/Android: Favor driver's EGL/ES native library - Using Android's fails EGL Fix: Use config-id value, bug override it w/ renderable type Android: cosmetics incr. debug output (tests) Don't enable DebugGL/TraceGL with jogl.debug=all GLProfile / eager init: Use relaxed query, if context was created while initialize shared no GL_VERSION_X extensions for ES profiles pbuffer caps fix: offscreen -> false EGLDrawable.setRealized(true) - no update gfx-config if we already have proper EGL type. EGLPBuffer: remove 'ownEGLDisplay=true' (just wrong), add destroyImpl() reloc files: NEWT Android driver, demos OneTriangle Android: Add android/EGL lib for linkage set env TARGET_PLATFORM_LIBS (linux arm cross) Adapt to DynamicLibraryBundleInfo API change ; Remove non std EGL/ES libs (Android) debug: remove tracker from jogl.debug=all EGL Fixes ... Complete Android driver reloc (constructor) NEWT Android Display/Screen driver implementation Test OneTriangle generalization cleanup NEWT: Make AndroidNewtEventFactory public / accessible Android: Demo NewtVersionActivity Add AndroidWindow implementation Add touch event propagation to NEWT Enclose file IO access in priviledged block NEWT/Android: Add missing native code Android Cleanup: Remove EGL header & library (compile time) NEWT/Android Fix: Display/Screen/Window creation ; ScreenMode Change Android Cleanup: Remove commented code, make immutables final again NEWT/Android: Assisting NEWTBaseActivity to simplify NEWT/Android usage. Misc Rename/Reloc; GLArrayData*/PMVMatrix enhancments; Test fixes/adds (GearsES1/ES2) Add Dominik's ElektronenMultiplizierer (GL2ES2, NEWT) version Add missing GearsES2 NEWT test hook NewtVersionActivity: Remove 'gears' test; Version Info: Drop NativeWindow/Newt Version since we use *all* targets reloc test: demos.gl2.gears -> demos.gl2, etc win32 test scripts: use new *all* locations test scripts: use new demos.gl2 location Fix regression of commit 6c346d98f04e2355210960fe9ffde47432f04d62, where VBO/attribute binding wasn't updated (VBO data written, shader change/switch attribute on same location) ; Optimized interleaved GLSL VBO binding, hence split up GLArrayHandler syncData/enableState Fix regression of commit 6c346d98f04e2355210960fe9ffde47432f04d62, where GLDataArrayHandler throws an exception in cstr if not VBO, but VBO usage is determined later API Change GLArrayDataWrapper/GLArrayDataServer: Add vboTarget to wrapper cstr and add interleaved seg. test.sh .. Also tackles bug 510, only lookup global on Android. See gluegen commit 58469fd2343039c195a88d0b171ba9af2dce40be Fix Bug 500: gl.getGL4() fails even though the context is GL4 GLCapabilitiesImmutable: No need to extend WriteClonable explicitly, extended by super class Cleanup: Java Generics Use and Removed Unused Methods NEWT/ScreenMode: Fix Bug 456 - Reset to orig ScreenMode when exit (normal or ctrl-c) ; Generics Coding Update README.txt and REPOSITORIES.txt GLSL DataArray/Handler: Remove ShaderState state and pass it through: ShaderState.getShaderState(gl) minor: update script / vsync changes in test w/ 2 windows Workaround (Fix) for Bug 502: Multithreading issue w/ libX11 1.4.2 and libxcb 1.7 bug 20708 NEWT: Add comment in API doc ; Use more generics in impl. Proper classpath for all javah commands, using 'rootrel.build' JAWTWindow.getLocationOnScreen(): Add proper JAWT lockSurface() ; X11Util: use System.err ; TestParenting02AWT: use GearsES2 ShaderState Usage/Test: Add setShaderState(GL) for pre-use attachment to the GL context ; GLArrayDataClient-GLSL: Check if ShaderState is attached. Tests: Comment GLProfile.initSingleton(false), which is redundant / implicit. NEWT Window/WindowImpl: Add generics - addChild()/removeChild() return boolean, see Collection::add/remove Complete commit cb4e73183103c13d8bcf7c7667e1b9ea181e1f5f (sorry) Fix NEWT regression due to fix of bug 502, commit 9ed513e9a9616f6028084df4c650c8caf31ea49d SWT/AWT Test: Run AWT destruction on AWT-EDT, issue shell.close() before shell.dispose() Use GlueGen's setenv-build-jogl scripts from commit 4a75b64107e157ff1db3991cf89bf8d856ddc0e6 Cont w/ 5a7811ecd23a3ab1af62b243c82d362431793a57: test-x*.sh TestAWTTextRendererUseVertexArrayBug464: Run AWT destruction on AWT-EDT TestGLDebug*: Remove Thread.dumpStack() .. TestFocus01SwingAWTRobot: Run AWT destruction on AWT-EDT Test: Cleanup warnings; Add GLProfile.initSingleton(true) call for fluctuating NEWT tests UnitTest UI: SingletonInstance Lock at @BeforeClass - before all other sub-class calls UnitTests AWT: Remove GLProfile.initSingleton(true) and ensure AWT-dispose happens on AWT-EDT UnitTests NEWT: Place GLProfile.initSingleton(true) to @BeforeClass method, ensuring init after UI Lock Unit Tests: Remove redundant GLProfile.initSingleton(boolean) calls DynamicLibraryBundle*: Use generics for better spec - following gluegen commit cfb9e118e020707842e6b5136b07f5ab149540c1 Workaround for X11/ATI fglrx bug 515 - Multiple Display Connections NEWT/X11 Display: CloseDisplay in same order as creation (ATI); Adding DisplayRelease0; Using 'EDT' suffix for display arguments glXCreateContextAttribsARB: Use NIO for attributes X11OnscreenGLXDrawable: Mark dead GLX_WINDOW code dead NativeWindow X11 Error Handler: Even if quiet, print message on stderr. test script .. X11Util.createDisplay() -> X11Util.openDisplay(): Better name match to XOpenDisplay/XCloseDisplay revert: a7340fd941b26d633c438cb5adb22f2c30a5cff0 Tests: Exchange GL2, ES1 GLEventListener to ES2 - mobile test preparation. Test: Add RedSquare ES1 and ES2 standalone tests Test Gears: Use proper 'java' author tag Test ElektronenMultiplizierer: Add original author information, split GLEventListener/Test, .. GLSL ShaderState: verbose = DEBUG ? true : false NEWT/X11 Bug 502 regressions: WM_DELETE_ATOM, .. etc couldn't be catched, etc. test script NEWT/X11/Fullscreen: Fix Leaving FullScreen TestScreenMode01NEWT: Validate window size after FS toggle Test ElektronenMultiplizierer: Unix coding of shader source (failed on Windows/NV) Test PIXMAP/BITMAP: Can't expect GL2/ES2 - might be SW OpenGL Test TestBug463ScaleImageMemoryAWT: Use UI Locking and AWT-EDT create/dispose test scripts .. GLArrayDataWrapper: Allow vboTarget '0' -> no VBO Fix NEWT/Window/Windows: setSize/setPosition/reconfigure: 'nop size' -1x-1 -> 0x0 Gears/RedSquare ES1/ES2: Add proper destroy/init lifecycle incl. assertion checks; Use swapInterval ; RedSquareES2 use VBO Test GLSLSimpleProgram: Add proper destroy .. TestParenting02NEWT: Don't move parent window -> lots of WM fighting / flickering Test Gears ES1/ES2: Fix lifecycle check (shared gears) Test Gears ES1/ES2: Fix shared destruction Add GL Version 4.2 in GLContext Query - Add verification via glGetIntegerv(GL_MAJOR_VERSION|GL_MINOR_VERSION) NEWT: Respect 'setUndecorated(true)' before native creation (ie. startup w/ undecorated window) NEWT Window: Implicit setUndecorated(true) if Capabilities !isBackgroundOpaque() NativeWindow/X11: Add XVisualInfo.Visual opaque long access ; Add XRenderFindVisualFormat for translucent window config Fix XRenderFindVisualFormat return capacity (commit dcb0cc571298be90d0db7ad00fef835fe5fdc46d) NativeWindow X11: Add DSO Xrender dependency JOGL/X11GLXGraphicsConfiguration: Query opaque/transparent by XRender 'alphaMask' cfg Revert commit 8dc31bcaa3ee3a2407d1960ab42d094cac642876: Implicit setUndecorated(true) if Capabilities !isBackgroundOpaque(). The original manual logic allows better control Complete translucency support (core w/ X11 (only) - tested w/ NEWT) test script .. NativeWindow/JOGL: Cleanup Caps doc and implicit related values. Complete translucency support for Win32 - tested w/ NEWT Test Multisample/Translucency: Remove implicit alpha settings WindowsDWM: Check all methods for availability - Cleanup header Remove prev. Insets impl NativeWindow: Add new Insets/InsetsImmutable Unify Immutable/WriteCloneable Usage ; Remove Clonable for ImmutableOnly types NativeWindow/NEWT: Refine Insets definition for size and position, read and write access NativeWindow/NEWT: Cont. refinement of Insets usage NEWT/Window/Insets: Implement proper Inset usage ; Cleanup WindowImpl::reconfigureWindowImpl test scripts _NET_FRAME_EXTENTS: Remove annoying Warning message. 1 Compiler warning NEWT/ScreenMode: Remove Cloneable on Immutable .. makes no sense NEWT/X11Screen::setCurrentScreenMode: Use device's 'user' Display connection instead of on-the-fly temp one NEWT: Sync User-Lifecycle X11Util/Display Lifecycle: Reuse pending (unclosable) Display connections Fix test case for commit 68f5a97ef165a39769040e36114c572c7d0f1abd Test ScreenMode: Minor changes - less wait/timing NEWT Cleanup: Remove DEBUG_WINDOW_EVENT, .. NEWT/X11Window: Remove unused 'windowReparented()' callback; Remove redundant DBG_PRINT on _NET_FRAME_EXTENTS NEWT/WindowsWindow: call sizeChanged() if invisible as well NEWT/ScreenMode: setCurrentScreenMode() shall only act if new mode differs; On X11 use Thread.sleep(), more cooperative. NEWT/Window: Cleanup Actions: Reparenting, Fullscreen and Decoration GLWindows Lifecycle Destroy: Don't remove itself from animator-ctrl - recreation is possible NewtCanvasAWT: setNEWTChild() shall not be public - removeNotify shall not make NEWT child invisible (?) ScreenImpl: Debug - drop stack dump Fix commit e1ecd85a9d5877861cde35baababb298d1339898 - send resize event on ScreenMode Change test scripts Fix commit e1ecd85a9d5877861cde35baababb298d1339898 - send resize event Revert 98f9eef8279680a7fbd3fccb5840381faf1d5c01: removeNotify makes NEWT child invisible again Minor edits/cleanup: unused var, final Destruction of GLAutoDrawable shall not remove them from AnimatorControl (due to recreation) ; NEWT/Window: Remove isValid() API entry - always true! Minor edits, dead code, test invocation NEWT/ScreenMode: X11 fixes ; Ensure Screen's size is set if screenMode changed ; Enhanced tests; Catch NV/XRANDR/GL bug Add 'older' NEW UI Requirements List - 2010-06-01 JOGL: Make GLProfile shutdown()/initSingleton() functional, ie. proper recreation of all resources X11Util: Catch X11 Error on XCloseDisplay *GLContext: resetStates(); getPlatformExtensionsString(); GLX/WGL NV_swap_group support; setSwapInterval(); NEWT: Window default pos ; FullScreen test scripts disable test of NV swap group - but add explicit test case (disabled) for documentation purposes NEWT/Window: CreateWindow - Wait for user req. position: Fix about window-decoration/insets size Fix VersionApplet package name Promote jogl.test.jar to build/jar New FHS: jars in jar/ Unify applet/application version test files: add jogl prefix Fix atomic JNLP files Fix all jnlp files Use native atomic jar's in jogl atomic jnlps Don't generate android.jar pre default, incl atomic jar/jnlp in 7z New FHS: using jogamp-current jogl test.compile post one.dir, before zip archive HowToBuild += libXrender-devel Remove duplicates in jogl.test.jar, jogl.util.jar, jogl.util.fixedfuncemu.jar Relocated VersionApplet Minor edits: generics, test script Fix X11/Translucency (NV): Don't enable GLX.GLX_TRANSPARENT_TYPE; Always chooseConfig if translucent NEWT setAlwaysOnTop(): Allow windows to stay permanent on top; TODO: X11/Windows NEWT setAlwaysOnTop(): X11 impl. / fix setFullscreen(false), child-win bug ant build: don't delete jar/lib on 'one.dir', but 'clean' only NEWT/WindowImpl: Allow fullscreen at window creation NEWT X11/Windows: Fix AlwaysOnTop (startup and change) NEWT (Manual) Test Case: Add fullscreen and alwaysOnTop at window creation Add JOGL/NEWT Applet Runner; Add JOGL Applet Tests; Rename applet test version JOGLNewtAppletBase: Use proper context ClassLoader; Add ElektronenMultiplizierer (NEWT Applet Runner) Graph Demos: Make GLEvenListener 'standalone'; UIScene to common package; Cleanup Graph Fonts: Decorate w/ PrivilegedAction if required JOGLNewtApplet1Run: Add gl_alpha, gl_multisamplebuffer and gl_nodefaultkeylistener ; Cleanup jogl test applets: Add Graph Tests test script NewtCanvasAWT: Minor edits, prefer requestFocusInWindow() in requestFocusAWTParent() NEWT/Reparenting: Give Composite WM some slack, sleep(100); Minor edits/fixes NEWT/X11: Fix ABOVE handling, notify Java on reparentNotify, cleanup of setFullscreenEWMH test scripts NEWT/Reparent: Make new local position/size persitent if not promoted natively (invisible or recreation) Fix AWT Test Cases: Use AWT-EDT for modifying visible frame and call validate() afterwards NEWT Window: Allow positionChanged(..) notification for child windows Test NEWT Parenting: Incr. test duration to 600ms (new state poll of reparenting may take ~400ms) test scripts waitForPosSize/createWindow: exclude 0/0, at creation wait for size as well minor edits NEWT Cleanup: AWT driver fix, WindowImpl createNative .., minor edits NEWT/WindowImpl: Remove wait for position (keep waitForSize for reparent/fullscreen) test scripts Wade Walker (5): Remove platform-specific JAR from Eclipse classpath. Fix NPE caused by refactoring on 2/26/2011. Make jogl builder order match gluegen builder order. Fix problem with external context on CentOS 5.5 inside VMWare Fix classpaths to work with Java 7's javah