Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding NVIDIA 'Threaded optimization' workaround/fix at initialization on ↵ | Sven Gothel | 2010-12-19 | 5 | -1/+58 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows for javaws/applets. It has been observed that for some combinations, eg: - Windows 7 64bit (other variants may apply too) - NVIDIA 8600M GT - 260.99 the NVIDIA setting of 'Threaded optimization' := 'auto' (default) causes the JVM to simply crash in case of javaws and [jnlp] applets. 'Threaded Optimization' := 'off' works reliable 'Threaded Optimization' := 'on' never works with javaws and applets on the above configuration A user could workaround this by setting 'Threaded Optimization' := 'off', however, this would disable many users on the spot, since you cannot ask the average user for such a task, if she only wants to see a web page. This patch 'fixes' the 'auto' mode by running the eager GL profile initialization within a block of single CPU affinity: SetProcessAffinityMask(pid, 1); try { initProfilesForDeviceImpl(device); } finally { SetProcessAffinityMask(pid, sysValue); } Hopefully we can remove this hack with a driver fix. However this workaround is as little invasive as possible. | ||||
* | GLDrawableFactory: Add getFactory(AbstractGraphicsDevice device) | Sven Gothel | 2010-12-19 | 1 | -1/+20 |
| | |||||
* | Fix GLProfile initProfilesForDevice and DEBUG ; Fix JoglVersion.getGLInfo | Sven Gothel | 2010-12-19 | 2 | -35/+36 |
| | | | | | | | | GLProfile.initProfilesForDevice: use either desktop or egl factory on one device GLProfile.DEBUG: Print proper factory instance, full device JoglVersion.getGLInfo: Print only availability of used device, otherwise we could kick off initialization | ||||
* | Debug/Cleanup: toString: print base classname only; Misc .. | Sven Gothel | 2010-12-19 | 10 | -11/+26 |
| | |||||
* | WindowsWGLContext: Proper var names, misc cleanup | Sven Gothel | 2010-12-18 | 1 | -17/+22 |
| | |||||
* | convenient internal queries for shared | Sven Gothel | 2010-12-18 | 1 | -0/+12 |
| | |||||
* | GLCanvas: init drawable by paint/display makes the init sequence more equal ↵ | Sven Gothel | 2010-12-18 | 1 | -1/+3 |
| | | | | for all launch flavors (applet/javaws/..) | ||||
* | NativeWindow Debug: Early stack trace info w/ thread name | Sven Gothel | 2010-12-18 | 1 | -3/+7 |
| | |||||
* | Version Applet as JavaWS | Sven Gothel | 2010-12-18 | 1 | -7/+64 |
| | |||||
* | GLProfile: refine doc | Sven Gothel | 2010-12-18 | 2 | -1/+21 |
| | |||||
* | debug node: WindowsDummyWGLDrawable | Sven Gothel | 2010-12-17 | 1 | -0/+1 |
| | |||||
* | SharedResourceRunner: Expose convenient 'getShared()' w/o creation | Sven Gothel | 2010-12-17 | 1 | -0/+5 |
| | |||||
* | debug: print thread name only; simplify mapGLVersion(..) call | Sven Gothel | 2010-12-17 | 1 | -16/+12 |
| | |||||
* | jnlp: remove version attribute from extension ref, which would require the ↵ | Sven Gothel | 2010-12-17 | 15 | -23/+23 |
| | | | | | | server side jnlp/version protocol version applet: remove noddraw | ||||
* | Fix jogl-core.jnlp; Add/Fix Launcher Version Applet | Sven Gothel | 2010-12-16 | 3 | -9/+51 |
| | |||||
* | Version Applet: set GLCanvas size, otherwise it won't realize GL drawable | Sven Gothel | 2010-12-16 | 1 | -0/+1 |
| | |||||
* | Add missing jnlp/html files for Version Applet: ↵ | Sven Gothel | 2010-12-16 | 2 | -0/+62 |
| | | | | a7398aac183762174b0608ad7f83d9130c61523e | ||||
* | Fix WGL Bitmap Offscreen Drawable | Sven Gothel | 2010-12-16 | 14 | -210/+300 |
| | | | | | | | | | | | In conjunction with the gluegen investigation (gluegen: fbdedff789077b5ffa07811590f771b6f9a4f3a7), on Windows the type LONG is always 32bit, hence we have to declare: typedef __int32 LONG; Besides, WGL_DRAW_TO_PBUFFER_ARB and WGL_DRAW_TO_BITMAP_ARB were missing in the WGL/ARB attribute query, and the latter was not set in caps -> attributes. Added fail safe exception for null chosen caps, if X11/WGL algo fails to determine. | ||||
* | fix junit/test path | Sven Gothel | 2010-12-15 | 1 | -8/+8 |
| | |||||
* | Add Version Applet | Sven Gothel | 2010-12-15 | 2 | -1/+89 |
| | |||||
* | Add version tag in jnlp files | Sven Gothel | 2010-12-15 | 12 | -30/+30 |
| | |||||
* | final cleanup test results archive :) | Sven Gothel | 2010-12-15 | 1 | -3/+0 |
| | |||||
* | final cleanup test results archive :) | Sven Gothel | 2010-12-15 | 1 | -17/+12 |
| | |||||
* | test-zip-archive cleanup | Sven Gothel | 2010-12-15 | 1 | -2/+2 |
| | |||||
* | JAWTUtil: Fix case when init is run on AWT EDT (which is odd, ie not using ↵ | Sven Gothel | 2010-12-15 | 1 | -11/+16 |
| | | | | GLProfile.initSingleton(..) | ||||
* | don't remove files @ test-zip-archive | Sven Gothel | 2010-12-15 | 1 | -1/+1 |
| | |||||
* | cleanup declare.common/init | Sven Gothel | 2010-12-15 | 1 | -5/+3 |
| | |||||
* | merge test.run.setup with init | Sven Gothel | 2010-12-15 | 1 | -16/+14 |
| | |||||
* | mkdir after delete: test results folder | Sven Gothel | 2010-12-15 | 1 | -1/+1 |
| | |||||
* | archive test results | Sven Gothel | 2010-12-15 | 1 | -2/+19 |
| | |||||
* | Fix jnlp files jar names and removed main attribute of jar ref | Sven Gothel | 2010-12-15 | 13 | -98/+50 |
| | | | | | | | | | | <module>.[win|x11|osx].jar -> <module>.os.[win|x11|osx].jar nativewindow.os.windows.jar -> nativewindow.os.win.jar newt.broadcomegl.jar -> newt.hw.broadcomegl.jar newt.intelgdl.jar -> newt.hw.intelgdl.jar removed non existing jnlp file for config gl2es12. | ||||
* | only kick off gluegen base.compile | Sven Gothel | 2010-12-13 | 1 | -8/+1 |
| | |||||
* | Cleanup (removed obsolete class / imports) ; Cg fix | Sven Gothel | 2010-12-13 | 6 | -83/+4 |
| | |||||
* | common folder etc: junit -> test | Sven Gothel | 2010-12-13 | 2 | -18/+18 |
| | |||||
* | tests: test.auto.run (junit.run) and test.manual.run | Sven Gothel | 2010-12-13 | 4 | -19/+74 |
| | |||||
* | Cleanup test/junit structure. com.jogamp.test -> com.jogamp.opengl.text; ↵ | Sven Gothel | 2010-12-13 | 97 | -301/+385 |
| | | | | Compile posted Issue* Bug* snippets | ||||
* | Fix API doc: firstUIActionOnProcess | Sven Gothel | 2010-12-12 | 3 | -33/+79 |
| | |||||
* | Newt: Add com.jogamp.newt.util.* package(s) to public javadoc | Sven Gothel | 2010-12-12 | 1 | -1/+1 |
| | |||||
* | NativeWindow: Move RegisteredClass to private impl package | Sven Gothel | 2010-12-12 | 6 | -9/+7 |
| | |||||
* | GLJPanel/GLPbufferImpl: destroy pbuffer reentrance fix; disable device close ↵ | Sven Gothel | 2010-12-12 | 6 | -25/+30 |
| | | | | (X11 error on nvidia); reenable GLJPanel test | ||||
* | Adding misc NEWT docs/notes | Sven Gothel | 2010-12-12 | 1 | -0/+30 |
| | |||||
* | script updates | Sven Gothel | 2010-12-12 | 7 | -12/+49 |
| | |||||
* | makeCurrent/release within closures | Sven Gothel | 2010-12-12 | 1 | -3/+4 |
| | |||||
* | GLProfile: initialize 1st, debug info later. | Sven Gothel | 2010-12-12 | 1 | -2/+2 |
| | | | | Debug shall not change the startup behavior | ||||
* | JAWTUtil: Eager initialization of AWT desktop props | Sven Gothel | 2010-12-12 | 1 | -0/+25 |
| | | | | | Triggers immediate AWT property resolution. Would reproduce any javaws / AWT race condition. | ||||
* | Windows RegisterClass: Use new RegisteredClassFactory (window class), Misc. | Sven Gothel | 2010-12-12 | 21 | -302/+614 |
| | | | | | | | | | | | | | | | | | This solves the issue when an applet is started/stop and started again, or another applet runs in the same JVM. Also soves the issue for multiple JVMs. RegisteredClassFactory can be instanced to manage one shared window class, currently in use for GDI's dummy window and NEWT. A class base name and a window proc handle must be passed in the factory cstr. Before registering, the class is tested if already exists, eg another applet in the same JVM. If registration fails, the class name will iterate until successful or MAX_INT reached, eg if multiple JVMs are running. Added NativeWindow Common Native Code. | ||||
* | Add javaws test scripts | Sven Gothel | 2010-12-11 | 2 | -0/+17 |
| | |||||
* | Generalize SharedResourceRunner and use/impl it for WGL as well (besides X11). | Sven Gothel | 2010-12-11 | 3 | -368/+521 |
| | | | | | It seems necessary to use off thread shared resources (dummy window, drawable and context) to keep them alive in Java Webstart. | ||||
* | little TODO update | Sven Gothel | 2010-12-10 | 1 | -14/+3 |
| | |||||
* | GLCanvas: sync drawable access; flush awtConfig at remove; | Sven Gothel | 2010-12-10 | 1 | -80/+101 |
| |