Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 1 | -1/+2 |
| | |||||
* | 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 |
| | |||||
* | Version Applet: set GLCanvas size, otherwise it won't realize GL drawable | Sven Gothel | 2010-12-16 | 1 | -0/+1 |
| | |||||
* | Fix WGL Bitmap Offscreen Drawable | Sven Gothel | 2010-12-16 | 9 | -203/+286 |
| | | | | | | | | | | | 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. | ||||
* | Add Version Applet | Sven Gothel | 2010-12-15 | 1 | -0/+88 |
| | |||||
* | 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(..) | ||||
* | Cleanup (removed obsolete class / imports) ; Cg fix | Sven Gothel | 2010-12-13 | 4 | -79/+0 |
| | |||||
* | tests: test.auto.run (junit.run) and test.manual.run | Sven Gothel | 2010-12-13 | 1 | -4/+4 |
| | |||||
* | Cleanup test/junit structure. com.jogamp.test -> com.jogamp.opengl.text; ↵ | Sven Gothel | 2010-12-13 | 91 | -179/+1105 |
| | | | | Compile posted Issue* Bug* snippets | ||||
* | Fix API doc: firstUIActionOnProcess | Sven Gothel | 2010-12-12 | 2 | -31/+77 |
| | |||||
* | NativeWindow: Move RegisteredClass to private impl package | Sven Gothel | 2010-12-12 | 5 | -7/+7 |
| | |||||
* | GLJPanel/GLPbufferImpl: destroy pbuffer reentrance fix; disable device close ↵ | Sven Gothel | 2010-12-12 | 4 | -21/+26 |
| | | | | (X11 error on nvidia); reenable GLJPanel test | ||||
* | 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 | 16 | -283/+556 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | 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. | ||||
* | GLCanvas: sync drawable access; flush awtConfig at remove; | Sven Gothel | 2010-12-10 | 1 | -80/+101 |
| | |||||
* | FIX gears demo: set lists to 0 at dispose | Sven Gothel | 2010-12-10 | 1 | -0/+1 |
| | |||||
* | NEWT: Minor cleanup ; Debug setVisible message in issuing thread | Sven Gothel | 2010-12-10 | 1 | -6/+8 |
| | |||||
* | Minor test cleanup | Sven Gothel | 2010-12-10 | 2 | -25/+10 |
| | |||||
* | WGL/DummyWindow: Roll back GetDC/ReleaseDC via lock/unlock surface, ↵ | Sven Gothel | 2010-12-10 | 1 | -54/+26 |
| | | | | redundant, since it's static DC | ||||
* | Cleanup GLGraphicsConfiguration[Factory] implementations (X11/WGL) | Sven Gothel | 2010-12-10 | 20 | -465/+717 |
| | | | | | | | | | | | | | | | | | - AWT/WGL: - Using sun.awt.Win32GraphicsConfig via reflection, if supported, else we may fail. - Preselection of PFD as follows: - 1st choice is to create our own AWT GraphicsConfig (GC) based on PFD/GLCaps, ignoring WGL_SUPPORT_GDI_ARB, PFD_SUPPORT_GDI - 2nd choice is to use AWT PFD pool of GC's - else we fail -> use NewtCanvasAWT instead (TODO: Other JDK/AWT implementations ?) - Set PFD will be performed at setRealized(..) - SharedContext (X11/WGL) is synchronized to allow multithreaded access, if required - Simplified and unified (X11/WGL) GraphicsConfigurationFactory - WGL 'external' drawables will be determined with given arguments right away | ||||
* | NativeWindow: Expose lock test/get methods and constructor with HDC | Sven Gothel | 2010-12-09 | 1 | -2/+17 |
| | |||||
* | JOGL: GLContextImpl's updateGLXProcAddressTable(..) only uses device as a ↵ | Sven Gothel | 2010-12-09 | 6 | -65/+80 |
| | | | | | | | | | key for cached table, since the GLX/WGL/etc function entry pointers are GL profile agnostic. Hence createContextARBImpl(..) (WGL/GLX) does not need a sharedContext, but just can issue the inexpensive updateGLXProcAddressTable(..) call. | ||||
* | DummyWindow: 64x64, WGL: Use lockSurface/unlockSurface block to gather / ↵ | Sven Gothel | 2010-12-09 | 2 | -11/+56 |
| | | | | release HDC | ||||
* | GDI: Fix CreateDummyWindow: Use local getModuleHandle(NULL) and synchronize ↵ | Sven Gothel | 2010-12-09 | 1 | -30/+33 |
| | | | | factory method. | ||||
* | NEWT/Windows: Use GDI GetDC/ReleaseDC | Sven Gothel | 2010-12-09 | 2 | -27/+3 |
| | |||||
* | Fix: Typo unlock() -> lock() .. oops | Sven Gothel | 2010-12-04 | 1 | -1/+1 |
| | |||||
* | WGL DummyWindow: Use size 128x128 and set size in proxy | Sven Gothel | 2010-12-04 | 1 | -1/+3 |
| | |||||
* | X11 DummyWindow: Pass size and set size in proxy | Sven Gothel | 2010-12-04 | 4 | -11/+10 |
| | |||||
* | Windows WGL fixes updateGraphicsConfiguration(..) and DummyWGLDrawable | Sven Gothel | 2010-12-03 | 2 | -31/+30 |
| | | | | | | | | WindowsWGLGraphicsConfiguration: If updateGraphicsConfigurationARB fails, continue with updateGraphicsConfigurationGDI WindowsDummyWGLDrawable: Utilize proper GraphicsConfiguration selection using updateGraphicsConfiguration() | ||||
* | GLCanvas: Adding convenient constructor for GLCapabilties and Shared Context ↵ | Sven Gothel | 2010-12-03 | 2 | -1/+148 |
| | | | | (with unit test) | ||||
* | Fix NEWT GLWindow: Adding missing shared GLContext setter (with unit test) | Sven Gothel | 2010-12-03 | 3 | -17/+199 |
| | |||||
* | Fix NEWT WindowImpl: setTitleImpl() at native construction. | Sven Gothel | 2010-12-03 | 1 | -0/+1 |
| | | | | This tiny fix finally enables the window title setting before setVisible(true) | ||||
* | DEBUG: GLProfile: Dump GLInfo ; GLContext: SET mappedVersions.. no stack trace | Sven Gothel | 2010-12-03 | 2 | -18/+48 |
| | |||||
* | GLPbufferImpl: Remove redundant AWT threading constraints ; Signal dispose ↵ | Sven Gothel | 2010-12-03 | 1 | -91/+38 |
| | | | | to all GLEventListeners at destroy() | ||||
* | Cleanup GLDrawableFactory API and platform Implementations | Sven Gothel | 2010-12-03 | 20 | -248/+366 |
| | | | | | | | | | | | | | | | | | | | | | | | - Finish API change using the AbstractGraphicsDevice, which denotes the target device for the desired NativeSurface / GLDrawable. The AbstractGraphicsDevice argument may be null to reflect the platform's default device. Clarified API documentation. This move is necessary to make the API coherent. - createOffscreenDrawable(..) may create a Pbuffer drawable if caps and supported. This unifies the functionality with createGLDrawable(..). Further more, a Pbuffer drawable is an offscreen as well. - added createOffscreenSurface(..) following the same behavior as createOffscreenDrawable(..), this is a convenient native offscreen surface factory entry. - removed createGLPbufferDrawable(..), use createOffscreenDrawable(..), since it is redundant! Implementation Details: - EGLDrawableFactory holds a shared native EGLGraphicsDevice, being used by the offscreen EGL drawable (no more multiple creation). | ||||
* | JOGL AnimatorImpl: issue drawable.display() even if it's not realized yet, ↵ | Sven Gothel | 2010-11-29 | 2 | -9/+3 |
| | | | | since the drawable may realize itself with the display() call. This situation appears with an AWT GLCanvas | ||||
* | Animator: Run as non daemon like FPSAnimator. This seems to be the users ↵ | Sven Gothel | 2010-11-28 | 1 | -1/+6 |
| | | | | desired behavior and is more compliant with other APIs | ||||
* | NEWT/X11: Don't erase background with pixmap or pixel | Sven Gothel | 2010-11-28 | 1 | -2/+2 |
| |