Jogamp
jogl.git
6 years agoFix SharedResource (SR) Initialization v2.0-rc2-maintenance
Sven Gothel [Thu, 7 Jul 2011 01:41:25 +0000 (03:41 +0200)]
Fix SharedResource (SR) Initialization

- Catch exceptions in SR thread avoiding deadlock in blocking caller thread

- Catch NPE on SR queries to return null if appropriate

6 years agoGLProfile: Initialization fix and clarifications ( GLExceptions on n/a profiles )
Sven Gothel [Thu, 7 Jul 2011 01:49:06 +0000 (03:49 +0200)]
GLProfile: Initialization fix and clarifications ( GLExceptions on n/a profiles )
    - Backport of master: 29cc5fa0375026c09bcbfed16627fe9eb6c97846

    - GLProfile.initSingleton(boolean) (implicit or explicit) won't
      throw any exception anymore. Followup 'GLProfile GLProfile.get(..)'
      calls will throw a GLException, if n/a.
      Availability maybe queried via GLProfile.isAvailable(..).

    - GLCapabilties, GLCanvas, GLJPanel: Clarify case where GLException maybe thrown,
      i.e. no default GLProfile available on default device.

    - Remove redundant GLProfile.is<ProfileName>Available(..)

6 years agoMerge remote-tracking branch 'remotes/mbien/master' v2.0-rc2
Sven Gothel [Wed, 2 Mar 2011 19:52:40 +0000 (20:52 +0100)]
Merge remote-tracking branch 'remotes/mbien/master'

6 years agoFix public javadoc (add all com.jogamp.* packages)
Sven Gothel [Tue, 1 Mar 2011 02:14:31 +0000 (03:14 +0100)]
Fix public javadoc (add all com.jogamp.* packages)

6 years agotests for native SWT
Sven Gothel [Tue, 1 Mar 2011 02:05:52 +0000 (03:05 +0100)]
tests for native SWT

6 years agoTolerate pending/lazy native context creation at 1st makeCurrent (OSX).
Sven Gothel [Tue, 1 Mar 2011 02:05:12 +0000 (03:05 +0100)]
Tolerate pending/lazy native context creation at 1st makeCurrent (OSX).
This allows SWT on OSX to work properly.

6 years agoJOGL OSX: Cleanup imports/override
Sven Gothel [Tue, 1 Mar 2011 02:04:14 +0000 (03:04 +0100)]
JOGL OSX: Cleanup imports/override

6 years agoFix TestSharedContextListAWT: Use in-thread simple frame construction, which somehow...
Sven Gothel [Tue, 1 Mar 2011 01:11:59 +0000 (02:11 +0100)]
Fix TestSharedContextListAWT: Use in-thread simple frame construction, which somehow solves the problem on Windows having no height

6 years agoSWTAccessor: Attempt to receive the OSX cocoa NSView handle/id
Sven Gothel [Tue, 1 Mar 2011 00:13:23 +0000 (01:13 +0100)]
SWTAccessor: Attempt to receive the OSX cocoa NSView handle/id

6 years agoAdd junit.run.awt.singletest target for cmdline verification
Sven Gothel [Mon, 28 Feb 2011 23:38:36 +0000 (00:38 +0100)]
Add junit.run.awt.singletest target for cmdline verification

6 years agoCleanup (private access for inner classes)
Sven Gothel [Mon, 28 Feb 2011 22:59:16 +0000 (23:59 +0100)]
Cleanup (private access for inner classes)

Partially revert commit 5681c25cfd4c7abce7d653910c9aa7a4e989057e

- revert all window feature (visible, fullscreen, ..) runOnEDT calls to wait:=true,
  it turns out we loose stability and predictable behavior otherwise.

- a user must ensure no calling these modifier methods from a locked window state,
  as documented (and changed) in commit 481285c3d19d0a4c019cffc72b7a8b58296b748e

6 years agoAnimator: Cleanup and better DEBUG info
Sven Gothel [Mon, 28 Feb 2011 22:55:04 +0000 (23:55 +0100)]
Animator: Cleanup and better DEBUG info

6 years agofix test - dont use GLAutoDrawable.invoke(boolean wait, GLRunnable glRunnable)
Sven Gothel [Mon, 28 Feb 2011 22:54:33 +0000 (23:54 +0100)]
fix test - dont use GLAutoDrawable.invoke(boolean wait, GLRunnable glRunnable)
for window locking calls, ie window changes. The GLRunnable list is executed while window is locked.

6 years agounit tests: Gears, TestGearsNEWT, WindowImplAccess
Sven Gothel [Mon, 28 Feb 2011 18:49:12 +0000 (19:49 +0100)]
unit tests: Gears, TestGearsNEWT, WindowImplAccess

Gears (add cursor rotation)

TestGearsNEWT (add decoraction toggle 'd')

WindowImplAccess NEWT Closing tests .. programmatical close on EDT,
which simulates 1:1 native closing operation.

6 years agoNEWT WindowImpl EDT fixes
Sven Gothel [Mon, 28 Feb 2011 18:47:10 +0000 (19:47 +0100)]
NEWT WindowImpl EDT fixes

- all features intended to run on EDT and lock the surface shall only allowed to wait for result,
  if the surface is unlocked. Otherwise don't wait - ie a pending operation.

- proper sequence of all feature Runnables, ie include pre/post lock actions in Runnable,
  since it might be a pending task (see above).

This shall avoid deadlocks cause by user code where features are called (visible, fullscreen, ..)
when invoked within a locked surface code path - ie GLAutoDrawable.invoke(boolean wait, GLRunnable glRunnable).

6 years agoNEWT EDT: Fix dbl-chk-locking, runOnEDT fast-path, enqueEvent dispatch immed. if...
Sven Gothel [Mon, 28 Feb 2011 18:37:52 +0000 (19:37 +0100)]
NEWT EDT: Fix dbl-chk-locking, runOnEDT fast-path, enqueEvent dispatch immed. if on EDT

6 years agoSWTAccessor: Fix type casting int/long - better long usage determination
Sven Gothel [Mon, 28 Feb 2011 05:48:10 +0000 (06:48 +0100)]
SWTAccessor: Fix type casting int/long - better long usage determination

6 years agoNEWT: enqueueEvent(wait, ..) can't wait if on EDT. Solves UI close, etc
Sven Gothel [Mon, 28 Feb 2011 04:44:28 +0000 (05:44 +0100)]
NEWT: enqueueEvent(wait, ..) can't wait if on EDT. Solves UI close, etc

6 years agoRemove TestSWT01GLn hacking, see TestSWT02GLn
Sven Gothel [Mon, 28 Feb 2011 04:27:24 +0000 (05:27 +0100)]
Remove TestSWT01GLn hacking, see TestSWT02GLn

6 years agoSWT/JOGL: Native SWT binding test
Sven Gothel [Mon, 28 Feb 2011 04:24:40 +0000 (05:24 +0100)]
SWT/JOGL: Native SWT binding test

6 years agoSWTAccessor: Add new SWT reflections for native window handle and display/device.
Sven Gothel [Mon, 28 Feb 2011 04:23:43 +0000 (05:23 +0100)]
SWTAccessor: Add new SWT reflections for native window handle and display/device.
Currently implemented platforms: X11(gdk/gtk) and Windows, both 32bit and 64bit.

6 years agoJOGL GLDrawableFactory: Expose experimental method createProxySurface(..) for new...
Sven Gothel [Mon, 28 Feb 2011 04:22:24 +0000 (05:22 +0100)]
JOGL GLDrawableFactory: Expose experimental method createProxySurface(..) for new windowing system ad-hoc development.
WARNING: This method may change ro be removed over time!

6 years agoX11Util DisplayName: Respect DEFAULT_CONNECTION string
Sven Gothel [Mon, 28 Feb 2011 04:19:44 +0000 (05:19 +0100)]
X11Util DisplayName: Respect DEFAULT_CONNECTION string

6 years agoadded GL reference pages crawler script for automatic native-taglet.properties genera...
Michael Bien [Mon, 28 Feb 2011 02:07:14 +0000 (03:07 +0100)]
added GL reference pages crawler script for automatic native-taglet.properties generation.

6 years agoAttempt to analyze failed AWT UI tests, where no paint is being issued to GLCanvas.
Sven Gothel [Sat, 26 Feb 2011 21:43:10 +0000 (22:43 +0100)]
Attempt to analyze failed AWT UI tests, where no paint is being issued to GLCanvas.

6 years agoCode cleanup: override, imports, StringBuilder, ..
Sven Gothel [Sat, 26 Feb 2011 21:41:04 +0000 (22:41 +0100)]
Code cleanup: override, imports, StringBuilder, ..

6 years agoClean/Fix: Threading Code
Sven Gothel [Sat, 26 Feb 2011 20:43:20 +0000 (21:43 +0100)]
Clean/Fix: Threading Code

- Remove unsafe double checked locking
- Annotate safe double checked locking (volatile)
- use 'static final' if possible

6 years agochanges due to code cleanup in gluegen.
Michael Bien [Sat, 26 Feb 2011 17:03:48 +0000 (18:03 +0100)]
changes due to code cleanup in gluegen.
     - StringBuffer -> StringBuilder
     - ReflectionUtil.getBaseName -> class.getSimpleName()
     - cleanup imports, generics and @Override for all touched classes

6 years agoGLProfile: More Tolerant for missing features; MacOSX: Fix External Context / SWT...
Sven Gothel [Sat, 26 Feb 2011 06:35:24 +0000 (07:35 +0100)]
GLProfile: More Tolerant for missing features; MacOSX: Fix External Context / SWT; SWT Test: Distinguish awt/headless and main-thread (osx) swt launch

6 years agoRemove reference to the deprecated option noCDC (2)
Sylvestre Ledru [Fri, 25 Feb 2011 05:15:27 +0000 (06:15 +0100)]
Remove reference to the deprecated option noCDC (2)

6 years agoRemove reference to the deprecated option noCDC (2)
Sven Gothel [Fri, 25 Feb 2011 05:06:14 +0000 (06:06 +0100)]
Remove reference to the deprecated option noCDC (2)

6 years agoRemove reference to the deprecated option noCDC
Sylvestre Ledru [Tue, 22 Feb 2011 16:13:21 +0000 (17:13 +0100)]
Remove reference to the deprecated option noCDC

6 years agoAvoid NPE (pairs with 6188d6a385056adade49fcb6d8247f94f96d402e)
Sven Gothel [Fri, 25 Feb 2011 04:52:05 +0000 (05:52 +0100)]
Avoid NPE (pairs with 6188d6a385056adade49fcb6d8247f94f96d402e)

6 years agoFix bug 473: Override on implementations with 1.5
Andy Brown [Mon, 14 Feb 2011 23:02:49 +0000 (07:02 +0800)]
Fix bug 473: Override on implementations with 1.5

Using @Override on implementations of interface methods wasn't
introduced until Java 1.6.  After changing the compliance level to
1.5 in Eclipse, it reports 23 errors.

This fix comments out the annotations rather than deleting them
altogether thinking it may be easier if JOGL ever targets 1.6
in the future.

6 years agoMerge remote-tracking branch 'wwalker/2010_02_18_Eclipse_build_improvements'
Sven Gothel [Fri, 25 Feb 2011 03:58:06 +0000 (04:58 +0100)]
Merge remote-tracking branch 'wwalker/2010_02_18_Eclipse_build_improvements'

6 years agoAvoid NPE, incr. test poll, ..
Sven Gothel [Fri, 25 Feb 2011 03:37:58 +0000 (04:37 +0100)]
Avoid NPE, incr. test poll, ..

6 years agogluegen-archivetasks.xml -> jogamp-archivetasks.xml
Sven Gothel [Wed, 23 Feb 2011 23:12:10 +0000 (00:12 +0100)]
gluegen-archivetasks.xml -> jogamp-archivetasks.xml

6 years agoAdapt changes of jogamp-env.xml
Sven Gothel [Wed, 23 Feb 2011 19:00:53 +0000 (20:00 +0100)]
Adapt changes of jogamp-env.xml

6 years agoInverse build attribute build.noarchive -> build.archiveon
Sven Gothel [Wed, 23 Feb 2011 14:13:56 +0000 (15:13 +0100)]
Inverse build attribute build.noarchive -> build.archiveon

6 years agoUsing 7z instead of zip
Sven Gothel [Wed, 23 Feb 2011 03:58:38 +0000 (04:58 +0100)]
Using 7z instead of zip

6 years agoUse NODE_NAME env var to determine test archive
Sven Gothel [Wed, 23 Feb 2011 01:47:33 +0000 (02:47 +0100)]
Use NODE_NAME env var to determine test archive

6 years agoExcluded javadoc.dev from javadoc.all; Fixed javadoc.dev (incl jogamp.* packages)
Sven Gothel [Tue, 22 Feb 2011 16:19:37 +0000 (17:19 +0100)]
Excluded javadoc.dev from javadoc.all; Fixed javadoc.dev (incl jogamp.* packages)

6 years agoNativeWindow NativeSurface lock/unlock Surface cleanup ; NEWT WindowImpl lock/unlock...
Sven Gothel [Tue, 22 Feb 2011 13:21:29 +0000 (14:21 +0100)]
NativeWindow NativeSurface lock/unlock Surface cleanup ; NEWT WindowImpl lock/unlock Surface fix

- Rename lock to surfaceLock to determine it's use

- NEWT's WindowImpl windowLock usage is not sufficient for lock/unlock surface.
  Using distinguished surfaceLock for proper recursion count on lock/unlock surface.

6 years agomisc cleanup (import,script attributes)
Sven Gothel [Tue, 22 Feb 2011 08:49:07 +0000 (09:49 +0100)]
misc cleanup (import,script attributes)

6 years agoWindowsExternalWGLContext: Tolerate invalid/released hdc (swt, winxp-32bit)
Sven Gothel [Tue, 22 Feb 2011 08:48:37 +0000 (09:48 +0100)]
WindowsExternalWGLContext: Tolerate invalid/released hdc (swt, winxp-32bit)

6 years agoNativeWindow/SWT: Rename SWTMisc -> SWTAccessor; Add to nativewindow.core.jar
Sven Gothel [Tue, 22 Feb 2011 07:51:09 +0000 (08:51 +0100)]
NativeWindow/SWT: Rename SWTMisc -> SWTAccessor; Add to nativewindow.core.jar

6 years agoNativeWindow/SWT: Add SWTMisc utility allowing platform independent access
Sven Gothel [Tue, 22 Feb 2011 06:47:53 +0000 (07:47 +0100)]
NativeWindow/SWT: Add SWTMisc utility allowing platform independent access

6 years agoJOGL/X11/AWT: No more need for seperate X11 Display instance if available
Sven Gothel [Tue, 22 Feb 2011 06:45:49 +0000 (07:45 +0100)]
JOGL/X11/AWT: No more need for seperate X11 Display instance if available

6 years agoCleanup NEWT MainThread, using new AWTEDTUtil impl. / Sync AWTCanvas with GLCanvas...
Sven Gothel [Tue, 22 Feb 2011 06:44:41 +0000 (07:44 +0100)]
Cleanup NEWT MainThread, using new AWTEDTUtil impl. / Sync AWTCanvas with GLCanvas changes

Cleanup NEWT MainThread, using new AWTEDTUtil impl.
- Allow simple singleton AWTEDTUtil to be used for AWTDisplay and more ..

Sync AWTCanvas with GLCanvas changes
- Latest GLCanvas changes around addNotify() had to be synced

6 years agobump scripts to 6u24
Sven Gothel [Tue, 22 Feb 2011 06:41:52 +0000 (07:41 +0100)]
bump scripts to 6u24

6 years agoNativeWindow ProxySurface Abstraction and lock/unlock Surface cleanup
Sven Gothel [Tue, 22 Feb 2011 06:40:23 +0000 (07:40 +0100)]
NativeWindow ProxySurface Abstraction and lock/unlock Surface cleanup

- ProxySurface -> abstract javax.media.nativewindow.ProxySurface,
  implemented by
    jogamp.nativewindow.WrappedSurface, just wrapping surface handle
    jogamp.nativewindow.windows.GDISurface, using HWND and get/release HDC on lock/unlock

- Unifying NativeSurface's lockSurface/unlockSurface implementations
    - NEWT's WindowImpl
    - NativeWindow's ProxySurface, WrappedWindow, GDIWindow and JAWTWindow

- wingdi/GDI: Add 'WindowFromDC' and 'GetClientRect' to GDI

6 years agoAdd new all.ide target for use in Eclipse, NetBeans, and IntelliJ
Wade Walker [Thu, 17 Feb 2011 17:20:39 +0000 (11:20 -0600)]
Add new all.ide target for use in Eclipse, NetBeans, and IntelliJ

The new target just omits final JAR creation and file copying for
extra speed within an IDE. We also change where Eclipse looks for
the native libraries, since this new target doesn't copy them
to jogl/build/lib.

6 years agoPrevent native libraries from always rebuilding and stripping
Wade Walker [Thu, 17 Feb 2011 15:29:40 +0000 (09:29 -0600)]
Prevent native libraries from always rebuilding and stripping

The cc task will always re-link, even if no source files are built.
This commit wraps an uptodate task around cc to prevent this, so
the libraries will only be rebuilt now if a source file changes.

This commit also moves library symbol stripping into the same
uptodate task, so it only happens if a library is built (previously
the libraries were always stripped).

6 years agoFix path to FixedFuncHook.class.
Wade Walker [Wed, 16 Feb 2011 20:56:53 +0000 (14:56 -0600)]
Fix path to FixedFuncHook.class.

The path to FixedFuncHook.class didn't get changed in the recent
package move, which made the dependency checking wrong in
the java.generate.composable.pipeline.custom.check.glfixfunc
target.

6 years agoMake Eclipse build correctly
Wade Walker [Wed, 16 Feb 2011 17:33:20 +0000 (11:33 -0600)]
Make Eclipse build correctly

Removed the Java builder, since it was rebuilding stuff the Ant build
had already done. Turned on the Ant build for incremental builds.
Changed the classpath of com/jogamp/opengl/impl/gl2/fixme/ to
jogamp/opengl/gl2/fixme/ to reflect the recent move.

6 years agoWin,ARB,GL-2.x: Fix pfd to caps conversion: !pbuffer / Cleanup
Sven Gothel [Fri, 11 Feb 2011 16:28:06 +0000 (17:28 +0100)]
Win,ARB,GL-2.x: Fix pfd to caps conversion: !pbuffer / Cleanup

This fix enables the configuration
    win7 64bit chromium2.1 (virtual box 4.0.2 linux host)

Querying unsupported pixel format attributes, ie pbuffer,
will fail the ARB attribute query functions.

Cleanup of SharedResource's, hold all reused flags in win32 impl,
ie pbuffer, arb pixelformat, ..

6 years agoWin,GDI,SWT: Fix pfd to caps conversion. Added thorough debug code.
Sven Gothel [Fri, 11 Feb 2011 07:09:53 +0000 (08:09 +0100)]
Win,GDI,SWT: Fix pfd to caps conversion. Added thorough debug code.

Debug code added for use case: WinXP-32bit, GDI, SWT,
where WGL.wglGetCurrentDC() returns a non null value which is invalid.
Using the value (hdc) on eg GDI.GetObjectType(hdc) return 0 instead of
3 (OBJ_DC) and GDI.GetPixelFormat(hdc) returns 0 with last error 2000.

6 years agoFix Win/GDI: getAvailableGLCapabilitiesGDI() add offscreen GLCaps as well
Sven Gothel [Thu, 10 Feb 2011 11:54:07 +0000 (12:54 +0100)]
Fix Win/GDI: getAvailableGLCapabilitiesGDI() add offscreen GLCaps as well

6 years agoSpec Doc update/fix
Sven Gothel [Thu, 10 Feb 2011 00:21:18 +0000 (01:21 +0100)]
Spec Doc update/fix

6 years agoFix: Java 1.5 warnings
Sven Gothel [Wed, 9 Feb 2011 07:08:54 +0000 (08:08 +0100)]
Fix: Java 1.5 warnings

6 years agoSpec: Bump Java version to 1.5
Sven Gothel [Wed, 9 Feb 2011 07:08:15 +0000 (08:08 +0100)]
Spec: Bump Java version to 1.5

6 years agoNB source level bump 1.5
Sven Gothel [Wed, 9 Feb 2011 06:04:11 +0000 (07:04 +0100)]
NB source level bump 1.5

6 years agoFix code style
Sven Gothel [Wed, 9 Feb 2011 05:58:42 +0000 (06:58 +0100)]
Fix code style

6 years agoMerge branch 'bug_468_ClassCast_exception_on_debug_logging_try_2' of https://github...
Sven Gothel [Wed, 9 Feb 2011 05:55:43 +0000 (06:55 +0100)]
Merge branch 'bug_468_ClassCast_exception_on_debug_logging_try_2' of https://github.com/WadeWalker/jogl into WadeWalker-bug_468_ClassCast_exception_on_debug_logging_try_2

6 years agoRemove CDC
Sven Gothel [Wed, 9 Feb 2011 05:30:52 +0000 (06:30 +0100)]
Remove CDC

6 years agoExpand tabs to 4 spaces
Sven Gothel [Wed, 9 Feb 2011 04:02:51 +0000 (05:02 +0100)]
Expand tabs to 4 spaces

6 years agoFix ClassCastException when debug logging enabled
Wade Walker [Wed, 9 Feb 2011 03:36:47 +0000 (21:36 -0600)]
Fix ClassCastException when debug logging enabled

The debug logging code puts a null reference into a list,
then tries to cast it to a WGLGLCapabilities object.

6 years agoAdd classpath entry for SWT to Eclipse project
Wade Walker [Sun, 6 Feb 2011 22:28:01 +0000 (06:28 +0800)]
Add classpath entry for SWT to Eclipse project

This addition makes it possible to run the SWT unit tests from
within Eclipse (once the user sets up the appropriate user
library as explained in the wiki).

6 years agoGLProfile: Sorting imports
Sven Gothel [Wed, 9 Feb 2011 03:00:26 +0000 (04:00 +0100)]
GLProfile: Sorting imports

6 years agoMove implementation private files from com.jogamp.<module>.impl. to jogamp.<module...
Sven Gothel [Wed, 9 Feb 2011 01:50:09 +0000 (02:50 +0100)]
Move implementation private files from com.jogamp.<module>.impl. to jogamp.<module> (2/2) - edit files

- com.jogamp.opengl.impl                     -> jogamp.opengl
- com.jogamp.opengl.util.glsl.fixedfunc.impl -> jogamp.opengl.util.glsl.fixedfunc
- com.jogamp.nativewindow.impl               -> jogamp.nativewindow
- com.jogamp.newt.impl                       -> jogamp.newt

This sorts implementation details from the top level, ie skipping the public 'com',
allowing a better seperation of public classes and implementation details
and also reduces strings.

This approach of public/private seperation is also used in the OpenJDK.

6 years agoMove implementation private files from com.jogamp.<module>.impl. to jogamp.<module...
Sven Gothel [Tue, 8 Feb 2011 05:20:35 +0000 (06:20 +0100)]
Move implementation private files from com.jogamp.<module>.impl. to jogamp.<module> (1/2) - rename task

- com.jogamp.opengl.impl                     -> jogamp.opengl
- com.jogamp.opengl.util.glsl.fixedfunc.impl -> jogamp.opengl.util.glsl.fixedfunc
- com.jogamp.nativewindow.impl               -> jogamp.nativewindow
- com.jogamp.newt.impl                       -> jogamp.newt

This sorts implementation details from the top level, ie skipping the public 'com',
allowing a better seperation of public classes and implementation details
and also reduces strings.

This approach of public/private seperation is also used in the OpenJDK.

6 years agoMerge remote branch 'mbien/master'
Sven Gothel [Sun, 6 Feb 2011 06:07:05 +0000 (07:07 +0100)]
Merge remote branch 'mbien/master'

6 years agoFix GLContext ProcAddressTable Caching: Add sw/hw accel bit to hash value due to...
Sven Gothel [Sun, 6 Feb 2011 06:05:35 +0000 (07:05 +0100)]
Fix GLContext ProcAddressTable Caching: Add sw/hw accel bit to hash value due to possible diff function ptr of sw impl (NV/Win7)

6 years agowww: fixed tag (now xhtml valid)
Michael Bien [Sat, 5 Feb 2011 21:34:04 +0000 (22:34 +0100)]
www: fixed tag (now xhtml valid)
restructured the overview text a bit.

6 years agoAdd application-version.jnlp
Sven Gothel [Sat, 5 Feb 2011 21:27:57 +0000 (22:27 +0100)]
Add application-version.jnlp

6 years agoMove GLCanvas' static initialization of default GLProfile into constructor to avoid...
Dan Krisher [Wed, 2 Feb 2011 16:59:55 +0000 (00:59 +0800)]
Move GLCanvas' static initialization of default GLProfile into constructor to avoid requiring native libraries at class initialization time.

6 years agoFixing build scripts for Solaris systems.
Barcsik Attila [Thu, 6 Jan 2011 10:20:31 +0000 (18:20 +0800)]
Fixing build scripts for Solaris systems.

6 years agoFix bug #459 NV/Win7 PDF/caps selection
Sven Gothel [Sat, 5 Feb 2011 03:03:51 +0000 (04:03 +0100)]
Fix bug #459 NV/Win7 PDF/caps selection

Scenario
  - NV / Win7 driver version 266.58's
  - Caps: on-scr, rgba 8/8/8/0, accum-rgba 0/0/0/0, dp/st/ms: 16/8/0, dbl, mono

The above 'wglChoosePixelFormatARB' impl returns an array of pixelformats,
where the 1st entry is not hardware accelerated!
This should be considered a bug in NV's driver, since the array should return
a list ordered from 'best' to 'worst'.

Workaround trying explicit hw acceleration 1st, then generic, then software.

6 years agoFix bug #461 on NV/Win (caps selection)
Sven Gothel [Sat, 5 Feb 2011 01:39:25 +0000 (02:39 +0100)]
Fix bug #461 on NV/Win (caps selection)

Allows TestBug461OffscreenSupersamplingSwingAWT to pass on NV/Win7.
Root cause was using the requested unfixed caps (onscreen, !pbuffer)
instead of the fixed ones.

6 years agoFix for Bug #452
Sven Gothel [Thu, 3 Feb 2011 07:02:38 +0000 (08:02 +0100)]
Fix for Bug #452
WindowsWGLGraphicsConfiguration.create(..) ->
WindowsWGLGraphicsConfiguration.createFromCurrent(..) emphasizing that
all resources are 'current' ie locked and available.
This method is used for the external context/drawable creation only, called
while they are current.
Hence this method no more makeCurrent/release, which interfered with the
current external context state.

WindowsWGLGraphicsConfigurationFactory: Move surface locking to the right
(common) place.

6 years agoFix: X11: Allowing FBConfig w/o XVisualInfo for non onscreen
Sven Gothel [Thu, 3 Feb 2011 06:02:31 +0000 (07:02 +0100)]
Fix: X11: Allowing FBConfig w/o XVisualInfo for non onscreen

6 years agoExpose provided SWT jars to SWT_CLASSPATH for test scripts
Sven Gothel [Thu, 3 Feb 2011 04:23:57 +0000 (05:23 +0100)]
Expose provided SWT jars to SWT_CLASSPATH for test scripts

6 years agoFix: Ensure proper resource initialization (display call)
Sven Gothel [Thu, 3 Feb 2011 00:58:00 +0000 (01:58 +0100)]
Fix: Ensure proper resource initialization (display call)

6 years agoenable junit.run.swt
Sven Gothel [Wed, 2 Feb 2011 16:46:02 +0000 (17:46 +0100)]
enable junit.run.swt

6 years agoReloc TestBug463ScaleImageMemoryAWT.java to common jogl/glu
Sven Gothel [Wed, 2 Feb 2011 16:42:49 +0000 (17:42 +0100)]
Reloc TestBug463ScaleImageMemoryAWT.java to common jogl/glu

6 years agoMerge remote branch 'wwalker/bug_461_offscreen_supersampling' into pulled
Sven Gothel [Wed, 2 Feb 2011 16:24:46 +0000 (17:24 +0100)]
Merge remote branch 'wwalker/bug_461_offscreen_supersampling' into pulled

6 years agoMerge remote branch 'wwalker/bug_463_gluScaleImage_memory' into pulled
Sven Gothel [Wed, 2 Feb 2011 16:24:02 +0000 (17:24 +0100)]
Merge remote branch 'wwalker/bug_463_gluScaleImage_memory' into pulled

6 years agoMerge remote branch 'wwalker/bug_459_shader_compilation' into pulled
Sven Gothel [Wed, 2 Feb 2011 16:22:51 +0000 (17:22 +0100)]
Merge remote branch 'wwalker/bug_459_shader_compilation' into pulled

6 years agoMerge remote branch 'wwalker/bug_457' into pulled
Sven Gothel [Wed, 2 Feb 2011 05:20:26 +0000 (06:20 +0100)]
Merge remote branch 'wwalker/bug_457' into pulled

6 years agoMerge remote branch 'wwalker/bug_417' into pulled
Sven Gothel [Wed, 2 Feb 2011 05:18:00 +0000 (06:18 +0100)]
Merge remote branch 'wwalker/bug_417' into pulled

6 years agoFixed bug 450 (unrendered right side of GLJPanel in Gears)
wwalker [Thu, 30 Dec 2010 20:01:04 +0000 (14:01 -0600)]
Fixed bug 450 (unrendered right side of GLJPanel in Gears)

This bug caused the right sides of GLJPanels not to render if the
panel is wider than its height (all pixels with x > height would
be black). Wrote a unit test to sense the problem by reading
an unrendered pixel back out of the frame, then fixed the typo
in GLDrawableFactoryImpl.java that caused the error.

6 years agoAdd section for make/lib to cover new SWT blobs
Sven Gothel [Wed, 2 Feb 2011 05:05:05 +0000 (06:05 +0100)]
Add section for make/lib to cover new SWT blobs

6 years agoFix GLProfile tests: default is max-fixed-pipeline, use GL2 instead
Sven Gothel [Wed, 2 Feb 2011 04:58:00 +0000 (05:58 +0100)]
Fix GLProfile tests: default is max-fixed-pipeline, use GL2 instead

6 years agoFix SWT tests in due to changes, minor linux fix
Sven Gothel [Wed, 2 Feb 2011 04:57:16 +0000 (05:57 +0100)]
Fix SWT tests in due to changes, minor linux fix

6 years agoMerge branch 'swt_tests' into pulled
Sven Gothel [Wed, 2 Feb 2011 03:39:06 +0000 (04:39 +0100)]
Merge branch 'swt_tests' into pulled

6 years agoAdded two simple SWT unit tests.
Wade Walker [Wed, 2 Feb 2011 03:37:46 +0000 (04:37 +0100)]
Added two simple SWT unit tests.

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.

6 years agoFix: Missed package rename
Sven Gothel [Tue, 1 Feb 2011 05:12:52 +0000 (06:12 +0100)]
Fix: Missed package rename

6 years agounit test for Bug464 added (cleaned CRLF/merged version; own text subpackage)
Domokun [Tue, 1 Feb 2011 04:42:50 +0000 (05:42 +0100)]
unit test for Bug464 added (cleaned CRLF/merged version; own text subpackage)

6 years agoBugfix (Bug 464 - TextRenderer useVertexArray was ignored)
Domokun [Tue, 1 Feb 2011 04:23:19 +0000 (05:23 +0100)]
Bugfix (Bug 464 - TextRenderer useVertexArray was ignored)

6 years agoTextRenderer: Fix imports / Add jogamp license
Sven Gothel [Tue, 1 Feb 2011 03:47:49 +0000 (04:47 +0100)]
TextRenderer: Fix imports / Add jogamp license

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