summaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
* Added two simple SWT unit tests.Wade Walker2011-02-0238-0/+8311
| | | | | | | | Added a test that draws one triangle, using both the SWT canvas and the AWT canvas with the SWT_AWT bridge. Also added the SWT JARs for each platform to make/lib (since that's where antlr.jar and junit.jar were stored). Modified the make files to build and run the new tests.
* X11 DummyWindow: Pass size and set size in proxySven Gothel2010-12-041-1/+1
|
* JOGL: Proper handling of Read Drawable Support (if not supported), add query.Sven Gothel2010-11-284-7/+8
| | | | | | | | | | | | | | | | | | | Read Drawable feature reflects the make context current API having a seperate read drawable next to the write drawable (default). glXMakeContextCurrent(write, read, ..) On X11 a ready drawable is only supported for GLX >= 1.3, on Windows only if extension WGL_ARB_make_current_read is available, on EGL it's always supported, on OSX not at all. API cleanup GLContext: changes: setGLDrawableRead(GLDrawable) -> setGLReadDrawable(GLDrawable) new: isGLReadDrawableAvailable() new: getGLExtensionsString(); Access qualifier cleanup. GLContextImpl: GLVersionNumber moved out.
* Javadoc developer level must be 1.5 due to gluegen compile time pluginSven Gothel2010-11-271-1/+1
|
* GLCanvas: Fix disableBackgroundErase/X11, make drawable creation more ↵Sven Gothel2010-11-272-9/+11
| | | | | | | | | | | | | | | | robust, doc Java2D/AWT properties. On X11 disableBackgroundErase() must happen before native peer creation, this patch issues it before and after super.addNotify(). Make drawable creation more robust, ie only create a drawable in case the size is > 0x0 and do this check/create at display/paint in case size it not yet determined. Add documentation about Java2D/AWT properties impact on GLCanvas. Make JUnit tests on AWT/GLProfile's more robust, while adding frame validate() ensuring 1st paint will have a size, hence will create the drawable. This is necessary for eg. AMD GPU's and GL context > 3.
* Reduce the use of xml brackets to reduce potential hudson/junit xml parser ↵Sven Gothel2010-11-251-1/+1
| | | | exceptions
* Refined VersionInfo usageSven Gothel2010-11-251-8/+16
|
* NativeWindow/GDI: Adding ERROR_SUCCESS to make the code more clear.Sven Gothel2010-11-251-1/+2
|
* test scripts: add new AWT recreation testSven Gothel2010-11-252-2/+5
|
* AnimatorBase: add()/remove() - decorate change of drawables with ↵Sven Gothel2010-11-231-3/+3
| | | | pause()/resume() so it becomes a non critical to multithreading, hence display() or state change needs to be synced
* Add GLJPanel test (works better in jogl-demos though, need to copy)Sven Gothel2010-11-232-4/+6
|
* Manifest: Add URLSven Gothel2010-11-236-0/+6
|
* Fix TestTransformFeedbackVaryingsBug407NEWT GLContext makeCurrent race conditionSven Gothel2010-11-231-2/+2
|
* Fix TestTransformFeedbackVaryingsBug407NEWT GLContext makeCurrent race conditionSven Gothel2010-11-231-2/+2
|
* Scripts: bump to 6u22; distinguish windows test batch x64/x32Sven Gothel2010-11-239-18/+55
|
* NativeWindow/Windows: Fix CreateDummyWindow gluegen and usageSven Gothel2010-11-226-12/+21
| | | | NativeWindow+JOGL/Windows: Complete Opaque types
* NativeWindow: Fix XSynchronize gluegenSven Gothel2010-11-221-1/+1
|
* JOGL/NEWT: Animator fixesSven Gothel2010-11-211-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consider use cases with many drawables and no drawables at start, this had to be reflected all over this patch set, implementation, usage and test cases. - GLAnimatorControl - refine API doc / states - add 'void remove(GLAutoDrawable drawable);' - Animator*: - using RecursiveLock 'stateSync' for all actions out of the big synchronized (animator) block: - get status methods (thread, isPaused, ..), hence no more synchronized - display drawables change, utilizing synced ArrayList swap This removes the need for volatiles usage shouldPause/shouldStop within the display method. - added blocking wait for state change for add(GLAutoDrawable)/remove(GLAutoDrawable) method - remove flawed double checked locking in anim thread (pause/idle condition) - thread is now a daemon thread, hence it won't hinder the JVM from shutdown - - Animator use change: - Always resume after pause, except in case of final destroy -> NEWT invalidate / GLCanvas, this considers use cases with many drawables and no drawables at start. - GLDrawableHelper: Don't pause at implicit dispose()
* Fix bug#414, missing back conversion (using gluegen ↵Sven Gothel2010-11-191-3/+30
| | | | 992dcea3e94eead998942127a137cccd0882fe97)
* JOGL/AWT: Fix ~ 2 year old regressions: Choose & Use GraphicsConfiguration ↵Sven Gothel2010-11-184-5/+9
| | | | | | | | | | | | | | for Canvas. ; Adding FSAA test. Canvas/X11: The Canvas GraphicsConfiguraton should be chosen before the native peer is being created. Choosing AWT GraphicsConfiguration (all platforms): Don't filter our capabilities with 'AWTGraphicsConfiguration.setupCapabilitiesRGBABits(capsChosen, gc)', not necessary (see above) and it would remove ourrequired alpha channel. Canvas display(): Don't render if drawable is not realized (yet).
* Finishing Immutable changes including GLCapabiltiesImmutable.Sven Gothel2010-11-171-1/+2
|
* Moving NEWT X11Window GetRelativeLocation() native implementation to ↵Sven Gothel2010-11-172-1/+6
| | | | NativeWindow X11.
* Move GDI GlueGen wrapping from JOGL -> NativeWindow (following X11). Moving ↵Sven Gothel2010-11-1710-88/+109
| | | | NEWT WindowsWindow GetRelativeLocation() native implementation to GDI as well.
* NEWT Lifecycle remodel: Window destroy() !Sven Gothel2010-11-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | NEWT's removed: Window: destoy(boolean unrecoverable) Display/Screen: get/set DestroyWhenUnused(boolean) We behave as follows: - Window.destroy() always decr Screen's reference counter, which issues destruction when reached zero. Then Screen does the same for Display .. - Window.destroy() keeps alive all references, hence it can be always recreated via setVisible(true). - Window.destroy() ensures Display's EDT is stopped if display is destroyed. - Window.invalidate() actually removes all Object reference, hence it cannot be recreated or used after it. This method exist to support a way to cleanup memory, GC. All test passed on Linux/X11 and Windows
* Add javadoc target 'javadoc.nw.spec.zip' to test without using up to much ↵Sven Gothel2010-11-161-1/+3
| | | | resources
* Use common javadoc file structure 'javadoc/<module>/<javadoc-type>' and zip ↵Sven Gothel2010-11-161-90/+128
| | | | all <module>/** to javadoc.zip. This shall be done for all jogamp modules
* Javadoc: Adding packages containing JogampVersion derivations; DevDoc: Add ↵Sven Gothel2010-11-161-2/+2
| | | | | | | | | | | jogl/gluegen packages com.jogamp.opengl com.jogamp.nativewindow developer javadoc: com.jogamp.gluegen.opengl com.jogamp.gluegen.runtime.opengl
* JOGL javadoc: Link offline relative URL (buggy) -> Link online relative URLSven Gothel2010-11-161-11/+41
|
* Javadoc URL: Use rel. gluegen URL utilizing jogamp-next/javadoc/<module>/javadocSven Gothel2010-11-151-2/+3
|
* Fix javadoc offline link rel. package-list location in gluegen, use passed ↵Sven Gothel2010-11-151-8/+8
| | | | 'gluegen.root'
* remove redundant semicolon in gluegen Cg cfg fileSven Gothel2010-11-151-3/+3
|
* Stub POM to resolve buld-time dependenciesEvgeniy Tsvigun2010-11-151-0/+57
|
* NEWT: Cleanup reparent (window resize/display) ; AWT Focus Tests: Bring back ↵Sven Gothel2010-11-151-1/+1
| | | | AWT wait period.
* NEWT: Make setVisible/reparentWindow return status more reliable ↵Sven Gothel2010-11-151-3/+3
| | | | | | | (visibility, displayed) Ensure that at least one frame has been rendered after returning from the functions. This removes the hack of polling a while for a rendered frame.
* JOGL: Complete eager and lazy mapping of GLProfiles in respect to multiple ↵Sven Gothel2010-11-144-6/+22
| | | | | | | | | | | | | | device. AbstractGraphicsDevice's 'connection' and 'type' attribute is used as a unique key to map GLProfiles and GLContext's major/profile -> major/minor/profile mapping. Eager initialiaztion as well as lazy is supported to maintain a simple API. This is currently tested on X11, where one app display NEWT/GL window and content on the local and remote device. See TestRemoteWindow01NEWT.java and TestRemoteGLWindows01NEWT.java
* Adding *Version to sub packagesSven Gothel2010-11-143-2/+4
|
* updated runtime-properties.txt docSven Gothel2010-11-131-2/+5
|
* Use GlueGen VersionUtil to dump full Manifest versionSven Gothel2010-11-107-13/+13
|
* Added 'jogl.build.id' (hudson timestamp), 'jogl.build.commit' (git commit ↵Sven Gothel2010-11-1018-239/+95
| | | | sha1) and 'jogl.build.branch' (git branch) to the JARs Manifest files, artifact.properties and deployment README.txt ; Fixed some URLs and text ; Removed the notion of RI and non RI versions, since from now on we reference a release version via: module-base-version, git sha1 and hudson build number
* JavaDoc: Use GlueGen offline link, javadoc_public -> javadocSven Gothel2010-11-093-15/+20
|
* Added proper Khronos license tag (found it)Sven Gothel2010-11-092-135/+23
|
* Archive: New common zip archive folder structure. Drop source archive, use gitSven Gothel2010-11-094-38/+14
|
* Relocated some deployment script to jogamp-scripting repoSven Gothel2010-11-0910-532/+0
|
* Fix double declarationSven Gothel2010-11-081-4/+0
|
* archive script: use jogl-demos from masterSven Gothel2010-11-081-9/+9
|
* Move win32 RECT structure to windows.hSven Gothel2010-11-083-14/+8
|
* Changed files wingdi.h/winwgl.h with content from w64 mingw-runtime ↵Sven Gothel2010-11-083-94/+99
| | | | package's mingw64/x86_64-w64-mingw32/include/wingdi.h (Public Domain) ; Fix wglext.h RECT
* Reformated license tag; Added Khronos licenseSven Gothel2010-11-081-0/+23
|
* Add gluegen stdarg.h and inttypes.hSven Gothel2010-11-072-0/+14
|
* Fix CG header, according to PCPP fixSven Gothel2010-11-073-12/+11
|